@elyx-code/project-logic-tree 0.0.6198 → 0.0.6200
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 +21 -30
- package/dist/index.umd.cjs +2 -2
- package/dist/tree/state/built-in-base-entity/built-in-base-entity.d.ts +2 -18
- package/dist/tree/state/definition-entity/definition-entity.d.ts +1 -17
- package/dist/tree/utils/shared-data-structure-entity.d.ts +1 -18
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -61366,7 +61366,7 @@ function C7(i, a) {
|
|
|
61366
61366
|
return {
|
|
61367
61367
|
newEntities: []
|
|
61368
61368
|
};
|
|
61369
|
-
const d = s.
|
|
61369
|
+
const d = s.properties.find((l) => l.implements && l.implements.id === g["built-in-base-entity"].BUILT_IN_RELATIONAL_DATABASE_ENTITY.properties.default.id), o = d == null ? void 0 : d.defaultValue;
|
|
61370
61370
|
if (o)
|
|
61371
61371
|
o.value = !0;
|
|
61372
61372
|
else if (d != null && d.dataType) {
|
|
@@ -61391,7 +61391,7 @@ function C7(i, a) {
|
|
|
61391
61391
|
u.setParent(d == null ? void 0 : d.dataType, a), u.initChildren(a), a == null || a.add(u, E.Added), u.addSelfToProject(a);
|
|
61392
61392
|
}
|
|
61393
61393
|
return {
|
|
61394
|
-
newEntities: [s
|
|
61394
|
+
newEntities: [s]
|
|
61395
61395
|
};
|
|
61396
61396
|
}
|
|
61397
61397
|
}
|
|
@@ -61471,37 +61471,22 @@ function ap(i, a, e, t) {
|
|
|
61471
61471
|
x: 0,
|
|
61472
61472
|
y: 0,
|
|
61473
61473
|
parent: i.project
|
|
61474
|
-
}
|
|
61474
|
+
};
|
|
61475
|
+
C7(i, e);
|
|
61476
|
+
const o = P(
|
|
61475
61477
|
d,
|
|
61476
61478
|
i.project
|
|
61477
61479
|
);
|
|
61478
|
-
|
|
61479
|
-
|
|
61480
|
-
|
|
61481
|
-
}), i.abstractMethods.map(
|
|
61482
|
-
(y) => {
|
|
61483
|
-
const c = h.UUID.uuid(), T = y.implementAsFunctionDeclaration(
|
|
61480
|
+
return o.setParent(i.project, e), o.initChildren(e), e == null || e.add(o, E.Added), i.abstractMethods.map(
|
|
61481
|
+
(l) => {
|
|
61482
|
+
const u = h.UUID.uuid(), y = l.implementAsFunctionDeclaration(
|
|
61484
61483
|
e,
|
|
61485
|
-
|
|
61486
|
-
|
|
61484
|
+
o,
|
|
61485
|
+
u
|
|
61487
61486
|
);
|
|
61488
|
-
return
|
|
61487
|
+
return o.addMethod(y), e == null || e.add(y, E.Added), y;
|
|
61489
61488
|
}
|
|
61490
|
-
),
|
|
61491
|
-
const u = V7(l, e);
|
|
61492
|
-
return {
|
|
61493
|
-
implemented: l,
|
|
61494
|
-
errors: [],
|
|
61495
|
-
entitiesChanges: {
|
|
61496
|
-
new: [
|
|
61497
|
-
l,
|
|
61498
|
-
...o.newEntities,
|
|
61499
|
-
...u.newEntities
|
|
61500
|
-
],
|
|
61501
|
-
updated: [l],
|
|
61502
|
-
deleted: []
|
|
61503
|
-
}
|
|
61504
|
-
};
|
|
61489
|
+
), o.afterAllChildrenInitialized(e), V7(o, e), o;
|
|
61505
61490
|
}
|
|
61506
61491
|
function J0(i, a) {
|
|
61507
61492
|
return a.entities.find((r) => {
|
|
@@ -61671,7 +61656,10 @@ function q0(i, a, e, t, r) {
|
|
|
61671
61656
|
me,
|
|
61672
61657
|
a.project
|
|
61673
61658
|
);
|
|
61674
|
-
switch (H.setParent(a, t), H.initChildren(t), t == null || t.add(
|
|
61659
|
+
switch (H.setParent(a, t), H.initChildren(t), t == null || t.add(
|
|
61660
|
+
H,
|
|
61661
|
+
E.Added
|
|
61662
|
+
), H.addSelfToProject(t), typeof le) {
|
|
61675
61663
|
case "string":
|
|
61676
61664
|
H.setEntity(
|
|
61677
61665
|
H.project.getBuiltIn(
|
|
@@ -61743,7 +61731,10 @@ function q0(i, a, e, t, r) {
|
|
|
61743
61731
|
me,
|
|
61744
61732
|
a.project
|
|
61745
61733
|
);
|
|
61746
|
-
H.setParent(a, t), H.initChildren(t), t == null || t.add(
|
|
61734
|
+
H.setParent(a, t), H.initChildren(t), t == null || t.add(
|
|
61735
|
+
H,
|
|
61736
|
+
E.Added
|
|
61737
|
+
), H.addSelfToProject(t);
|
|
61747
61738
|
const ae = q0(
|
|
61748
61739
|
le,
|
|
61749
61740
|
H,
|
|
@@ -64722,7 +64713,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
64722
64713
|
)
|
|
64723
64714
|
)) {
|
|
64724
64715
|
const r = ut(this, e), s = this.toMeta();
|
|
64725
|
-
return this.name = e.name || s.name, this.x = e.x || s.x, this.y = e.y || s.y, this.static = e.static || s.static, this.abstract = e.abstract || s.abstract, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
64716
|
+
return this.name = e.name || s.name, this.description = e.description || s.description, this.x = e.x || s.x, this.y = e.y || s.y, this.static = e.static || s.static, this.abstract = e.abstract || s.abstract, super.metaSync(e), e.deleted === !0 && !s.deleted ? t == null || t.add(this, E.Removed) : e.deleted === !1 && s.deleted ? t == null || t.add(this, E.Added) : r && (t == null || t.add(this, E.Updated)), t == null || t.attemptAutoclose("meta-sync", this.id), this;
|
|
64726
64717
|
}
|
|
64727
64718
|
async APILoad(e = L, ...t) {
|
|
64728
64719
|
return await xe.repository.APILoad(this.id, ...t), this;
|