@elyx-code/project-logic-tree 0.0.6565 → 0.0.6567

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
@@ -48230,9 +48230,8 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
48230
48230
  O.RemoveValueReader
48231
48231
  )
48232
48232
  )) {
48233
- return this.checkCanEditWithCounterpartAndSideEffects(
48233
+ return this.checkCanEditFromScopeOwnerWithSideEffects(
48234
48234
  this,
48235
- i,
48236
48235
  O.RemoveValueReader,
48237
48236
  a
48238
48237
  ) ? this.writesValues.includes(i) ? (this.writesValues = this.writesValues.filter(
@@ -53919,9 +53918,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
53919
53918
  O.RemoveValueReader
53920
53919
  )
53921
53920
  )) {
53922
- return this.checkCanEditWithCounterpartAndSideEffects(
53921
+ return this.checkCanEditFromScopeOwnerWithSideEffects(
53923
53922
  this,
53924
- i,
53925
53923
  O.RemoveValueReader,
53926
53924
  a
53927
53925
  ) ? this.writesValues.includes(i) ? (this.writesValues = this.writesValues.filter(
@@ -63216,9 +63214,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
63216
63214
  O.RemoveValueReader
63217
63215
  )
63218
63216
  )) {
63219
- return this.checkCanEditWithCounterpartAndSideEffects(
63217
+ return this.checkCanEditFromScopeOwnerWithSideEffects(
63220
63218
  this,
63221
- i,
63222
63219
  O.RemoveValueReader,
63223
63220
  a
63224
63221
  ) ? this.writesValues.includes(i) ? (this.writesValues = this.writesValues.filter(
@@ -78891,9 +78888,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
78891
78888
  O.RemoveValueReader
78892
78889
  )
78893
78890
  )) {
78894
- return this.checkCanEditWithCounterpartAndSideEffects(
78891
+ return this.checkCanEditFromScopeOwnerWithSideEffects(
78895
78892
  this,
78896
- i,
78897
78893
  O.RemoveValueReader,
78898
78894
  a
78899
78895
  ) ? this.writesValues.includes(i) ? (this.writesValues = this.writesValues.filter(
@@ -81077,9 +81073,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
81077
81073
  O.RemoveValueReader
81078
81074
  )
81079
81075
  )) {
81080
- return this.checkCanEditWithCounterpartAndSideEffects(
81076
+ return this.checkCanEditFromScopeOwnerWithSideEffects(
81081
81077
  this,
81082
- i,
81083
81078
  O.RemoveValueReader,
81084
81079
  a
81085
81080
  ) ? this.writesValues.includes(i) ? (this.writesValues = this.writesValues.filter(
@@ -105850,9 +105845,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
105850
105845
  O.RemoveValueReader
105851
105846
  )
105852
105847
  )) {
105853
- return this.checkCanEditWithCounterpartAndSideEffects(
105848
+ return this.checkCanEditFromScopeOwnerWithSideEffects(
105854
105849
  this,
105855
- i,
105856
105850
  O.RemoveValueReader,
105857
105851
  a
105858
105852
  ) ? this.writesValues.includes(i) ? (this.writesValues = this.writesValues.filter(
@@ -108069,9 +108063,8 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
108069
108063
  O.RemoveValueReader
108070
108064
  )
108071
108065
  )) {
108072
- return this.checkCanEditWithCounterpartAndSideEffects(
108066
+ return this.checkCanEditFromScopeOwnerWithSideEffects(
108073
108067
  this,
108074
- i,
108075
108068
  O.RemoveValueReader,
108076
108069
  a
108077
108070
  ) ? this.writesValues.includes(i) ? (this.writesValues = this.writesValues.filter(
@@ -111366,9 +111359,8 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
111366
111359
  O.RemoveValueReader
111367
111360
  )
111368
111361
  )) {
111369
- return this.checkCanEditWithCounterpartAndSideEffects(
111362
+ return this.checkCanEditFromScopeOwnerWithSideEffects(
111370
111363
  this,
111371
- i,
111372
111364
  O.RemoveValueReader,
111373
111365
  a
111374
111366
  ) ? this.writesValues.includes(i) ? (this.writesValues = this.writesValues.filter(
@@ -122418,9 +122410,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
122418
122410
  O.RemoveValueReader
122419
122411
  )
122420
122412
  )) {
122421
- return this.checkCanEditWithCounterpartAndSideEffects(
122413
+ return this.checkCanEditFromScopeOwnerWithSideEffects(
122422
122414
  this,
122423
- i,
122424
122415
  O.RemoveValueReader,
122425
122416
  a
122426
122417
  ) ? this.writesValues.includes(i) ? (this.writesValues = this.writesValues.filter(
@@ -124093,7 +124084,7 @@ function jxt(d, u) {
124093
124084
  let K = M.defaultValue || null;
124094
124085
  if (!K) {
124095
124086
  const q = Mr.new(u);
124096
- q.parent = M.toReference(), q.id = V.UUID.uuid(), K = se(
124087
+ q.name = ie.EntityTemplate, q.parent = M.toReference(), q.id = V.UUID.uuid(), K = se(
124097
124088
  q,
124098
124089
  d.project
124099
124090
  ), K.hydrateAncestors(), K.setParent(
@@ -128049,13 +128040,14 @@ function cUt(d) {
128049
128040
  ...d.listUpdated,
128050
128041
  ...d.listAffected
128051
128042
  ].forEach((a) => {
128043
+ var e;
128052
128044
  const l = Oi(a);
128053
128045
  if (!l || i.has(l.id))
128054
128046
  return;
128055
- const c = d.project.get(a.id);
128047
+ const c = d.project.get(a.id) || d.project.getDeleted(a.id);
128056
128048
  if (!c)
128057
128049
  throw new Error(
128058
- `Could not find active version of entity ${a.id} in project, which is present in the change set.`
128050
+ `[getTouchedCanvasEntitiesFromChangeSet] Could not find active version of ${a.type} ${a.id} in project, which is present in the change set.${a.parent ? ` With parent ${(e = a.parent) == null ? void 0 : e.type} ${ee(a.parent)}` : ""}`
128059
128051
  );
128060
128052
  i.add(l.id), u.push(c);
128061
128053
  }), R(u);
@@ -136668,7 +136660,7 @@ const mG = {
136668
136660
  z.error("Error: ", E), z.error("Errored entity: ", T);
136669
136661
  }
136670
136662
  }
136671
- }), l;
136663
+ }), l.open = !1, l;
136672
136664
  }
136673
136665
  toBuiltInShallowRecord() {
136674
136666
  const i = {};