@elyx-code/project-logic-tree 0.0.6001 → 0.0.6004

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
@@ -2881,7 +2881,7 @@ const $e = {
2881
2881
  abstractMethods: [bd],
2882
2882
  extends: [],
2883
2883
  methods: []
2884
- }, wt = $e[r.BuiltInBaseEntity].BUILT_IN_RELATIONAL_DATABASE_ENTITY, vb = {
2884
+ }, Ct = $e[r.BuiltInBaseEntity].BUILT_IN_RELATIONAL_DATABASE_ENTITY, vb = {
2885
2885
  id: "relational-database-built-in-base-entity-identifier-property-data-type-ref-id",
2886
2886
  type: r.GenericReference,
2887
2887
  entityId: "relational-database-built-in-base-entity-identifier-property-data-type-id",
@@ -2889,7 +2889,7 @@ const $e = {
2889
2889
  }, gb = {
2890
2890
  id: "relational-database-built-in-base-entity-identifier-property-ref-id",
2891
2891
  type: r.GenericReference,
2892
- entityId: wt.properties.identifier,
2892
+ entityId: Ct.properties.identifier,
2893
2893
  entityType: r.Property
2894
2894
  }, Ib = {
2895
2895
  id: "relational-database-built-in-base-entity-identifier-property-data-type-id",
@@ -2925,7 +2925,7 @@ const $e = {
2925
2925
  }, Eo = {
2926
2926
  hidden: !1,
2927
2927
  required: !0,
2928
- id: wt.properties.identifier,
2928
+ id: Ct.properties.identifier,
2929
2929
  name: "Identifier name",
2930
2930
  version: 1,
2931
2931
  type: r.Property,
@@ -2945,7 +2945,7 @@ const $e = {
2945
2945
  }, Pb = {
2946
2946
  id: "relational-database-built-in-base-entity-username-property-ref-id",
2947
2947
  type: r.GenericReference,
2948
- entityId: wt.properties.username,
2948
+ entityId: Ct.properties.username,
2949
2949
  entityType: r.Property
2950
2950
  }, Db = {
2951
2951
  id: "relational-database-built-in-base-entity-username-property-data-type-id",
@@ -2977,7 +2977,7 @@ const $e = {
2977
2977
  }, Ro = {
2978
2978
  hidden: !1,
2979
2979
  required: !0,
2980
- id: wt.properties.username,
2980
+ id: Ct.properties.username,
2981
2981
  name: "Username",
2982
2982
  version: 1,
2983
2983
  type: r.Property,
@@ -2997,7 +2997,7 @@ const $e = {
2997
2997
  }, Ab = {
2998
2998
  id: "relational-database-built-in-base-entity-password-property-ref-id",
2999
2999
  type: r.GenericReference,
3000
- entityId: wt.properties.password,
3000
+ entityId: Ct.properties.password,
3001
3001
  entityType: r.Property
3002
3002
  }, Sb = {
3003
3003
  id: "relational-database-built-in-base-entity-password-property-data-type-id",
@@ -3015,7 +3015,7 @@ const $e = {
3015
3015
  }, bo = {
3016
3016
  hidden: !1,
3017
3017
  required: !0,
3018
- id: wt.properties.password,
3018
+ id: Ct.properties.password,
3019
3019
  name: "Password",
3020
3020
  version: 1,
3021
3021
  type: r.Property,
@@ -3035,7 +3035,7 @@ const $e = {
3035
3035
  }, Cb = {
3036
3036
  id: "relational-database-built-in-base-entity-min-size-property-ref-id",
3037
3037
  type: r.GenericReference,
3038
- entityId: wt.properties.minSize,
3038
+ entityId: Ct.properties.minSize,
3039
3039
  entityType: r.Property
3040
3040
  }, wb = {
3041
3041
  id: "relational-database-built-in-base-entity-min-size-property-data-type-id",
@@ -3062,7 +3062,7 @@ const $e = {
3062
3062
  }, vo = {
3063
3063
  hidden: !0,
3064
3064
  required: !0,
3065
- id: wt.properties.minSize,
3065
+ id: Ct.properties.minSize,
3066
3066
  name: "Minimum GB size",
3067
3067
  version: 1,
3068
3068
  type: r.Property,
@@ -3082,7 +3082,7 @@ const $e = {
3082
3082
  }, Mb = {
3083
3083
  id: "relational-database-built-in-base-entity-default-property-ref-id",
3084
3084
  type: r.GenericReference,
3085
- entityId: wt.properties.default,
3085
+ entityId: Ct.properties.default,
3086
3086
  entityType: r.Property
3087
3087
  }, _b = {
3088
3088
  id: "relational-database-built-in-base-entity-default-property-data-type-id",
@@ -3109,7 +3109,7 @@ const $e = {
3109
3109
  }, vd = {
3110
3110
  hidden: !0,
3111
3111
  required: !0,
3112
- id: wt.properties.default,
3112
+ id: Ct.properties.default,
3113
3113
  name: "Default",
3114
3114
  version: 1,
3115
3115
  type: r.Property,
@@ -3124,7 +3124,7 @@ const $e = {
3124
3124
  }, Nb = {
3125
3125
  id: "relational-database-built-in-base-entity-autoscaling-property-ref-id",
3126
3126
  type: r.GenericReference,
3127
- entityId: wt.properties.autoscaling,
3127
+ entityId: Ct.properties.autoscaling,
3128
3128
  entityType: r.Property
3129
3129
  }, xb = {
3130
3130
  id: "relational-database-built-in-base-entity-autoscaling-property-data-type-ref-id",
@@ -3161,7 +3161,7 @@ const $e = {
3161
3161
  }, gd = {
3162
3162
  hidden: !0,
3163
3163
  required: !0,
3164
- id: wt.properties.autoscaling,
3164
+ id: Ct.properties.autoscaling,
3165
3165
  name: "Auto-scaling",
3166
3166
  version: 1,
3167
3167
  type: r.Property,
@@ -4046,10 +4046,10 @@ function _d(n, e, t, i, a) {
4046
4046
  throw new TypeError("Cannot write private member to an object whose class did not declare it");
4047
4047
  return i === "a" ? a.call(n, t) : a ? a.value = t : e.set(n, t), t;
4048
4048
  }
4049
- var N;
4049
+ var x;
4050
4050
  (function(n) {
4051
4051
  n.errToObj = (e) => typeof e == "string" ? { message: e } : e || {}, n.toString = (e) => typeof e == "string" ? e : e == null ? void 0 : e.message;
4052
- })(N || (N = {}));
4052
+ })(x || (x = {}));
4053
4053
  var ti, ni;
4054
4054
  class qt {
4055
4055
  constructor(e, t, i, a) {
@@ -4287,7 +4287,7 @@ function $d(n) {
4287
4287
  function Fv(n, e) {
4288
4288
  return !!((e === "v4" || !e) && xv.test(n) || (e === "v6" || !e) && $v.test(n));
4289
4289
  }
4290
- class $t extends W {
4290
+ class xt extends W {
4291
4291
  _parse(e) {
4292
4292
  if (this._def.coerce && (e.data = String(e.data)), this._getType(e) !== B.string) {
4293
4293
  const s = this._getOrReturnCtx(e);
@@ -4435,44 +4435,44 @@ class $t extends W {
4435
4435
  return this.refinement((a) => e.test(a), {
4436
4436
  validation: t,
4437
4437
  code: I.invalid_string,
4438
- ...N.errToObj(i)
4438
+ ...x.errToObj(i)
4439
4439
  });
4440
4440
  }
4441
4441
  _addCheck(e) {
4442
- return new $t({
4442
+ return new xt({
4443
4443
  ...this._def,
4444
4444
  checks: [...this._def.checks, e]
4445
4445
  });
4446
4446
  }
4447
4447
  email(e) {
4448
- return this._addCheck({ kind: "email", ...N.errToObj(e) });
4448
+ return this._addCheck({ kind: "email", ...x.errToObj(e) });
4449
4449
  }
4450
4450
  url(e) {
4451
- return this._addCheck({ kind: "url", ...N.errToObj(e) });
4451
+ return this._addCheck({ kind: "url", ...x.errToObj(e) });
4452
4452
  }
4453
4453
  emoji(e) {
4454
- return this._addCheck({ kind: "emoji", ...N.errToObj(e) });
4454
+ return this._addCheck({ kind: "emoji", ...x.errToObj(e) });
4455
4455
  }
4456
4456
  uuid(e) {
4457
- return this._addCheck({ kind: "uuid", ...N.errToObj(e) });
4457
+ return this._addCheck({ kind: "uuid", ...x.errToObj(e) });
4458
4458
  }
4459
4459
  nanoid(e) {
4460
- return this._addCheck({ kind: "nanoid", ...N.errToObj(e) });
4460
+ return this._addCheck({ kind: "nanoid", ...x.errToObj(e) });
4461
4461
  }
4462
4462
  cuid(e) {
4463
- return this._addCheck({ kind: "cuid", ...N.errToObj(e) });
4463
+ return this._addCheck({ kind: "cuid", ...x.errToObj(e) });
4464
4464
  }
4465
4465
  cuid2(e) {
4466
- return this._addCheck({ kind: "cuid2", ...N.errToObj(e) });
4466
+ return this._addCheck({ kind: "cuid2", ...x.errToObj(e) });
4467
4467
  }
4468
4468
  ulid(e) {
4469
- return this._addCheck({ kind: "ulid", ...N.errToObj(e) });
4469
+ return this._addCheck({ kind: "ulid", ...x.errToObj(e) });
4470
4470
  }
4471
4471
  base64(e) {
4472
- return this._addCheck({ kind: "base64", ...N.errToObj(e) });
4472
+ return this._addCheck({ kind: "base64", ...x.errToObj(e) });
4473
4473
  }
4474
4474
  ip(e) {
4475
- return this._addCheck({ kind: "ip", ...N.errToObj(e) });
4475
+ return this._addCheck({ kind: "ip", ...x.errToObj(e) });
4476
4476
  }
4477
4477
  datetime(e) {
4478
4478
  var t, i;
@@ -4487,7 +4487,7 @@ class $t extends W {
4487
4487
  precision: typeof (e == null ? void 0 : e.precision) > "u" ? null : e == null ? void 0 : e.precision,
4488
4488
  offset: (t = e == null ? void 0 : e.offset) !== null && t !== void 0 ? t : !1,
4489
4489
  local: (i = e == null ? void 0 : e.local) !== null && i !== void 0 ? i : !1,
4490
- ...N.errToObj(e == null ? void 0 : e.message)
4490
+ ...x.errToObj(e == null ? void 0 : e.message)
4491
4491
  });
4492
4492
  }
4493
4493
  date(e) {
@@ -4501,17 +4501,17 @@ class $t extends W {
4501
4501
  }) : this._addCheck({
4502
4502
  kind: "time",
4503
4503
  precision: typeof (e == null ? void 0 : e.precision) > "u" ? null : e == null ? void 0 : e.precision,
4504
- ...N.errToObj(e == null ? void 0 : e.message)
4504
+ ...x.errToObj(e == null ? void 0 : e.message)
4505
4505
  });
4506
4506
  }
4507
4507
  duration(e) {
4508
- return this._addCheck({ kind: "duration", ...N.errToObj(e) });
4508
+ return this._addCheck({ kind: "duration", ...x.errToObj(e) });
4509
4509
  }
4510
4510
  regex(e, t) {
4511
4511
  return this._addCheck({
4512
4512
  kind: "regex",
4513
4513
  regex: e,
4514
- ...N.errToObj(t)
4514
+ ...x.errToObj(t)
4515
4515
  });
4516
4516
  }
4517
4517
  includes(e, t) {
@@ -4519,42 +4519,42 @@ class $t extends W {
4519
4519
  kind: "includes",
4520
4520
  value: e,
4521
4521
  position: t == null ? void 0 : t.position,
4522
- ...N.errToObj(t == null ? void 0 : t.message)
4522
+ ...x.errToObj(t == null ? void 0 : t.message)
4523
4523
  });
4524
4524
  }
4525
4525
  startsWith(e, t) {
4526
4526
  return this._addCheck({
4527
4527
  kind: "startsWith",
4528
4528
  value: e,
4529
- ...N.errToObj(t)
4529
+ ...x.errToObj(t)
4530
4530
  });
4531
4531
  }
4532
4532
  endsWith(e, t) {
4533
4533
  return this._addCheck({
4534
4534
  kind: "endsWith",
4535
4535
  value: e,
4536
- ...N.errToObj(t)
4536
+ ...x.errToObj(t)
4537
4537
  });
4538
4538
  }
4539
4539
  min(e, t) {
4540
4540
  return this._addCheck({
4541
4541
  kind: "min",
4542
4542
  value: e,
4543
- ...N.errToObj(t)
4543
+ ...x.errToObj(t)
4544
4544
  });
4545
4545
  }
4546
4546
  max(e, t) {
4547
4547
  return this._addCheck({
4548
4548
  kind: "max",
4549
4549
  value: e,
4550
- ...N.errToObj(t)
4550
+ ...x.errToObj(t)
4551
4551
  });
4552
4552
  }
4553
4553
  length(e, t) {
4554
4554
  return this._addCheck({
4555
4555
  kind: "length",
4556
4556
  value: e,
4557
- ...N.errToObj(t)
4557
+ ...x.errToObj(t)
4558
4558
  });
4559
4559
  }
4560
4560
  /**
@@ -4562,22 +4562,22 @@ class $t extends W {
4562
4562
  * @see {@link ZodString.min}
4563
4563
  */
4564
4564
  nonempty(e) {
4565
- return this.min(1, N.errToObj(e));
4565
+ return this.min(1, x.errToObj(e));
4566
4566
  }
4567
4567
  trim() {
4568
- return new $t({
4568
+ return new xt({
4569
4569
  ...this._def,
4570
4570
  checks: [...this._def.checks, { kind: "trim" }]
4571
4571
  });
4572
4572
  }
4573
4573
  toLowerCase() {
4574
- return new $t({
4574
+ return new xt({
4575
4575
  ...this._def,
4576
4576
  checks: [...this._def.checks, { kind: "toLowerCase" }]
4577
4577
  });
4578
4578
  }
4579
4579
  toUpperCase() {
4580
- return new $t({
4580
+ return new xt({
4581
4581
  ...this._def,
4582
4582
  checks: [...this._def.checks, { kind: "toUpperCase" }]
4583
4583
  });
@@ -4637,9 +4637,9 @@ class $t extends W {
4637
4637
  return e;
4638
4638
  }
4639
4639
  }
4640
- $t.create = (n) => {
4640
+ xt.create = (n) => {
4641
4641
  var e;
4642
- return new $t({
4642
+ return new xt({
4643
4643
  checks: [],
4644
4644
  typeName: G.ZodString,
4645
4645
  coerce: (e = n == null ? void 0 : n.coerce) !== null && e !== void 0 ? e : !1,
@@ -4696,16 +4696,16 @@ class hn extends W {
4696
4696
  return { status: a.value, value: e.data };
4697
4697
  }
4698
4698
  gte(e, t) {
4699
- return this.setLimit("min", e, !0, N.toString(t));
4699
+ return this.setLimit("min", e, !0, x.toString(t));
4700
4700
  }
4701
4701
  gt(e, t) {
4702
- return this.setLimit("min", e, !1, N.toString(t));
4702
+ return this.setLimit("min", e, !1, x.toString(t));
4703
4703
  }
4704
4704
  lte(e, t) {
4705
- return this.setLimit("max", e, !0, N.toString(t));
4705
+ return this.setLimit("max", e, !0, x.toString(t));
4706
4706
  }
4707
4707
  lt(e, t) {
4708
- return this.setLimit("max", e, !1, N.toString(t));
4708
+ return this.setLimit("max", e, !1, x.toString(t));
4709
4709
  }
4710
4710
  setLimit(e, t, i, a) {
4711
4711
  return new hn({
@@ -4716,7 +4716,7 @@ class hn extends W {
4716
4716
  kind: e,
4717
4717
  value: t,
4718
4718
  inclusive: i,
4719
- message: N.toString(a)
4719
+ message: x.toString(a)
4720
4720
  }
4721
4721
  ]
4722
4722
  });
@@ -4730,7 +4730,7 @@ class hn extends W {
4730
4730
  int(e) {
4731
4731
  return this._addCheck({
4732
4732
  kind: "int",
4733
- message: N.toString(e)
4733
+ message: x.toString(e)
4734
4734
  });
4735
4735
  }
4736
4736
  positive(e) {
@@ -4738,7 +4738,7 @@ class hn extends W {
4738
4738
  kind: "min",
4739
4739
  value: 0,
4740
4740
  inclusive: !1,
4741
- message: N.toString(e)
4741
+ message: x.toString(e)
4742
4742
  });
4743
4743
  }
4744
4744
  negative(e) {
@@ -4746,7 +4746,7 @@ class hn extends W {
4746
4746
  kind: "max",
4747
4747
  value: 0,
4748
4748
  inclusive: !1,
4749
- message: N.toString(e)
4749
+ message: x.toString(e)
4750
4750
  });
4751
4751
  }
4752
4752
  nonpositive(e) {
@@ -4754,7 +4754,7 @@ class hn extends W {
4754
4754
  kind: "max",
4755
4755
  value: 0,
4756
4756
  inclusive: !0,
4757
- message: N.toString(e)
4757
+ message: x.toString(e)
4758
4758
  });
4759
4759
  }
4760
4760
  nonnegative(e) {
@@ -4762,20 +4762,20 @@ class hn extends W {
4762
4762
  kind: "min",
4763
4763
  value: 0,
4764
4764
  inclusive: !0,
4765
- message: N.toString(e)
4765
+ message: x.toString(e)
4766
4766
  });
4767
4767
  }
4768
4768
  multipleOf(e, t) {
4769
4769
  return this._addCheck({
4770
4770
  kind: "multipleOf",
4771
4771
  value: e,
4772
- message: N.toString(t)
4772
+ message: x.toString(t)
4773
4773
  });
4774
4774
  }
4775
4775
  finite(e) {
4776
4776
  return this._addCheck({
4777
4777
  kind: "finite",
4778
- message: N.toString(e)
4778
+ message: x.toString(e)
4779
4779
  });
4780
4780
  }
4781
4781
  safe(e) {
@@ -4783,12 +4783,12 @@ class hn extends W {
4783
4783
  kind: "min",
4784
4784
  inclusive: !0,
4785
4785
  value: Number.MIN_SAFE_INTEGER,
4786
- message: N.toString(e)
4786
+ message: x.toString(e)
4787
4787
  })._addCheck({
4788
4788
  kind: "max",
4789
4789
  inclusive: !0,
4790
4790
  value: Number.MAX_SAFE_INTEGER,
4791
- message: N.toString(e)
4791
+ message: x.toString(e)
4792
4792
  });
4793
4793
  }
4794
4794
  get minValue() {
@@ -4858,16 +4858,16 @@ class fn extends W {
4858
4858
  return { status: a.value, value: e.data };
4859
4859
  }
4860
4860
  gte(e, t) {
4861
- return this.setLimit("min", e, !0, N.toString(t));
4861
+ return this.setLimit("min", e, !0, x.toString(t));
4862
4862
  }
4863
4863
  gt(e, t) {
4864
- return this.setLimit("min", e, !1, N.toString(t));
4864
+ return this.setLimit("min", e, !1, x.toString(t));
4865
4865
  }
4866
4866
  lte(e, t) {
4867
- return this.setLimit("max", e, !0, N.toString(t));
4867
+ return this.setLimit("max", e, !0, x.toString(t));
4868
4868
  }
4869
4869
  lt(e, t) {
4870
- return this.setLimit("max", e, !1, N.toString(t));
4870
+ return this.setLimit("max", e, !1, x.toString(t));
4871
4871
  }
4872
4872
  setLimit(e, t, i, a) {
4873
4873
  return new fn({
@@ -4878,7 +4878,7 @@ class fn extends W {
4878
4878
  kind: e,
4879
4879
  value: t,
4880
4880
  inclusive: i,
4881
- message: N.toString(a)
4881
+ message: x.toString(a)
4882
4882
  }
4883
4883
  ]
4884
4884
  });
@@ -4894,7 +4894,7 @@ class fn extends W {
4894
4894
  kind: "min",
4895
4895
  value: BigInt(0),
4896
4896
  inclusive: !1,
4897
- message: N.toString(e)
4897
+ message: x.toString(e)
4898
4898
  });
4899
4899
  }
4900
4900
  negative(e) {
@@ -4902,7 +4902,7 @@ class fn extends W {
4902
4902
  kind: "max",
4903
4903
  value: BigInt(0),
4904
4904
  inclusive: !1,
4905
- message: N.toString(e)
4905
+ message: x.toString(e)
4906
4906
  });
4907
4907
  }
4908
4908
  nonpositive(e) {
@@ -4910,7 +4910,7 @@ class fn extends W {
4910
4910
  kind: "max",
4911
4911
  value: BigInt(0),
4912
4912
  inclusive: !0,
4913
- message: N.toString(e)
4913
+ message: x.toString(e)
4914
4914
  });
4915
4915
  }
4916
4916
  nonnegative(e) {
@@ -4918,14 +4918,14 @@ class fn extends W {
4918
4918
  kind: "min",
4919
4919
  value: BigInt(0),
4920
4920
  inclusive: !0,
4921
- message: N.toString(e)
4921
+ message: x.toString(e)
4922
4922
  });
4923
4923
  }
4924
4924
  multipleOf(e, t) {
4925
4925
  return this._addCheck({
4926
4926
  kind: "multipleOf",
4927
4927
  value: e,
4928
- message: N.toString(t)
4928
+ message: x.toString(t)
4929
4929
  });
4930
4930
  }
4931
4931
  get minValue() {
@@ -5017,14 +5017,14 @@ class Bn extends W {
5017
5017
  return this._addCheck({
5018
5018
  kind: "min",
5019
5019
  value: e.getTime(),
5020
- message: N.toString(t)
5020
+ message: x.toString(t)
5021
5021
  });
5022
5022
  }
5023
5023
  max(e, t) {
5024
5024
  return this._addCheck({
5025
5025
  kind: "max",
5026
5026
  value: e.getTime(),
5027
- message: N.toString(t)
5027
+ message: x.toString(t)
5028
5028
  });
5029
5029
  }
5030
5030
  get minDate() {
@@ -5198,19 +5198,19 @@ class Vt extends W {
5198
5198
  min(e, t) {
5199
5199
  return new Vt({
5200
5200
  ...this._def,
5201
- minLength: { value: e, message: N.toString(t) }
5201
+ minLength: { value: e, message: x.toString(t) }
5202
5202
  });
5203
5203
  }
5204
5204
  max(e, t) {
5205
5205
  return new Vt({
5206
5206
  ...this._def,
5207
- maxLength: { value: e, message: N.toString(t) }
5207
+ maxLength: { value: e, message: x.toString(t) }
5208
5208
  });
5209
5209
  }
5210
5210
  length(e, t) {
5211
5211
  return new Vt({
5212
5212
  ...this._def,
5213
- exactLength: { value: e, message: N.toString(t) }
5213
+ exactLength: { value: e, message: x.toString(t) }
5214
5214
  });
5215
5215
  }
5216
5216
  nonempty(e) {
@@ -5320,7 +5320,7 @@ class we extends W {
5320
5320
  return this._def.shape();
5321
5321
  }
5322
5322
  strict(e) {
5323
- return N.errToObj, new we({
5323
+ return x.errToObj, new we({
5324
5324
  ...this._def,
5325
5325
  unknownKeys: "strict",
5326
5326
  ...e !== void 0 ? {
@@ -5328,7 +5328,7 @@ class we extends W {
5328
5328
  var a, s, o, d;
5329
5329
  const u = (o = (s = (a = this._def).errorMap) === null || s === void 0 ? void 0 : s.call(a, t, i).message) !== null && o !== void 0 ? o : i.defaultError;
5330
5330
  return t.code === "unrecognized_keys" ? {
5331
- message: (d = N.errToObj(e).message) !== null && d !== void 0 ? d : u
5331
+ message: (d = x.errToObj(e).message) !== null && d !== void 0 ? d : u
5332
5332
  } : {
5333
5333
  message: u
5334
5334
  };
@@ -5815,7 +5815,7 @@ class ui extends W {
5815
5815
  typeName: G.ZodRecord,
5816
5816
  ...q(i)
5817
5817
  }) : new ui({
5818
- keyType: $t.create(),
5818
+ keyType: xt.create(),
5819
5819
  valueType: e,
5820
5820
  typeName: G.ZodRecord,
5821
5821
  ...q(t)
@@ -5911,13 +5911,13 @@ class Mn extends W {
5911
5911
  min(e, t) {
5912
5912
  return new Mn({
5913
5913
  ...this._def,
5914
- minSize: { value: e, message: N.toString(t) }
5914
+ minSize: { value: e, message: x.toString(t) }
5915
5915
  });
5916
5916
  }
5917
5917
  max(e, t) {
5918
5918
  return new Mn({
5919
5919
  ...this._def,
5920
- maxSize: { value: e, message: N.toString(t) }
5920
+ maxSize: { value: e, message: x.toString(t) }
5921
5921
  });
5922
5922
  }
5923
5923
  size(e, t) {
@@ -6475,8 +6475,8 @@ var G;
6475
6475
  })(G || (G = {}));
6476
6476
  const qv = (n, e = {
6477
6477
  message: `Input not instance of ${n.name}`
6478
- }) => Gd((t) => t instanceof n, e), fa = $t.create, Do = hn.create, Jv = ha.create, Wv = fn.create, Ao = si.create, Ld = Bn.create, Hv = ua.create, Yv = oi.create, Fd = li.create, zv = lr.create, na = wn.create, Zv = nn.create, Xv = pa.create, Qv = Vt.create, Ud = we.create, Kv = we.strictCreate, eg = ci.create, tg = Ca.create, ng = di.create, rg = Jt.create, jd = ui.create, ig = ya.create, ag = Mn.create, sg = sr.create, og = pi.create, lg = yi.create, kd = mn.create, cg = hi.create, dg = cr.create, Rc = Lt.create, ug = jt.create, pg = Tn.create, yg = Lt.createWithPreprocess, hg = Mi.create, fg = () => fa().optional(), mg = () => Do().optional(), Tg = () => Ao().optional(), Eg = {
6479
- string: (n) => $t.create({ ...n, coerce: !0 }),
6478
+ }) => Gd((t) => t instanceof n, e), fa = xt.create, Do = hn.create, Jv = ha.create, Wv = fn.create, Ao = si.create, Ld = Bn.create, Hv = ua.create, Yv = oi.create, Fd = li.create, zv = lr.create, na = wn.create, Zv = nn.create, Xv = pa.create, Qv = Vt.create, Ud = we.create, Kv = we.strictCreate, eg = ci.create, tg = Ca.create, ng = di.create, rg = Jt.create, jd = ui.create, ig = ya.create, ag = Mn.create, sg = sr.create, og = pi.create, lg = yi.create, kd = mn.create, cg = hi.create, dg = cr.create, Rc = Lt.create, ug = jt.create, pg = Tn.create, yg = Lt.createWithPreprocess, hg = Mi.create, fg = () => fa().optional(), mg = () => Do().optional(), Tg = () => Ao().optional(), Eg = {
6479
+ string: (n) => xt.create({ ...n, coerce: !0 }),
6480
6480
  number: (n) => hn.create({ ...n, coerce: !0 }),
6481
6481
  boolean: (n) => si.create({
6482
6482
  ...n,
@@ -6511,7 +6511,7 @@ var c = /* @__PURE__ */ Object.freeze({
6511
6511
  getParsedType: dn,
6512
6512
  ZodType: W,
6513
6513
  datetimeRegex: $d,
6514
- ZodString: $t,
6514
+ ZodString: xt,
6515
6515
  ZodNumber: hn,
6516
6516
  ZodBigInt: fn,
6517
6517
  ZodBoolean: si,
@@ -11379,7 +11379,7 @@ const dC = {
11379
11379
  calls: [aB, nB],
11380
11380
  x: 0,
11381
11381
  y: 0
11382
- }, Bt = "abort-execution-func-declaration-id", Vi = "abort-execution-func-exec-var-declaration-id", Wa = "abort-execution-func-small-wait-op-id", $o = "abort-execution-func-long-wait-op-id", Nu = "abort-execution-func-long-wait-process-output-id", xu = "abort-execution-func-exec-var-instance-write-id", $u = "abort-execution-func-long-wait-return-stmt-id", Vu = "abort-execution-func-small-wait-return-stmt-id", lB = "abort-execution-func-exec-var-instance-abort-call-id", Vo = "abort-execution-func-exec-var-instance-abort-internal-call-id", Gu = "abort-execution-func-exec-second-wait-op-id", cB = {
11382
+ }, wt = "abort-execution-func-declaration-id", Vi = "abort-execution-func-exec-var-declaration-id", Wa = "abort-execution-func-small-wait-op-id", $o = "abort-execution-func-long-wait-op-id", Nu = "abort-execution-func-long-wait-process-output-id", xu = "abort-execution-func-exec-var-instance-write-id", $u = "abort-execution-func-long-wait-return-stmt-id", Vu = "abort-execution-func-small-wait-return-stmt-id", lB = "abort-execution-func-exec-var-instance-abort-call-id", Vo = "abort-execution-func-exec-var-instance-abort-internal-call-id", Gu = "abort-execution-func-exec-second-wait-op-id", cB = {
11383
11383
  type: r.GenericReference,
11384
11384
  id: "short-wait-return-statement-returned-hello-string-data-type-parent-ref-id",
11385
11385
  entityType: r.ReturnDeclaration,
@@ -11437,7 +11437,7 @@ const dC = {
11437
11437
  type: r.GenericReference,
11438
11438
  id: "short-wait-return-statement-parent-ref-id",
11439
11439
  entityType: r.FunctionDeclaration,
11440
- entityId: Bt
11440
+ entityId: wt
11441
11441
  }, Lu = {
11442
11442
  type: r.ReturnStatement,
11443
11443
  id: Vu,
@@ -11485,7 +11485,7 @@ const dC = {
11485
11485
  type: r.GenericReference,
11486
11486
  id: "small-wait-parent-ref-id",
11487
11487
  entityType: r.FunctionDeclaration,
11488
- entityId: Bt
11488
+ entityId: wt
11489
11489
  }, bB = {
11490
11490
  type: r.GenericReference,
11491
11491
  id: "small-wait-called-by-ref-one-id",
@@ -11523,7 +11523,7 @@ const dC = {
11523
11523
  type: r.GenericReference,
11524
11524
  id: "abort-exec-func-abort-call-var-instance-main-project-ref-id",
11525
11525
  entityType: r.FunctionDeclaration,
11526
- entityId: Bt
11526
+ entityId: wt
11527
11527
  }, DB = {
11528
11528
  type: r.GenericReference,
11529
11529
  id: "abort-exec-func-abort-call-var-instance-declaration-ref-id",
@@ -11575,7 +11575,7 @@ const dC = {
11575
11575
  type: r.GenericReference,
11576
11576
  id: "abort-exec-func-var-write-instance-main-project-ref-id",
11577
11577
  entityType: r.FunctionDeclaration,
11578
- entityId: Bt
11578
+ entityId: wt
11579
11579
  }, CB = {
11580
11580
  type: r.GenericReference,
11581
11581
  id: "abort-exec-func-var-write-instance-called-by-ref-one-id",
@@ -11585,7 +11585,7 @@ const dC = {
11585
11585
  type: r.GenericReference,
11586
11586
  id: "abort-exec-func-var-write-instance-called-by-ref-two-id",
11587
11587
  entityType: r.FunctionDeclaration,
11588
- entityId: Bt
11588
+ entityId: wt
11589
11589
  }, BB = {
11590
11590
  type: r.GenericReference,
11591
11591
  id: "abort-exec-func-abort-call-var-instance-declaration-ref-id",
@@ -11638,12 +11638,12 @@ const NB = {
11638
11638
  type: r.GenericReference,
11639
11639
  id: "abort-exec-func-var-decl-main-project-ref-id",
11640
11640
  entityType: r.FunctionDeclaration,
11641
- entityId: Bt
11641
+ entityId: wt
11642
11642
  }, $B = {
11643
11643
  type: r.GenericReference,
11644
11644
  id: "abort-exec-func-var-decl-called-by-ref-one-id",
11645
11645
  entityType: r.FunctionDeclaration,
11646
- entityId: Bt
11646
+ entityId: wt
11647
11647
  }, VB = {
11648
11648
  id: Vi,
11649
11649
  type: r.VariableDeclaration,
@@ -11722,7 +11722,7 @@ const NB = {
11722
11722
  type: r.GenericReference,
11723
11723
  id: "long-wait-return-statement-parent-ref-id",
11724
11724
  entityType: r.FunctionDeclaration,
11725
- entityId: Bt
11725
+ entityId: wt
11726
11726
  }, Uu = {
11727
11727
  type: r.ReturnStatement,
11728
11728
  id: $u,
@@ -11770,12 +11770,12 @@ const NB = {
11770
11770
  type: r.GenericReference,
11771
11771
  id: "long-parent-ref-id",
11772
11772
  entityType: r.FunctionDeclaration,
11773
- entityId: Bt
11773
+ entityId: wt
11774
11774
  }, YB = {
11775
11775
  type: r.GenericReference,
11776
11776
  id: "long-called-by-ref-one-id",
11777
11777
  entityType: r.FunctionDeclaration,
11778
- entityId: Bt
11778
+ entityId: wt
11779
11779
  }, zB = {
11780
11780
  id: Nu,
11781
11781
  type: r.OutputMap,
@@ -11837,12 +11837,12 @@ const NB = {
11837
11837
  type: r.GenericReference,
11838
11838
  id: "small-wait-parent-ref-id",
11839
11839
  entityType: r.FunctionDeclaration,
11840
- entityId: Bt
11840
+ entityId: wt
11841
11841
  }, tM = {
11842
11842
  type: r.GenericReference,
11843
11843
  id: "small-wait-called-by-ref-one-id",
11844
11844
  entityType: r.FunctionDeclaration,
11845
- entityId: Bt
11845
+ entityId: wt
11846
11846
  }, nM = {
11847
11847
  id: Wa,
11848
11848
  type: r.Operation,
@@ -20515,7 +20515,7 @@ function d8(n, e) {
20515
20515
  }
20516
20516
  return !(i.length > 0);
20517
20517
  }
20518
- var _t = /* @__PURE__ */ ((n) => (n.BothUnconstrained = "both-unconstrained", n.AConstraintBUnconstrained = "a-constraint-b-unconstrained", n.BConstraintAUnconstrained = "b-constraint-a-unconstrained", n.Same = "same", n.AIsListBIsNot = "a-is-list-b-is-not", n.BIsListAIsNot = "b-is-list-a-is-not", n.AIsNullableBIsNot = "a-is-nullable-b-is-not", n.BIsNullableAIsNot = "b-is-nullable-a-is-not", n.AIsTemplateBIsNot = "a-is-template-b-is-not", n.BIsTemplateAIsNot = "b-is-template-a-is-not", n.BothUntyped = "both-untyped", n.AIsUntypedBIsNot = "a-is-untyped-b-is-not", n.BIsUntypedAIsNot = "b-is-untyped-a-is-not", n.TypeEntityMismatch = "type-entity-mismatch", n.SameCustomEntities = "same-custom-entities", n.CompatibleCustomEntities = "compatible-custom-entities", n.IncompatibleCustomEntities = "incompatible-custom-entities", n.SamePrimitiveEntities = "same-primitive-entities", n.IncompatiblePrimitiveEntities = "incompatible-primitive-entities", n.SameBuiltInBaseEntities = "same-built-in-base-entities", n.IncompatibleBuiltInBaseEntities = "incompatible-built-in-base-entities", n.CheckUnknown = "check-unknown", n))(_t || {});
20518
+ var Mt = /* @__PURE__ */ ((n) => (n.BothUnconstrained = "both-unconstrained", n.AConstraintBUnconstrained = "a-constraint-b-unconstrained", n.BConstraintAUnconstrained = "b-constraint-a-unconstrained", n.Same = "same", n.AIsListBIsNot = "a-is-list-b-is-not", n.BIsListAIsNot = "b-is-list-a-is-not", n.AIsNullableBIsNot = "a-is-nullable-b-is-not", n.BIsNullableAIsNot = "b-is-nullable-a-is-not", n.AIsTemplateBIsNot = "a-is-template-b-is-not", n.BIsTemplateAIsNot = "b-is-template-a-is-not", n.BothUntyped = "both-untyped", n.AIsUntypedBIsNot = "a-is-untyped-b-is-not", n.BIsUntypedAIsNot = "b-is-untyped-a-is-not", n.TypeEntityMismatch = "type-entity-mismatch", n.SameCustomEntities = "same-custom-entities", n.CompatibleCustomEntities = "compatible-custom-entities", n.IncompatibleCustomEntities = "incompatible-custom-entities", n.SamePrimitiveEntities = "same-primitive-entities", n.IncompatiblePrimitiveEntities = "incompatible-primitive-entities", n.SameBuiltInBaseEntities = "same-built-in-base-entities", n.IncompatibleBuiltInBaseEntities = "incompatible-built-in-base-entities", n.CheckUnknown = "check-unknown", n))(Mt || {});
20519
20519
  function lc(n, e) {
20520
20520
  var t, i, a, s, o, d, u, y, m, f, R;
20521
20521
  if (n && n.type !== r.DataType || e && e.type !== r.DataType)
@@ -21165,18 +21165,18 @@ function D(n, e) {
21165
21165
  case r.Operation:
21166
21166
  case r.InternalCall:
21167
21167
  case r.Loop:
21168
- const i = Nt(n.declaration, e);
21168
+ const i = _t(n.declaration, e);
21169
21169
  return D(i, e);
21170
21170
  case r.ActionDescriptor:
21171
21171
  return D8(n);
21172
21172
  case r.BreakStatement:
21173
- const a = Nt(
21173
+ const a = _t(
21174
21174
  n.parent,
21175
21175
  e
21176
21176
  );
21177
21177
  return `Stop loop ${D(a, e)}`;
21178
21178
  case r.ContinueStatement:
21179
- const s = Nt(
21179
+ const s = _t(
21180
21180
  n.parent,
21181
21181
  e
21182
21182
  );
@@ -21185,7 +21185,7 @@ function D(n, e) {
21185
21185
  e
21186
21186
  )}`;
21187
21187
  case r.FunctionCall:
21188
- return Nt(
21188
+ return _t(
21189
21189
  n.declaration,
21190
21190
  e
21191
21191
  ).name;
@@ -21209,12 +21209,12 @@ function D(n, e) {
21209
21209
  return `If ${Ms(d)}`;
21210
21210
  }
21211
21211
  case r.ReturnStatement: {
21212
- const d = Nt(n.parent, e);
21212
+ const d = _t(n.parent, e);
21213
21213
  return `Output of ${D(d, e)}`;
21214
21214
  }
21215
21215
  case r.InputMap:
21216
21216
  if (n.declaration) {
21217
- const d = Nt(
21217
+ const d = _t(
21218
21218
  n.declaration,
21219
21219
  e
21220
21220
  );
@@ -21222,7 +21222,7 @@ function D(n, e) {
21222
21222
  } else
21223
21223
  return n.name || "";
21224
21224
  case r.VariableInstance: {
21225
- const d = Nt(
21225
+ const d = _t(
21226
21226
  n.declaration,
21227
21227
  e
21228
21228
  );
@@ -21230,7 +21230,7 @@ function D(n, e) {
21230
21230
  }
21231
21231
  case r.OutputMap:
21232
21232
  if (n.declaration) {
21233
- const d = Nt(
21233
+ const d = _t(
21234
21234
  n.declaration,
21235
21235
  e
21236
21236
  );
@@ -21316,7 +21316,7 @@ function ff(n, e) {
21316
21316
  issue: null
21317
21317
  })
21318
21318
  );
21319
- const i = n.parent && Nt(n.parent, e) || e;
21319
+ const i = n.parent && _t(n.parent, e) || e;
21320
21320
  if (!i)
21321
21321
  t.push(
21322
21322
  new T({
@@ -21526,7 +21526,7 @@ function e3(n, e) {
21526
21526
  }
21527
21527
  function en(n, e, t) {
21528
21528
  const a = `${eo(n)}-${e}-id`;
21529
- return t.instances[a] ? x.UUID.uuid() : a;
21529
+ return t.instances[a] ? N.UUID.uuid() : a;
21530
21530
  }
21531
21531
  function kc(n, e) {
21532
21532
  let t = "", i = null;
@@ -21541,7 +21541,7 @@ function kc(n, e) {
21541
21541
  D(i, e)
21542
21542
  )}-`), t = `${a}${eo(
21543
21543
  D(n, e)
21544
- )}-id`, e.instances[t] ? x.UUID.uuid() : t;
21544
+ )}-id`, e.instances[t] ? N.UUID.uuid() : t;
21545
21545
  }
21546
21546
  function A8(n) {
21547
21547
  var o;
@@ -22001,7 +22001,7 @@ ${to}`,
22001
22001
  }
22002
22002
  toReference() {
22003
22003
  return {
22004
- id: this.id + "--" + x.UUID.uuid() + "--ref",
22004
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
22005
22005
  type: r.GenericReference,
22006
22006
  entityId: this.id,
22007
22007
  entityType: this.type
@@ -22334,9 +22334,9 @@ ${xn}`, a.push(
22334
22334
  );
22335
22335
  } else {
22336
22336
  const O = f.methods.find(
22337
- (Mt) => {
22337
+ (Bt) => {
22338
22338
  var _e;
22339
- return ((_e = Mt.implements) == null ? void 0 : _e.id) === i.implements;
22339
+ return ((_e = Bt.implements) == null ? void 0 : _e.id) === i.implements;
22340
22340
  }
22341
22341
  );
22342
22342
  O && a.push(
@@ -22353,7 +22353,7 @@ If you want to modify the existing implementation, you can update the existing m
22353
22353
  );
22354
22354
  const $ = i.implements;
22355
22355
  f.abstractMethods.find(
22356
- (Mt) => Mt.id === $
22356
+ (Bt) => Bt.id === $
22357
22357
  ) || a.push(
22358
22358
  new T({
22359
22359
  id: `${i.id}--${p.InvalidImplementsReference}`,
@@ -22609,7 +22609,7 @@ Please consider that any updates might affect the overlap with the signature of
22609
22609
  }
22610
22610
  toReference() {
22611
22611
  return {
22612
- id: this.id + "--" + x.UUID.uuid() + "--ref",
22612
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
22613
22613
  type: r.GenericReference,
22614
22614
  entityId: this.id,
22615
22615
  entityType: this.type
@@ -22710,7 +22710,7 @@ Please consider that any updates might affect the overlap with the signature of
22710
22710
  // Creates a call enitity for this function declaration
22711
22711
  createCall(e = this.project, t = {}) {
22712
22712
  const i = {
22713
- id: t.id || x.UUID.uuid(),
22713
+ id: t.id || N.UUID.uuid(),
22714
22714
  version: t.version || 1,
22715
22715
  type: r.FunctionCall,
22716
22716
  parent: e.toReference(),
@@ -22732,6 +22732,31 @@ Please consider that any updates might affect the overlap with the signature of
22732
22732
  );
22733
22733
  return a.setParent(e), a.initChildren(), e === this.project && this.project.addFunctionCall(a), a;
22734
22734
  }
22735
+ // Creates a call enitity for this function declaration
22736
+ createInternalCall(e, t = {}) {
22737
+ const i = {
22738
+ id: t.id || N.UUID.uuid(),
22739
+ version: t.version || 1,
22740
+ type: r.InternalCall,
22741
+ parent: e.toReference(),
22742
+ successCalls: t.successCalls || [],
22743
+ errorCalls: t.errorCalls || [],
22744
+ inputs: t.inputs || [],
22745
+ outputs: t.outputs || [],
22746
+ error: t.error || null,
22747
+ process: t.process || null,
22748
+ calledBySuccess: t.calledBySuccess || [],
22749
+ calledByError: t.calledByError || [],
22750
+ calledByEntry: t.calledByEntry || [],
22751
+ // @ts-ignore This is because using the correct 'toJSON' method would recursively call the same method in other entities. Which during load, might not yet be available
22752
+ declaration: this.toShallowJSON(),
22753
+ index: e.internalCalls.length
22754
+ }, a = E(
22755
+ i,
22756
+ this.project
22757
+ );
22758
+ return a.setParent(e), a.initChildren(), a;
22759
+ }
22735
22760
  addReturnStatement(e) {
22736
22761
  return this.returnStatements.includes(e) || this.returnStatements.push(e), this;
22737
22762
  }
@@ -23272,7 +23297,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
23272
23297
  }
23273
23298
  toReference() {
23274
23299
  return {
23275
- id: this.id + "--" + x.UUID.uuid() + "--ref",
23300
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
23276
23301
  type: r.GenericReference,
23277
23302
  entityId: this.id,
23278
23303
  entityType: this.type
@@ -23954,7 +23979,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
23954
23979
  }
23955
23980
  toReference() {
23956
23981
  return {
23957
- id: this.id + "--" + x.UUID.uuid() + "--ref",
23982
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
23958
23983
  type: r.GenericReference,
23959
23984
  entityId: this.id,
23960
23985
  entityType: this.type
@@ -24445,7 +24470,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
24445
24470
  }
24446
24471
  toReference() {
24447
24472
  return {
24448
- id: this.id + "--" + x.UUID.uuid() + "--ref",
24473
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
24449
24474
  type: r.GenericReference,
24450
24475
  entityId: this.id,
24451
24476
  entityType: this.type
@@ -25066,7 +25091,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
25066
25091
  }
25067
25092
  toReference() {
25068
25093
  return {
25069
- id: this.id + "--" + x.UUID.uuid() + "--ref",
25094
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
25070
25095
  type: r.GenericReference,
25071
25096
  entityId: this.id,
25072
25097
  entityType: this.type
@@ -25642,7 +25667,7 @@ If an entity is called by another, they must be in the same scope, which means t
25642
25667
  }
25643
25668
  toReference() {
25644
25669
  return {
25645
- id: this.id + "--" + x.UUID.uuid() + "--ref",
25670
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
25646
25671
  type: r.GenericReference,
25647
25672
  entityId: this.id,
25648
25673
  entityType: this.type
@@ -25889,6 +25914,7 @@ const ne = class ne {
25889
25914
  l(this, "project");
25890
25915
  // Meta
25891
25916
  l(this, "initialized", !1);
25917
+ l(this, "suggestion", !1);
25892
25918
  this.initialData = e, this.project = t, this.id = e.id, this.version = e.version, this.name = e.name, this.description = e.description, this.x = e.x, this.y = e.y;
25893
25919
  }
25894
25920
  /*
@@ -26056,6 +26082,16 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
26056
26082
  get unusedOutputs() {
26057
26083
  return this.outputs.filter((e) => !e.writesValues.length);
26058
26084
  }
26085
+ get usedInternalCalls() {
26086
+ return this.internalCalls.filter(
26087
+ (e) => !!e.calledBy.length
26088
+ );
26089
+ }
26090
+ get unusedInternalCalls() {
26091
+ return this.internalCalls.filter(
26092
+ (e) => !e.calledBy.length
26093
+ );
26094
+ }
26059
26095
  removeInput(e) {
26060
26096
  const t = this.inputs.findIndex((i) => i.id === e.id);
26061
26097
  return t > -1 && this.inputs.splice(t, 1), this;
@@ -26334,7 +26370,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
26334
26370
  }
26335
26371
  toReference() {
26336
26372
  return {
26337
- id: this.id + "--" + x.UUID.uuid() + "--ref",
26373
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
26338
26374
  type: r.GenericReference,
26339
26375
  entityId: this.id,
26340
26376
  entityType: this.type
@@ -26459,7 +26495,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
26459
26495
  // Creates an instance enitity for this variable declaration
26460
26496
  createInstance(e = this.project, t = {}) {
26461
26497
  const i = {
26462
- id: t.id || x.UUID.uuid(),
26498
+ id: t.id || N.UUID.uuid(),
26463
26499
  version: t.version || 1,
26464
26500
  type: r.VariableInstance,
26465
26501
  parent: e.toReference(),
@@ -26489,10 +26525,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
26489
26525
  generateUnusedInputs() {
26490
26526
  if (this.dataType)
26491
26527
  if (this.dataType.entity) {
26492
- if (this.dataType.entity.type === r.CustomEntity)
26493
- return this.dataType.entity.properties.filter((i) => !this.inputs.find((a) => a.declaration === i)).map((i) => {
26528
+ if ([
26529
+ r.CustomEntity,
26530
+ r.PrimitiveEntity,
26531
+ r.BuiltInBaseEntity
26532
+ ].includes(this.dataType.entity.type))
26533
+ return [
26534
+ ...this.dataType.entity.properties,
26535
+ ...this.dataType.entity.extendedProperties
26536
+ ].filter((i) => !this.inputs.find((a) => a.declaration === i)).map((i) => {
26494
26537
  const a = {
26495
- id: x.UUID.uuid(),
26538
+ id: N.UUID.uuid(),
26496
26539
  version: 1,
26497
26540
  type: r.InputMap,
26498
26541
  parent: this.toReference(),
@@ -26518,10 +26561,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
26518
26561
  generateUnusedOutputs() {
26519
26562
  if (this.dataType)
26520
26563
  if (this.dataType.entity) {
26521
- if (this.dataType.entity.type === r.CustomEntity)
26522
- return this.dataType.entity.properties.filter((i) => !this.outputs.find((a) => a.declaration === i)).map((i) => {
26564
+ if ([
26565
+ r.CustomEntity,
26566
+ r.PrimitiveEntity,
26567
+ r.BuiltInBaseEntity
26568
+ ].includes(this.dataType.entity.type))
26569
+ return [
26570
+ ...this.dataType.entity.properties,
26571
+ ...this.dataType.entity.extendedProperties
26572
+ ].filter((i) => !this.outputs.find((a) => a.declaration === i)).map((i) => {
26523
26573
  const a = {
26524
- id: x.UUID.uuid(),
26574
+ id: N.UUID.uuid(),
26525
26575
  version: 1,
26526
26576
  type: r.OutputMap,
26527
26577
  parent: this.toReference(),
@@ -26540,6 +26590,26 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
26540
26590
  return [];
26541
26591
  return [];
26542
26592
  }
26593
+ generateUnusedInternalCalls() {
26594
+ if (this.dataType)
26595
+ if (this.dataType.entity) {
26596
+ if ([
26597
+ r.CustomEntity,
26598
+ r.PrimitiveEntity,
26599
+ r.BuiltInBaseEntity
26600
+ ].includes(this.dataType.entity.type))
26601
+ return [
26602
+ ...this.dataType.entity.getAllInteractiveMethods()
26603
+ ].filter((i) => !this.internalCalls.find((a) => a.declaration === i)).map((i) => {
26604
+ const a = i.createInternalCall(this);
26605
+ return a.suggestion = !0, a;
26606
+ });
26607
+ } else
26608
+ return [];
26609
+ else
26610
+ return [];
26611
+ return [];
26612
+ }
26543
26613
  setDataType(e) {
26544
26614
  return this.dataType = e, this;
26545
26615
  }
@@ -26658,6 +26728,7 @@ const re = class re {
26658
26728
  l(this, "parent");
26659
26729
  // Meta
26660
26730
  l(this, "initialized", !1);
26731
+ l(this, "suggestion", !1);
26661
26732
  this.initialData = e, this.project = t, this.id = e.id, this.version = e.version, this.x = e.x, this.y = e.y;
26662
26733
  }
26663
26734
  /*
@@ -26826,6 +26897,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
26826
26897
  get unusedOutputs() {
26827
26898
  return this.outputs.filter((e) => !e.writesValues.length);
26828
26899
  }
26900
+ get usedInternalCalls() {
26901
+ return this.internalCalls.filter((e) => !!e.calledBy.length);
26902
+ }
26903
+ get unusedInternalCalls() {
26904
+ return this.internalCalls.filter((e) => !e.calledBy.length);
26905
+ }
26829
26906
  removeInput(e) {
26830
26907
  const t = this.inputs.findIndex((i) => i.id === e.id);
26831
26908
  return t > -1 && this.inputs.splice(t, 1), this;
@@ -26947,7 +27024,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
26947
27024
  }
26948
27025
  },
26949
27026
  []
26950
- ), this.inputs.push(...this.generateUnusedInputs()), this.outputs.push(...this.generateUnusedOutputs()), this;
27027
+ ), this.inputs.push(...this.generateUnusedInputs()), this.outputs.push(...this.generateUnusedOutputs()), this.internalCalls.push(...this.generateUnusedInternalCalls()), this;
26951
27028
  }
26952
27029
  setValueWriter(e) {
26953
27030
  return this.readsValue = e, this;
@@ -27112,7 +27189,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
27112
27189
  }
27113
27190
  toReference() {
27114
27191
  return {
27115
- id: this.id + "--" + x.UUID.uuid() + "--ref",
27192
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
27116
27193
  type: r.GenericReference,
27117
27194
  entityId: this.id,
27118
27195
  entityType: this.type
@@ -27245,10 +27322,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
27245
27322
  generateUnusedInputs() {
27246
27323
  if (this.declaration.dataType)
27247
27324
  if (this.declaration.dataType.entity) {
27248
- if (this.declaration.dataType.entity.type === r.CustomEntity)
27249
- return this.declaration.dataType.entity.properties.filter((i) => !this.inputs.find((a) => a.declaration === i)).map((i) => {
27325
+ if ([
27326
+ r.CustomEntity,
27327
+ r.PrimitiveEntity,
27328
+ r.BuiltInBaseEntity
27329
+ ].includes(this.declaration.dataType.entity.type))
27330
+ return [
27331
+ ...this.declaration.dataType.entity.properties,
27332
+ ...this.declaration.dataType.entity.extendedProperties
27333
+ ].filter((i) => !this.inputs.find((a) => a.declaration === i)).map((i) => {
27250
27334
  const a = {
27251
- id: x.UUID.uuid(),
27335
+ id: N.UUID.uuid(),
27252
27336
  version: 1,
27253
27337
  type: r.InputMap,
27254
27338
  parent: this.toReference(),
@@ -27274,10 +27358,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
27274
27358
  generateUnusedOutputs() {
27275
27359
  if (this.declaration.dataType)
27276
27360
  if (this.declaration.dataType.entity) {
27277
- if (this.declaration.dataType.entity.type === r.CustomEntity)
27278
- return this.declaration.dataType.entity.properties.filter((i) => !this.outputs.find((a) => a.declaration === i)).map((i) => {
27361
+ if ([
27362
+ r.CustomEntity,
27363
+ r.PrimitiveEntity,
27364
+ r.BuiltInBaseEntity
27365
+ ].includes(this.declaration.dataType.entity.type))
27366
+ return [
27367
+ ...this.declaration.dataType.entity.properties,
27368
+ ...this.declaration.dataType.entity.extendedProperties
27369
+ ].filter((i) => !this.outputs.find((a) => a.declaration === i)).map((i) => {
27279
27370
  const a = {
27280
- id: x.UUID.uuid(),
27371
+ id: N.UUID.uuid(),
27281
27372
  version: 1,
27282
27373
  type: r.OutputMap,
27283
27374
  parent: this.toReference(),
@@ -27296,6 +27387,26 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
27296
27387
  return [];
27297
27388
  return [];
27298
27389
  }
27390
+ generateUnusedInternalCalls() {
27391
+ if (this.declaration.dataType)
27392
+ if (this.declaration.dataType.entity) {
27393
+ if ([
27394
+ r.CustomEntity,
27395
+ r.PrimitiveEntity,
27396
+ r.BuiltInBaseEntity
27397
+ ].includes(this.declaration.dataType.entity.type))
27398
+ return [
27399
+ ...this.declaration.dataType.entity.getAllInteractiveMethods()
27400
+ ].filter((i) => !this.internalCalls.find((a) => a.declaration === i)).map((i) => {
27401
+ const a = i.createInternalCall(this);
27402
+ return a.suggestion = !0, a;
27403
+ });
27404
+ } else
27405
+ return [];
27406
+ else
27407
+ return [];
27408
+ return [];
27409
+ }
27299
27410
  getDataType() {
27300
27411
  var e;
27301
27412
  return ((e = this.declaration) == null ? void 0 : e.getDataType()) || null;
@@ -27306,7 +27417,9 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
27306
27417
  );
27307
27418
  }
27308
27419
  getUnusedOutputs() {
27309
- return this.outputs.filter((e) => e.suggestion || !e.writesValues.length);
27420
+ return this.outputs.filter(
27421
+ (e) => e.suggestion || !e.writesValues.length
27422
+ );
27310
27423
  }
27311
27424
  getUsedInputs() {
27312
27425
  return this.inputs.filter(
@@ -27530,7 +27643,7 @@ ${Jc}`,
27530
27643
  ),
27531
27644
  ", ",
27532
27645
  " and "
27533
- )}.` : "The parent entity does not yet have any implemented return declarations.", Mt = g.length ? `The parent entity is still missing the following returns in the implementation: ${_(
27646
+ )}.` : "The parent entity does not yet have any implemented return declarations.", Bt = g.length ? `The parent entity is still missing the following returns in the implementation: ${_(
27534
27647
  g.map(
27535
27648
  (_e) => `'${_e.id}' (${_e.name})`
27536
27649
  ),
@@ -27545,7 +27658,7 @@ ${Jc}`,
27545
27658
  message: `Entity of type '${r.ReturnDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${y.type}' with id '${y.id}' that implements a ${r.ActionDescriptor} with fixed outputs.
27546
27659
  Adding a new return would make the implementation invalid. An return with the same name already exists in the parent entity.
27547
27660
  ${k}
27548
- ${Mt}`,
27661
+ ${Bt}`,
27549
27662
  issue: null
27550
27663
  })
27551
27664
  ) : a.push(
@@ -27556,7 +27669,7 @@ ${Mt}`,
27556
27669
  message: `Entity of type '${r.ReturnDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${y.type}' with id '${y.id}' that implements a ${r.ActionDescriptor} with fixed outputs.
27557
27670
  Adding a new return would make the implementation invalid. There are no returns in the descriptor with the same name.
27558
27671
  ${k}
27559
- ${Mt}`,
27672
+ ${Bt}`,
27560
27673
  issue: null
27561
27674
  })
27562
27675
  );
@@ -27724,7 +27837,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
27724
27837
  }
27725
27838
  toReference() {
27726
27839
  return {
27727
- id: this.id + "--" + x.UUID.uuid() + "--ref",
27840
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
27728
27841
  type: r.GenericReference,
27729
27842
  entityId: this.id,
27730
27843
  entityType: this.type
@@ -27843,7 +27956,7 @@ l(ie, "MUTABLE_DOWNSTREAM_PROPERTIES", []), l(ie, "INMUTABLE_DOWNSTREAM_PROPERTI
27843
27956
  ...ie.UPSTREAM_PROPERTIES,
27844
27957
  ...ie.DOWNSTREAM_PROPERTIES
27845
27958
  ]);
27846
- let Ct = ie;
27959
+ let Ot = ie;
27847
27960
  function k8(n) {
27848
27961
  var o;
27849
27962
  const e = PL(), t = n.toJSON();
@@ -28321,7 +28434,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
28321
28434
  }
28322
28435
  toReference() {
28323
28436
  return {
28324
- id: this.id + "--" + x.UUID.uuid() + "--ref",
28437
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
28325
28438
  type: r.GenericReference,
28326
28439
  entityId: this.id,
28327
28440
  entityType: this.type
@@ -28477,9 +28590,9 @@ l(ve, "MUTABLE_DOWNSTREAM_PROPERTIES", [
28477
28590
  ...ve.MUTABLE_DOWNSTREAM_PROPERTIES,
28478
28591
  ...ve.INMUTABLE_DOWNSTREAM_PROPERTIES
28479
28592
  ]), l(ve, "PROPERTIES", [
28480
- ...Ct.META_PROPERTIES,
28481
- ...Ct.UPSTREAM_PROPERTIES,
28482
- ...Ct.DOWNSTREAM_PROPERTIES
28593
+ ...Ot.META_PROPERTIES,
28594
+ ...Ot.UPSTREAM_PROPERTIES,
28595
+ ...Ot.DOWNSTREAM_PROPERTIES
28483
28596
  ]);
28484
28597
  let vr = ve;
28485
28598
  function q8(n) {
@@ -28531,7 +28644,7 @@ const fe = class fe {
28531
28644
  entityId: e.implements,
28532
28645
  entityType: r.Project,
28533
28646
  type: r.GenericReference,
28534
- id: x.UUID.uuid()
28647
+ id: N.UUID.uuid()
28535
28648
  },
28536
28649
  x: 0,
28537
28650
  y: 0,
@@ -28684,7 +28797,7 @@ const fe = class fe {
28684
28797
  }
28685
28798
  toReference() {
28686
28799
  return {
28687
- id: this.id + "--" + x.UUID.uuid() + "--ref",
28800
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
28688
28801
  type: r.GenericReference,
28689
28802
  entityId: this.id,
28690
28803
  entityType: this.type
@@ -28901,6 +29014,7 @@ const ae = class ae {
28901
29014
  l(this, "errors", []);
28902
29015
  // Meta
28903
29016
  l(this, "initialized", !1);
29017
+ l(this, "suggestion", !1);
28904
29018
  this.initialData = e, this.project = t, this.id = e.id, this.version = e.version;
28905
29019
  }
28906
29020
  /*
@@ -29419,7 +29533,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
29419
29533
  }
29420
29534
  toReference() {
29421
29535
  return {
29422
- id: this.id + "--" + x.UUID.uuid() + "--ref",
29536
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
29423
29537
  type: r.GenericReference,
29424
29538
  entityId: this.id,
29425
29539
  entityType: this.type
@@ -29965,7 +30079,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
29965
30079
  }
29966
30080
  toReference() {
29967
30081
  return {
29968
- id: this.id + "--" + x.UUID.uuid() + "--ref",
30082
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
29969
30083
  type: r.GenericReference,
29970
30084
  entityId: this.id,
29971
30085
  entityType: this.type
@@ -30422,7 +30536,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
30422
30536
  }
30423
30537
  toReference() {
30424
30538
  return {
30425
- id: this.id + "--" + x.UUID.uuid() + "--ref",
30539
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
30426
30540
  type: r.GenericReference,
30427
30541
  entityId: this.id,
30428
30542
  entityType: this.type
@@ -30661,10 +30775,10 @@ const le = class le {
30661
30775
  ($) => $.name === i.name
30662
30776
  ), m = u.fixedArguments.filter(($) => !d.inputs.find(
30663
30777
  // @ts-ignore
30664
- (Mt) => (
30778
+ (Bt) => (
30665
30779
  // @ts-ignore
30666
- Mt.type === r.ArgumentDeclaration && // @ts-ignore
30667
- Mt.name === $.name
30780
+ Bt.type === r.ArgumentDeclaration && // @ts-ignore
30781
+ Bt.name === $.name
30668
30782
  )
30669
30783
  )), f = (
30670
30784
  // @ts-ignore
@@ -30881,7 +30995,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
30881
30995
  }
30882
30996
  toReference() {
30883
30997
  return {
30884
- id: this.id + "--" + x.UUID.uuid() + "--ref",
30998
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
30885
30999
  type: r.GenericReference,
30886
31000
  entityId: this.id,
30887
31001
  entityType: this.type
@@ -31270,7 +31384,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
31270
31384
  }
31271
31385
  toReference() {
31272
31386
  return {
31273
- id: this.id + "--" + x.UUID.uuid() + "--ref",
31387
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
31274
31388
  type: r.GenericReference,
31275
31389
  entityId: this.id,
31276
31390
  entityType: this.type
@@ -31670,7 +31784,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
31670
31784
  }
31671
31785
  toReference() {
31672
31786
  return {
31673
- id: this.id + "--" + x.UUID.uuid() + "--ref",
31787
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
31674
31788
  type: r.GenericReference,
31675
31789
  entityId: this.id,
31676
31790
  entityType: this.type
@@ -32067,7 +32181,7 @@ Specifically for return statements the parent needs to always be the 'function-d
32067
32181
  }
32068
32182
  toReference() {
32069
32183
  return {
32070
- id: this.id + "--" + x.UUID.uuid() + "--ref",
32184
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
32071
32185
  type: r.GenericReference,
32072
32186
  entityId: this.id,
32073
32187
  entityType: this.type
@@ -32167,9 +32281,9 @@ l(Qe, "MUTABLE_DOWNSTREAM_PROPERTIES", ["outputs", "throws"]), l(Qe, "INMUTABLE_
32167
32281
  ...dt.MUTABLE_DOWNSTREAM_PROPERTIES,
32168
32282
  ...dt.INMUTABLE_DOWNSTREAM_PROPERTIES
32169
32283
  ]), l(Qe, "PROPERTIES", [
32170
- ...Ct.META_PROPERTIES,
32171
- ...Ct.UPSTREAM_PROPERTIES,
32172
- ...Ct.DOWNSTREAM_PROPERTIES
32284
+ ...Ot.META_PROPERTIES,
32285
+ ...Ot.UPSTREAM_PROPERTIES,
32286
+ ...Ot.DOWNSTREAM_PROPERTIES
32173
32287
  ]);
32174
32288
  let Pr = Qe;
32175
32289
  function e6(n) {
@@ -32466,7 +32580,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
32466
32580
  }
32467
32581
  toReference() {
32468
32582
  return {
32469
- id: this.id + "--" + x.UUID.uuid() + "--ref",
32583
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
32470
32584
  type: r.GenericReference,
32471
32585
  entityId: this.id,
32472
32586
  entityType: this.type
@@ -32906,7 +33020,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
32906
33020
  }
32907
33021
  toReference() {
32908
33022
  return {
32909
- id: this.id + "--" + x.UUID.uuid() + "--ref",
33023
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
32910
33024
  type: r.GenericReference,
32911
33025
  entityId: this.id,
32912
33026
  entityType: this.type
@@ -33061,7 +33175,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
33061
33175
  }
33062
33176
  // This function returns an instance of an loop, which is an implementation of this loop declaration
33063
33177
  implementAsLoop(e) {
33064
- const t = e || this.project, i = this.id + "--instance-" + x.UUID.fromUUID(x.UUID.uuid()), a = {
33178
+ const t = e || this.project, i = this.id + "--instance-" + N.UUID.fromUUID(N.UUID.uuid()), a = {
33065
33179
  id: i,
33066
33180
  version: this.version,
33067
33181
  type: r.Loop,
@@ -33095,7 +33209,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
33095
33209
  index: u,
33096
33210
  dynamicArguments: [],
33097
33211
  parent: {
33098
- id: x.UUID.uuid(),
33212
+ id: N.UUID.uuid(),
33099
33213
  type: r.GenericReference,
33100
33214
  entityId: i,
33101
33215
  entityType: r.Loop
@@ -33111,7 +33225,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
33111
33225
  writesValues: [],
33112
33226
  index: u,
33113
33227
  parent: {
33114
- id: x.UUID.uuid(),
33228
+ id: N.UUID.uuid(),
33115
33229
  type: r.GenericReference,
33116
33230
  entityId: i,
33117
33231
  entityType: r.Loop
@@ -33135,7 +33249,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
33135
33249
  x: 0,
33136
33250
  y: 0,
33137
33251
  parent: {
33138
- id: x.UUID.uuid(),
33252
+ id: N.UUID.uuid(),
33139
33253
  type: r.GenericReference,
33140
33254
  entityId: i,
33141
33255
  entityType: r.Loop
@@ -33143,7 +33257,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
33143
33257
  };
33144
33258
  s.inputs = [
33145
33259
  {
33146
- id: x.UUID.uuid(),
33260
+ id: N.UUID.uuid(),
33147
33261
  version: this.version,
33148
33262
  type: r.ArgumentDeclaration,
33149
33263
  name: "Current iteration number",
@@ -33160,7 +33274,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
33160
33274
  }
33161
33275
  },
33162
33276
  {
33163
- id: x.UUID.uuid(),
33277
+ id: N.UUID.uuid(),
33164
33278
  version: this.version,
33165
33279
  type: r.ArgumentDeclaration,
33166
33280
  name: "Previous iterations results",
@@ -33185,7 +33299,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
33185
33299
  }
33186
33300
  // This function returns an instance of an operation, which is an implementation of this operation declaration
33187
33301
  implementAsOperation(e, t) {
33188
- const i = e || this.project, a = t || this.id + "--instance-" + x.UUID.fromUUID(x.UUID.uuid()), s = {
33302
+ const i = e || this.project, a = t || this.id + "--instance-" + N.UUID.fromUUID(N.UUID.uuid()), s = {
33189
33303
  id: a,
33190
33304
  version: this.version,
33191
33305
  type: r.Operation,
@@ -33217,7 +33331,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
33217
33331
  index: u,
33218
33332
  dynamicArguments: [],
33219
33333
  parent: {
33220
- id: x.UUID.uuid(),
33334
+ id: N.UUID.uuid(),
33221
33335
  type: r.GenericReference,
33222
33336
  entityId: a,
33223
33337
  entityType: r.Operation
@@ -33233,7 +33347,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
33233
33347
  writesValues: [],
33234
33348
  index: u,
33235
33349
  parent: {
33236
- id: x.UUID.uuid(),
33350
+ id: N.UUID.uuid(),
33237
33351
  type: r.GenericReference,
33238
33352
  entityId: a,
33239
33353
  entityType: r.Operation
@@ -33249,7 +33363,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
33249
33363
  writesValues: [],
33250
33364
  index: -1,
33251
33365
  parent: {
33252
- id: x.UUID.uuid(),
33366
+ id: N.UUID.uuid(),
33253
33367
  type: r.GenericReference,
33254
33368
  entityId: a,
33255
33369
  entityType: r.Operation
@@ -33264,7 +33378,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
33264
33378
  return o.setParent(i), o.initChildren(), o;
33265
33379
  }
33266
33380
  implementAsCondition(e) {
33267
- const t = e || this.project, i = this.id + "--instance-" + x.UUID.fromUUID(x.UUID.uuid()), a = {
33381
+ const t = e || this.project, i = this.id + "--instance-" + N.UUID.fromUUID(N.UUID.uuid()), a = {
33268
33382
  id: i,
33269
33383
  version: this.version,
33270
33384
  type: r.Condition,
@@ -33294,7 +33408,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
33294
33408
  index: d,
33295
33409
  dynamicArguments: [],
33296
33410
  parent: {
33297
- id: x.UUID.uuid(),
33411
+ id: N.UUID.uuid(),
33298
33412
  type: r.GenericReference,
33299
33413
  entityId: i,
33300
33414
  entityType: r.Condition
@@ -33618,7 +33732,7 @@ ${Xt(
33618
33732
  }
33619
33733
  toReference() {
33620
33734
  return {
33621
- id: this.id + "--" + x.UUID.uuid() + "--ref",
33735
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
33622
33736
  type: r.GenericReference,
33623
33737
  entityId: this.id,
33624
33738
  entityType: this.type
@@ -33825,7 +33939,7 @@ If you are trying to create a new entity, please use a different id, for example
33825
33939
  };
33826
33940
  switch (t.type) {
33827
33941
  case r.Project:
33828
- return x.validateGenerationTarget(
33942
+ return N.validateGenerationTarget(
33829
33943
  t,
33830
33944
  e
33831
33945
  );
@@ -33890,7 +34004,7 @@ If you are trying to create a new entity, please use a different id, for example
33890
34004
  e
33891
34005
  );
33892
34006
  case r.ReturnDeclaration:
33893
- return Ct.validateGenerationTarget(
34007
+ return Ot.validateGenerationTarget(
33894
34008
  t,
33895
34009
  e
33896
34010
  );
@@ -35966,16 +36080,16 @@ function h6(n, e, t) {
35966
36080
  const i = `entity of type "${n.type}" with id "${n.id}"`, a = `entity with id "${n.id}"`, s = `entity of type "${e.type}" with id "${e.id}"`, o = `entity with id "${e.id}"`, d = Qs(
35967
36081
  `${i} and ${s} have incompatible data types and cannot be connected as value-reader and value-writter.`
35968
36082
  );
35969
- return t.type === _t.AIsListBIsNot ? `${d}
35970
- ${a} is a list, but ${o} is not. A list can't be connected to a single value.` : t.type === _t.BIsListAIsNot ? `${d}
35971
- ${a} is not a list, but ${o} is. A single value can't be connected to a list.` : t.type === _t.AIsNullableBIsNot ? `${d}
35972
- ${a} is nullable, but ${o} is not. A nullable value can't be connected to a non-nullable value since an empty value might be incorrectly provided.` : t.type === _t.BIsNullableAIsNot ? `${d}
35973
- ${a} is not nullable, but ${o} is. A non-nullable value can't be connected to a nullable value since an empty value might be incorrectly provided.` : t.type === _t.AIsTemplateBIsNot ? `${d}
35974
- ${a} is a template, but ${o} is not. A data type that provides an entity as a "template" means that the value should be used as the type definition, or prototype of the entity, not as a specific instance of the entity.` : t.type === _t.BIsTemplateAIsNot ? `${d}
35975
- ${a} is not a template, but ${o} is. A data type that provides an entity as a "template" means that the value should be used as the type definition, or prototype of the entity, not as a specific instance of the entity.` : t.type === _t.TypeEntityMismatch ? `${d}
35976
- Their 'entity' property is of different types. They must be of the same type to be connected. For example, the 'entity' can be a '${r.CustomEntity}' or a '${r.PrimitiveEntity}'.` : t.type === _t.IncompatibleCustomEntities ? `${d}
35977
- Both point to custom entities, but they are not compatible to be connected. They must be either the same custom entity, or a custom entity that has equivalent shape, which includes the same properties all with compatible data types with the properties in the counterpart entity.` : t.type === _t.IncompatiblePrimitiveEntities ? `${d}
35978
- ${a} is of primitive type '${((u = n.getDataType()) == null ? void 0 : u.entity).name}' and ${o} is of primitive type '${((y = e.getDataType()) == null ? void 0 : y.entity).name}'. They must be of the same primitive type to be connected.` : t.type === _t.IncompatibleBuiltInBaseEntities ? `${d}
36083
+ return t.type === Mt.AIsListBIsNot ? `${d}
36084
+ ${a} is a list, but ${o} is not. A list can't be connected to a single value.` : t.type === Mt.BIsListAIsNot ? `${d}
36085
+ ${a} is not a list, but ${o} is. A single value can't be connected to a list.` : t.type === Mt.AIsNullableBIsNot ? `${d}
36086
+ ${a} is nullable, but ${o} is not. A nullable value can't be connected to a non-nullable value since an empty value might be incorrectly provided.` : t.type === Mt.BIsNullableAIsNot ? `${d}
36087
+ ${a} is not nullable, but ${o} is. A non-nullable value can't be connected to a nullable value since an empty value might be incorrectly provided.` : t.type === Mt.AIsTemplateBIsNot ? `${d}
36088
+ ${a} is a template, but ${o} is not. A data type that provides an entity as a "template" means that the value should be used as the type definition, or prototype of the entity, not as a specific instance of the entity.` : t.type === Mt.BIsTemplateAIsNot ? `${d}
36089
+ ${a} is not a template, but ${o} is. A data type that provides an entity as a "template" means that the value should be used as the type definition, or prototype of the entity, not as a specific instance of the entity.` : t.type === Mt.TypeEntityMismatch ? `${d}
36090
+ Their 'entity' property is of different types. They must be of the same type to be connected. For example, the 'entity' can be a '${r.CustomEntity}' or a '${r.PrimitiveEntity}'.` : t.type === Mt.IncompatibleCustomEntities ? `${d}
36091
+ Both point to custom entities, but they are not compatible to be connected. They must be either the same custom entity, or a custom entity that has equivalent shape, which includes the same properties all with compatible data types with the properties in the counterpart entity.` : t.type === Mt.IncompatiblePrimitiveEntities ? `${d}
36092
+ ${a} is of primitive type '${((u = n.getDataType()) == null ? void 0 : u.entity).name}' and ${o} is of primitive type '${((y = e.getDataType()) == null ? void 0 : y.entity).name}'. They must be of the same primitive type to be connected.` : t.type === Mt.IncompatibleBuiltInBaseEntities ? `${d}
35979
36093
  Both point to a built-in-base-entity. But${a} is of built-in base type '${((m = n.getDataType()) == null ? void 0 : m.entity).name}' and ${o} is of built-in base type '${((f = e.getDataType()) == null ? void 0 : f.entity).name}'. They must be of the same built-in base type to be connected.` : d;
35980
36094
  }
35981
36095
  function Es(n, e) {
@@ -36498,7 +36612,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
36498
36612
  const a = i.map(
36499
36613
  (s, o) => {
36500
36614
  const d = e.includes(s.index) ? this.outputs.length - 1 + o : s.index, u = {
36501
- id: x.UUID.uuid(),
36615
+ id: N.UUID.uuid(),
36502
36616
  type: r.OutputMap,
36503
36617
  version: 1,
36504
36618
  declaration: s,
@@ -36674,7 +36788,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
36674
36788
  }
36675
36789
  toReference() {
36676
36790
  return {
36677
- id: this.id + "--" + x.UUID.uuid() + "--ref",
36791
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
36678
36792
  type: r.GenericReference,
36679
36793
  entityId: this.id,
36680
36794
  entityType: this.type
@@ -36980,12 +37094,12 @@ function pc(n, e, t) {
36980
37094
  type: r.GenericReference,
36981
37095
  entityId: i,
36982
37096
  entityType: r.CustomEntity
36983
- }, Mt = {
37097
+ }, Bt = {
36984
37098
  ...$,
36985
37099
  implements: g,
36986
37100
  parent: k
36987
37101
  }, _e = E(
36988
- Mt,
37102
+ Bt,
36989
37103
  n.project
36990
37104
  );
36991
37105
  return y.addMethod(_e), _e.setParent(y), _e.initChildren(), _e.implements = g, _e;
@@ -37779,15 +37893,15 @@ function mc(n) {
37779
37893
  case r.ArgumentDeclaration:
37780
37894
  return Ir;
37781
37895
  case r.ReturnDeclaration:
37782
- return Ct;
37896
+ return Ot;
37783
37897
  case r.Property:
37784
37898
  return hr;
37785
37899
  case r.InstalledProject:
37786
37900
  return gr;
37787
37901
  case r.Project:
37788
- return x;
37902
+ return N;
37789
37903
  case r.BuiltInBaseEntity:
37790
- return Ot;
37904
+ return $t;
37791
37905
  default:
37792
37906
  return null;
37793
37907
  }
@@ -37812,7 +37926,7 @@ function pt(n, e) {
37812
37926
  function $f(n, e) {
37813
37927
  if (Si.includes(n.type) || e.getAllBuiltInIds().includes(n.id))
37814
37928
  return null;
37815
- const i = Nt(
37929
+ const i = _t(
37816
37930
  n.parent,
37817
37931
  e
37818
37932
  );
@@ -37948,7 +38062,7 @@ function k6(n) {
37948
38062
  return !a || a === i ? t : i;
37949
38063
  }, n[0]);
37950
38064
  }
37951
- function Nt(n, e) {
38065
+ function _t(n, e) {
37952
38066
  let t;
37953
38067
  return typeof n == "string" ? t = n : n.type === r.GenericReference ? t = P(n) : t = n.id, t === e.id ? e : e.get(t);
37954
38068
  }
@@ -37965,7 +38079,7 @@ function Kr(n) {
37965
38079
  function Rs(n, e) {
37966
38080
  var t;
37967
38081
  if (n.readsValue) {
37968
- const i = Nt(
38082
+ const i = _t(
37969
38083
  n.readsValue,
37970
38084
  e.project
37971
38085
  );
@@ -38557,9 +38671,13 @@ Alternatively you can update the parent data-type entity with 'update' action to
38557
38671
  this.id,
38558
38672
  ...this.extends.flatMap((i) => i.toFlatIds(e)),
38559
38673
  ...this.implements.flatMap((i) => i.toFlatIds(e)),
38560
- ...this.properties.flatMap((i) => i.toFlatIds(e)),
38674
+ ...this.properties.flatMap(
38675
+ (i) => i.toFlatIds(e)
38676
+ ),
38561
38677
  ...this.methods.flatMap((i) => i.toFlatIds(e)),
38562
- ...this.abstractMethods.flatMap((i) => i.toFlatIds(e))
38678
+ ...this.abstractMethods.flatMap(
38679
+ (i) => i.toFlatIds(e)
38680
+ )
38563
38681
  ]);
38564
38682
  }
38565
38683
  toJSON() {
@@ -38583,7 +38701,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
38583
38701
  }
38584
38702
  toReference() {
38585
38703
  return {
38586
- id: this.id + "--" + x.UUID.uuid() + "--ref",
38704
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
38587
38705
  type: r.GenericReference,
38588
38706
  entityId: this.id,
38589
38707
  entityType: this.type
@@ -38700,9 +38818,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
38700
38818
  );
38701
38819
  return [
38702
38820
  ...this.methods,
38703
- ...this.extends.flatMap(
38704
- (i) => i.getAllInteractiveMethods()
38705
- ),
38821
+ ...this.extends.flatMap((i) => i.getAllInteractiveMethods()),
38706
38822
  ...e.flatMap(
38707
38823
  (i) => i.getAllInteractiveMethods()
38708
38824
  )
@@ -38752,7 +38868,7 @@ function J6(n) {
38752
38868
  const a = [];
38753
38869
  return X(n.errors, a);
38754
38870
  }
38755
- class Ot {
38871
+ class $t {
38756
38872
  constructor(e, t) {
38757
38873
  l(this, "initialData");
38758
38874
  l(this, "id");
@@ -38795,14 +38911,11 @@ class Ot {
38795
38911
  get extendedProperties() {
38796
38912
  return S(
38797
38913
  this.extends.reduce((e, t) => {
38798
- if (t instanceof Ot) {
38799
- const i = [
38800
- ...t.properties,
38801
- ...t.extendedProperties
38802
- ].filter((a) => !a.abstract);
38803
- e.push(...i);
38804
- }
38805
- return e;
38914
+ const i = [
38915
+ ...t.properties,
38916
+ ...t.extendedProperties
38917
+ ].filter((a) => !a.abstract);
38918
+ return [...e, ...i];
38806
38919
  }, [])
38807
38920
  );
38808
38921
  }
@@ -38877,7 +38990,7 @@ class Ot {
38877
38990
  }
38878
38991
  toReference() {
38879
38992
  return {
38880
- id: this.id + "--" + x.UUID.uuid() + "--ref",
38993
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
38881
38994
  type: r.GenericReference,
38882
38995
  entityId: this.id,
38883
38996
  entityType: this.type
@@ -38961,7 +39074,7 @@ class Ot {
38961
39074
  return this.errors;
38962
39075
  }
38963
39076
  clone() {
38964
- return new Ot(this.toJSON(), this.project);
39077
+ return new $t(this.toJSON(), this.project);
38965
39078
  }
38966
39079
  // Assuming the current entity is an abstract entity, it creates a new entity which implements it and all its properties and methods
38967
39080
  implement(e, t) {
@@ -38974,7 +39087,7 @@ class Ot {
38974
39087
  return this.interactive && (e.push(...this.methods), this.extends.filter(
38975
39088
  (i) => i.type === r.BuiltInBaseEntity && i.interactive || i.type === r.PrimitiveEntity
38976
39089
  ).forEach((i) => {
38977
- i instanceof Ot && e.push(...i.getAllInteractiveMethods());
39090
+ i instanceof $t && e.push(...i.getAllInteractiveMethods());
38978
39091
  })), e;
38979
39092
  }
38980
39093
  }
@@ -38984,7 +39097,7 @@ function W6(n) {
38984
39097
  const a = [];
38985
39098
  return X(n.errors, a);
38986
39099
  }
38987
- class xt {
39100
+ class Nt {
38988
39101
  constructor(e, t) {
38989
39102
  l(this, "initialData");
38990
39103
  l(this, "id");
@@ -39022,6 +39135,18 @@ class xt {
39022
39135
  return a.parent = this, a;
39023
39136
  });
39024
39137
  }
39138
+ // Returns the properties that are not abstract from the entities extended by this entity
39139
+ get extendedProperties() {
39140
+ return S(
39141
+ this.extends.reduce((e, t) => {
39142
+ const i = [
39143
+ ...t.properties,
39144
+ ...t.extendedProperties
39145
+ ].filter((a) => !a.abstract);
39146
+ return [...e, ...i];
39147
+ }, [])
39148
+ );
39149
+ }
39025
39150
  subscribe() {
39026
39151
  return this.project.subscribeInstance(this), this;
39027
39152
  }
@@ -39090,7 +39215,7 @@ class xt {
39090
39215
  }
39091
39216
  toReference() {
39092
39217
  return {
39093
- id: this.id + "--" + x.UUID.uuid() + "--ref",
39218
+ id: this.id + "--" + N.UUID.uuid() + "--ref",
39094
39219
  type: r.GenericReference,
39095
39220
  entityId: this.id,
39096
39221
  entityType: this.type
@@ -39172,7 +39297,7 @@ class xt {
39172
39297
  return this.errors;
39173
39298
  }
39174
39299
  clone() {
39175
- return new xt(this.toJSON(), this.project);
39300
+ return new Nt(this.toJSON(), this.project);
39176
39301
  }
39177
39302
  // Returns all methods, own, or inherited from the entities this entity extends
39178
39303
  // That can be called interactively during runtime
@@ -39181,7 +39306,7 @@ class xt {
39181
39306
  return e.push(...this.methods), this.extends.filter(
39182
39307
  (i) => i.type === r.BuiltInBaseEntity && i.interactive || i.type === r.PrimitiveEntity
39183
39308
  ).forEach((i) => {
39184
- i instanceof Ot && e.push(...i.getAllInteractiveMethods());
39309
+ i instanceof $t && e.push(...i.getAllInteractiveMethods());
39185
39310
  }), e;
39186
39311
  }
39187
39312
  }
@@ -39195,7 +39320,7 @@ function bs(n, e) {
39195
39320
  case r.CustomEntity:
39196
39321
  return t || new Sr(n, e);
39197
39322
  case r.PrimitiveEntity:
39198
- return t || new xt(n, e);
39323
+ return t || new Nt(n, e);
39199
39324
  case r.FunctionDeclaration:
39200
39325
  return t || new fr(n, e);
39201
39326
  case r.GlobalEvent:
@@ -39217,13 +39342,13 @@ function bs(n, e) {
39217
39342
  case r.OutputMap:
39218
39343
  return t || new bn(n, e);
39219
39344
  case r.ReturnDeclaration:
39220
- return t || new Ct(n, e);
39345
+ return t || new Ot(n, e);
39221
39346
  case r.ArgumentDeclaration:
39222
39347
  return t || new Ir(n, e);
39223
39348
  case r.InputMap:
39224
39349
  return t || new Rn(n, e);
39225
39350
  case r.Project:
39226
- return t || new x(n);
39351
+ return t || new N(n);
39227
39352
  case r.InstalledProject:
39228
39353
  return t || new gr(n, e);
39229
39354
  case r.ActionDescriptor:
@@ -39237,7 +39362,7 @@ function bs(n, e) {
39237
39362
  case r.ValueDescriptor:
39238
39363
  return t || new Dr(n, e);
39239
39364
  case r.BuiltInBaseEntity:
39240
- return t || new Ot(n, e);
39365
+ return t || new $t(n, e);
39241
39366
  case r.InternalCall:
39242
39367
  return t || new Ii(n, e);
39243
39368
  case r.ContinueStatement:
@@ -39295,7 +39420,7 @@ function q3(n, e) {
39295
39420
  case r.OutputMap:
39296
39421
  return bn.fromGenerationTarget(n, e);
39297
39422
  case r.ReturnDeclaration:
39298
- return Ct.fromGenerationTarget(
39423
+ return Ot.fromGenerationTarget(
39299
39424
  n,
39300
39425
  e
39301
39426
  );
@@ -40348,7 +40473,7 @@ l(H, "MUTABLE_DOWNSTREAM_PROPERTIES", [
40348
40473
  ...H.UPSTREAM_PROPERTIES,
40349
40474
  ...H.DOWNSTREAM_PROPERTIES
40350
40475
  ]);
40351
- let x = H;
40476
+ let N = H;
40352
40477
  class H6 extends Ne {
40353
40478
  constructor(t) {
40354
40479
  super(Ut, t);
@@ -40519,7 +40644,7 @@ function Z6(n) {
40519
40644
  t.initChildren(), n.subscribeBuiltInInstance(t);
40520
40645
  }), n.operationDeclarations = e, e;
40521
40646
  }
40522
- class X6 extends Ot {
40647
+ class X6 extends $t {
40523
40648
  constructor(t) {
40524
40649
  super(Ce, t);
40525
40650
  l(this, "initialData");
@@ -40562,10 +40687,10 @@ class X6 extends Ot {
40562
40687
  function Q6(n) {
40563
40688
  const e = [
40564
40689
  new X6(n),
40565
- new Ot(To, n),
40566
- new Ot(Fn, n),
40567
- new Ot(Sd, n),
40568
- new Ot(mo, n)
40690
+ new $t(To, n),
40691
+ new $t(Fn, n),
40692
+ new $t(Sd, n),
40693
+ new $t(mo, n)
40569
40694
  ];
40570
40695
  return e.forEach((t) => {
40571
40696
  n.subscribeBuiltInInstance(t);
@@ -40573,14 +40698,14 @@ function Q6(n) {
40573
40698
  }
40574
40699
  function K6(n) {
40575
40700
  const e = [
40576
- new xt(L, n),
40577
- new xt(Gn, n),
40578
- new xt(De, n),
40579
- new xt(st, n),
40580
- new xt(Ln, n),
40581
- new xt(vn, n),
40582
- new xt(ao, n),
40583
- new xt(Qc, n)
40701
+ new Nt(L, n),
40702
+ new Nt(Gn, n),
40703
+ new Nt(De, n),
40704
+ new Nt(st, n),
40705
+ new Nt(Ln, n),
40706
+ new Nt(vn, n),
40707
+ new Nt(ao, n),
40708
+ new Nt(Qc, n)
40584
40709
  ];
40585
40710
  return e.forEach((t) => {
40586
40711
  n.subscribeBuiltInInstance(t);
@@ -40647,26 +40772,22 @@ async function i9(n, e = {}) {
40647
40772
  } : { data: t };
40648
40773
  }
40649
40774
  function a9(n) {
40650
- const e = new x(n);
40775
+ const e = new N(n);
40651
40776
  return K6(e), Q6(e), Z6(e), e9(e), t9(e), n9(e), r9(e), e.initChildren(), e;
40652
40777
  }
40653
40778
  async function J3(n, e = {}) {
40654
- try {
40655
- if (n.id && ar[n.id])
40656
- return ar[n.id];
40657
- if (n.id && ta[n.id])
40658
- return await ta[n.id], ar[n.id];
40659
- const t = i9(n, e);
40660
- n.id && (ta[n.id] = t);
40661
- const i = await t;
40662
- if (i.data) {
40663
- const a = a9(i.data);
40664
- return ar[n.id] = a, n.id && delete ta[n.id], a;
40665
- }
40666
- return null;
40667
- } catch (t) {
40668
- return console.error("Error fetching project: ", t), null;
40779
+ if (n.id && ar[n.id])
40780
+ return ar[n.id];
40781
+ if (n.id && ta[n.id])
40782
+ return await ta[n.id], ar[n.id];
40783
+ const t = i9(n, e);
40784
+ n.id && (ta[n.id] = t);
40785
+ const i = await t;
40786
+ if (i.data) {
40787
+ const a = a9(i.data);
40788
+ return ar[n.id] = a, n.id && delete ta[n.id], a;
40669
40789
  }
40790
+ return null;
40670
40791
  }
40671
40792
  function W3(n) {
40672
40793
  return ar[n.id] && delete ar[n.id], null;
@@ -40689,7 +40810,7 @@ export {
40689
40810
  n3 as BaseState,
40690
40811
  pd as BaseValueDescriptorIds,
40691
40812
  Di as BreakStatementState,
40692
- Ot as BuiltInBaseEntityState,
40813
+ $t as BuiltInBaseEntityState,
40693
40814
  ar as CACHED_PROJECTS_BY_ID,
40694
40815
  T3 as CALLABLE_ENTITIES_EXPLANATION,
40695
40816
  Vn as CALLABLE_TYPES,
@@ -40713,7 +40834,7 @@ export {
40713
40834
  Xc as DRAGGABLE_ELEMENT_TYPES,
40714
40835
  u9 as DRAGGABLE_EXECUTABLE_TYPES,
40715
40836
  zc as DRAGGABLE_PASS_THROUGH_CALLABLE_TYPES,
40716
- _t as DataTypeCompatibilityTypes,
40837
+ Mt as DataTypeCompatibilityTypes,
40717
40838
  Je as DataTypeParentChildRelation,
40718
40839
  vi as DataTypeState,
40719
40840
  to as ENTITIES_WITH_VALLUES_EXPLANATION,
@@ -40776,13 +40897,13 @@ export {
40776
40897
  o3 as PassThroughCallableEntityClass,
40777
40898
  X6 as PersistedEntity,
40778
40899
  St as PersistedEntityMethods,
40779
- xt as PrimitiveEntityState,
40900
+ Nt as PrimitiveEntityState,
40780
40901
  v as PrimitiveTypes,
40781
40902
  Pi as PrimitiveValueState,
40782
- x as ProjectState,
40903
+ N as ProjectState,
40783
40904
  hr as PropertyState,
40784
40905
  E3 as RETURN_STATEMENT_RETURN_DECLARATIONS_EXPLANATION,
40785
- Ct as ReturnDeclarationState,
40906
+ Ot as ReturnDeclarationState,
40786
40907
  Pr as ReturnStatementState,
40787
40908
  mv as STANDALONE_CONDITIONS,
40788
40909
  vm as STRING_OPERATIONS,
@@ -41340,7 +41461,7 @@ export {
41340
41461
  kc as suggestNewIdForEntity,
41341
41462
  H3 as test_primitive_entities_export,
41342
41463
  X9 as toCamelCase,
41343
- Nt as toEntityState,
41464
+ _t as toEntityState,
41344
41465
  T8 as toKebabCase,
41345
41466
  eo as toLowerCaseKebabCase,
41346
41467
  Q9 as toPascalCase,