@elyx-code/project-logic-tree 0.0.6739 → 0.0.6741
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.cjs +7 -7
- package/dist/index.js +61 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -89994,11 +89994,12 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
89994
89994
|
_.SetValueWriter
|
|
89995
89995
|
)
|
|
89996
89996
|
)) {
|
|
89997
|
+
var s;
|
|
89997
89998
|
return this.checkCanEditFromScopeOwnerWithSideEffects(
|
|
89998
89999
|
this,
|
|
89999
90000
|
_.SetValueWriter,
|
|
90000
90001
|
n
|
|
90001
|
-
) ? (this.readsValue !== i && (this.readsValue = i, n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose(_.SetValueWriter, this.id), this) : this;
|
|
90002
|
+
) ? (this.readsValue !== i && (this.readsValue = i, this.readsValue && ((s = this.defaultValue) == null || s.remove({ ignoreUpstream: !1 }, n)), n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose(_.SetValueWriter, this.id), this) : this;
|
|
90002
90003
|
}
|
|
90003
90004
|
removeValueWriter(i = this.project.addChangeSet(
|
|
90004
90005
|
new Z(
|
|
@@ -90544,7 +90545,14 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
90544
90545
|
`[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
90545
90546
|
), n == null || n.attemptAutoclose("set-default-value", this.id), this;
|
|
90546
90547
|
const s = this.defaultValue;
|
|
90547
|
-
|
|
90548
|
+
if ((s == null ? void 0 : s.id) !== (i == null ? void 0 : i.id)) {
|
|
90549
|
+
if (s == null || s.remove({ ignoreUpstream: !0 }, n), this.defaultValue = i, this.defaultValue) {
|
|
90550
|
+
const c = this.readsValue;
|
|
90551
|
+
this.removeValueWriter(n), c == null || c.removeValueReader(this, n);
|
|
90552
|
+
}
|
|
90553
|
+
n == null || n.add(this, H.Affected);
|
|
90554
|
+
}
|
|
90555
|
+
return n == null || n.attemptAutoclose("set-default-value", this.id), this;
|
|
90548
90556
|
}
|
|
90549
90557
|
clone(i = this.project.addChangeSet(
|
|
90550
90558
|
new Z(
|
|
@@ -104160,7 +104168,7 @@ function wA(o, p, i = !1) {
|
|
|
104160
104168
|
inheritanceLink: null
|
|
104161
104169
|
};
|
|
104162
104170
|
}
|
|
104163
|
-
const b = fd(o), E = o.getDataType(null), w = b &&
|
|
104171
|
+
const b = fd(o), E = o.getDataType(null), w = b && (!(y != null && y.value) || !Io(E) && hp(y == null ? void 0 : y.value));
|
|
104164
104172
|
if (o.readsValue) {
|
|
104165
104173
|
const J = (S = p.execution) == null ? void 0 : S.hasEntity(o.readsValue);
|
|
104166
104174
|
if (w && // There isn't an active test
|
|
@@ -126684,7 +126692,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
126684
126692
|
_.SetValueWriter
|
|
126685
126693
|
)
|
|
126686
126694
|
)) {
|
|
126687
|
-
var s, c;
|
|
126695
|
+
var s, c, e;
|
|
126688
126696
|
return this.checkCanEditFromScopeOwnerWithSideEffects(
|
|
126689
126697
|
this,
|
|
126690
126698
|
_.SetValueWriter,
|
|
@@ -126696,7 +126704,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
126696
126704
|
counterpart: i,
|
|
126697
126705
|
errorReason: Ni.ValueReadingOverridesConstantVariable,
|
|
126698
126706
|
rootAction: ((c = n == null ? void 0 : n.self) == null ? void 0 : c.id) === this.id && (n == null ? void 0 : n.autoCloseActionName) === _.SetValueWriter
|
|
126699
|
-
}), n == null || n.attemptAutoclose(_.SetValueWriter, this.id), this) : (this.readsValue !== i && (this.readsValue = i, n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose(_.SetValueWriter, this.id), this) : this;
|
|
126707
|
+
}), n == null || n.attemptAutoclose(_.SetValueWriter, this.id), this) : (this.readsValue !== i && (this.readsValue = i, this.readsValue && ((e = this.defaultValue) == null || e.remove({ ignoreUpstream: !1 }, n)), n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose(_.SetValueWriter, this.id), this) : this;
|
|
126700
126708
|
}
|
|
126701
126709
|
removeValueWriter(i = this.project.addChangeSet(
|
|
126702
126710
|
new Z(
|
|
@@ -127341,7 +127349,14 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
127341
127349
|
`[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
127342
127350
|
), n == null || n.attemptAutoclose("set-default-value", this.id), this;
|
|
127343
127351
|
const s = this.defaultValue;
|
|
127344
|
-
|
|
127352
|
+
if ((s == null ? void 0 : s.id) !== (i == null ? void 0 : i.id)) {
|
|
127353
|
+
if (s == null || s.remove({ ignoreUpstream: !0 }, n), this.defaultValue = i, this.defaultValue) {
|
|
127354
|
+
const c = this.readsValue;
|
|
127355
|
+
this.removeValueWriter(n), c == null || c.removeValueReader(this, n);
|
|
127356
|
+
}
|
|
127357
|
+
n == null || n.add(this, H.Affected);
|
|
127358
|
+
}
|
|
127359
|
+
return n == null || n.attemptAutoclose("set-default-value", this.id), this;
|
|
127345
127360
|
}
|
|
127346
127361
|
clone(i = this.project.addChangeSet(
|
|
127347
127362
|
new Z(
|
|
@@ -129133,11 +129148,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
129133
129148
|
_.SetValueWriter
|
|
129134
129149
|
)
|
|
129135
129150
|
)) {
|
|
129151
|
+
var s;
|
|
129136
129152
|
return this.checkCanEditFromScopeOwnerWithSideEffects(
|
|
129137
129153
|
this,
|
|
129138
129154
|
_.SetValueWriter,
|
|
129139
129155
|
n
|
|
129140
|
-
) ? (this.readsValue !== i && (this.readsValue = i, n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose(_.SetValueWriter, this.id), this) : this;
|
|
129156
|
+
) ? (this.readsValue !== i && (this.readsValue = i, this.readsValue && ((s = this.defaultValue) == null || s.remove({ ignoreUpstream: !1 }, n)), n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose(_.SetValueWriter, this.id), this) : this;
|
|
129141
129157
|
}
|
|
129142
129158
|
removeValueWriter(i = this.project.addChangeSet(
|
|
129143
129159
|
new Z(
|
|
@@ -129926,7 +129942,14 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
129926
129942
|
`[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
129927
129943
|
), n == null || n.attemptAutoclose("set-default-value", this.id), this;
|
|
129928
129944
|
const s = this.defaultValue;
|
|
129929
|
-
|
|
129945
|
+
if ((s == null ? void 0 : s.id) !== (i == null ? void 0 : i.id)) {
|
|
129946
|
+
if (s == null || s.remove({ ignoreUpstream: !0 }, n), this.defaultValue = i, this.defaultValue) {
|
|
129947
|
+
const c = this.readsValue;
|
|
129948
|
+
this.removeValueWriter(n), c == null || c.removeValueReader(this, n);
|
|
129949
|
+
}
|
|
129950
|
+
n == null || n.add(this, H.Affected);
|
|
129951
|
+
}
|
|
129952
|
+
return n == null || n.attemptAutoclose("set-default-value", this.id), this;
|
|
129930
129953
|
}
|
|
129931
129954
|
clone(i = this.project.addChangeSet(
|
|
129932
129955
|
new Z(
|
|
@@ -158075,7 +158098,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
158075
158098
|
_.SetValueWriter
|
|
158076
158099
|
)
|
|
158077
158100
|
)) {
|
|
158078
|
-
var c, e, y;
|
|
158101
|
+
var c, e, y, m;
|
|
158079
158102
|
return this.checkCanEditFromScopeOwnerWithSideEffects(
|
|
158080
158103
|
this,
|
|
158081
158104
|
_.SetValueWriter,
|
|
@@ -158087,7 +158110,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
158087
158110
|
counterpart: i,
|
|
158088
158111
|
errorReason: Ni.ValueReadingOverridesConstantVariable,
|
|
158089
158112
|
rootAction: ((y = n == null ? void 0 : n.self) == null ? void 0 : y.id) === this.id && (n == null ? void 0 : n.autoCloseActionName) === _.SetValueWriter
|
|
158090
|
-
}), n == null || n.attemptAutoclose(_.SetValueWriter, this.id), this) : (this.readsValue !== i && (this.readsValue = i, n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose(_.SetValueWriter, this.id), this) : this;
|
|
158113
|
+
}), n == null || n.attemptAutoclose(_.SetValueWriter, this.id), this) : (this.readsValue !== i && (this.readsValue = i, this.readsValue && ((m = this.defaultValue) == null || m.remove({ ignoreUpstream: !1 }, n)), n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose(_.SetValueWriter, this.id), this) : this;
|
|
158091
158114
|
}
|
|
158092
158115
|
removeValueWriter(i = this.project.addChangeSet(
|
|
158093
158116
|
new Z(
|
|
@@ -158581,7 +158604,14 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
158581
158604
|
`[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
158582
158605
|
), n == null || n.attemptAutoclose("set-default-value", this.id), this;
|
|
158583
158606
|
const s = this.defaultValue;
|
|
158584
|
-
|
|
158607
|
+
if ((s == null ? void 0 : s.id) !== (i == null ? void 0 : i.id)) {
|
|
158608
|
+
if (s == null || s.remove({ ignoreUpstream: !0 }, n), this.defaultValue = i, this.defaultValue) {
|
|
158609
|
+
const c = this.readsValue;
|
|
158610
|
+
this.removeValueWriter(n), c == null || c.removeValueReader(this, n);
|
|
158611
|
+
}
|
|
158612
|
+
n == null || n.add(this, H.Affected);
|
|
158613
|
+
}
|
|
158614
|
+
return n == null || n.attemptAutoclose("set-default-value", this.id), this;
|
|
158585
158615
|
}
|
|
158586
158616
|
clone(i = this.project.addChangeSet(
|
|
158587
158617
|
new Z(
|
|
@@ -160861,11 +160891,12 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
160861
160891
|
_.SetValueWriter
|
|
160862
160892
|
)
|
|
160863
160893
|
)) {
|
|
160894
|
+
var s;
|
|
160864
160895
|
return this.checkCanEditFromScopeOwnerWithSideEffects(
|
|
160865
160896
|
this,
|
|
160866
160897
|
_.SetValueWriter,
|
|
160867
160898
|
n
|
|
160868
|
-
) ? (this.readsValue !== i && (this.readsValue = i, n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose(_.SetValueWriter, this.id), this) : this;
|
|
160899
|
+
) ? (this.readsValue !== i && (this.readsValue = i, this.readsValue && ((s = this.defaultValue) == null || s.remove({ ignoreUpstream: !1 }, n)), n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose(_.SetValueWriter, this.id), this) : this;
|
|
160869
160900
|
}
|
|
160870
160901
|
removeValueWriter(i = this.project.addChangeSet(
|
|
160871
160902
|
new Z(
|
|
@@ -161410,7 +161441,14 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
161410
161441
|
`[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
161411
161442
|
), n == null || n.attemptAutoclose("set-default-value", this.id), this;
|
|
161412
161443
|
const s = this.defaultValue;
|
|
161413
|
-
|
|
161444
|
+
if ((s == null ? void 0 : s.id) !== (i == null ? void 0 : i.id)) {
|
|
161445
|
+
if (s == null || s.remove({ ignoreUpstream: !0 }, n), this.defaultValue = i, this.defaultValue) {
|
|
161446
|
+
const c = this.readsValue;
|
|
161447
|
+
this.removeValueWriter(n), c == null || c.removeValueReader(this, n);
|
|
161448
|
+
}
|
|
161449
|
+
n == null || n.add(this, H.Affected);
|
|
161450
|
+
}
|
|
161451
|
+
return n == null || n.attemptAutoclose("set-default-value", this.id), this;
|
|
161414
161452
|
}
|
|
161415
161453
|
clone(i = this.project.addChangeSet(
|
|
161416
161454
|
new Z(
|
|
@@ -162502,11 +162540,12 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
162502
162540
|
_.SetValueWriter
|
|
162503
162541
|
)
|
|
162504
162542
|
)) {
|
|
162543
|
+
var s;
|
|
162505
162544
|
return this.checkCanEditFromScopeOwnerWithSideEffects(
|
|
162506
162545
|
this,
|
|
162507
162546
|
_.SetValueWriter,
|
|
162508
162547
|
n
|
|
162509
|
-
) ? (this.readsValue !== i && (this.readsValue = i, n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose(_.SetValueWriter, this.id), this) : this;
|
|
162548
|
+
) ? (this.readsValue !== i && (this.readsValue = i, this.readsValue && ((s = this.defaultValue) == null || s.remove({ ignoreUpstream: !1 }, n)), n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose(_.SetValueWriter, this.id), this) : this;
|
|
162510
162549
|
}
|
|
162511
162550
|
removeValueWriter(i = this.project.addChangeSet(
|
|
162512
162551
|
new Z(
|
|
@@ -163054,7 +163093,14 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
163054
163093
|
`[setDefaultValue] User is not allowed to edit this ${this.type} entity with id: ${this.id}`
|
|
163055
163094
|
), n == null || n.attemptAutoclose("set-default-value", this.id), this;
|
|
163056
163095
|
const s = this.defaultValue;
|
|
163057
|
-
|
|
163096
|
+
if ((s == null ? void 0 : s.id) !== (i == null ? void 0 : i.id)) {
|
|
163097
|
+
if (s == null || s.remove({ ignoreUpstream: !0 }, n), this.defaultValue = i, this.defaultValue) {
|
|
163098
|
+
const c = this.readsValue;
|
|
163099
|
+
this.removeValueWriter(n), c == null || c.removeValueReader(this, n);
|
|
163100
|
+
}
|
|
163101
|
+
n == null || n.add(this, H.Affected);
|
|
163102
|
+
}
|
|
163103
|
+
return n == null || n.attemptAutoclose("set-default-value", this.id), this;
|
|
163058
163104
|
}
|
|
163059
163105
|
clone(i = this.project.addChangeSet(
|
|
163060
163106
|
new Z(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elyx-code/project-logic-tree",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6741",
|
|
4
4
|
"author": "Sergio Herrero",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",
|