@elyx-code/project-logic-tree 0.0.6706 → 0.0.6707
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 +2 -2
- package/dist/index.js +37 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -151746,9 +151746,14 @@ const yi = class yi extends Gr {
|
|
|
151746
151746
|
return kf(i);
|
|
151747
151747
|
}
|
|
151748
151748
|
rehydrateQuery() {
|
|
151749
|
+
if (this.id === "search-person-by-id-id")
|
|
151750
|
+
debugger;
|
|
151749
151751
|
if (!this.query)
|
|
151750
151752
|
return "";
|
|
151751
|
-
const i = kf(this.query)
|
|
151753
|
+
const i = kf(this.query);
|
|
151754
|
+
if (this.id === "search-person-by-id-id")
|
|
151755
|
+
debugger;
|
|
151756
|
+
const n = ty.parse(i, {
|
|
151752
151757
|
dialect: "sqlite",
|
|
151753
151758
|
// These are optional:
|
|
151754
151759
|
includeSpaces: !0
|
|
@@ -151756,12 +151761,27 @@ const yi = class yi extends Gr {
|
|
|
151756
151761
|
// includeNewlines: true, // Adds newlines
|
|
151757
151762
|
// includeComments: true, // Adds comments
|
|
151758
151763
|
// includeRange: true, // Adds source code location data
|
|
151759
|
-
})
|
|
151764
|
+
});
|
|
151765
|
+
if (this.id === "search-person-by-id-id")
|
|
151766
|
+
debugger;
|
|
151767
|
+
const s = gm(
|
|
151760
151768
|
n,
|
|
151761
151769
|
this.project,
|
|
151762
151770
|
this
|
|
151763
151771
|
);
|
|
151764
|
-
|
|
151772
|
+
if (this.id === "search-person-by-id-id")
|
|
151773
|
+
debugger;
|
|
151774
|
+
if (!s.state) {
|
|
151775
|
+
if (this.id === "search-person-by-id-id")
|
|
151776
|
+
debugger;
|
|
151777
|
+
return "";
|
|
151778
|
+
}
|
|
151779
|
+
if (this.id === "search-person-by-id-id")
|
|
151780
|
+
debugger;
|
|
151781
|
+
const c = kf(s.state.toQuery());
|
|
151782
|
+
if (this.id === "search-person-by-id-id")
|
|
151783
|
+
debugger;
|
|
151784
|
+
return c;
|
|
151765
151785
|
}
|
|
151766
151786
|
onProjectInitialized(i, n = this.project.addChangeSet(
|
|
151767
151787
|
new Z(
|
|
@@ -152302,7 +152322,20 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
152302
152322
|
added: m,
|
|
152303
152323
|
removed: v
|
|
152304
152324
|
} = this.syncInputMaps(i);
|
|
152305
|
-
|
|
152325
|
+
if (n.push(...y), s.push(...m), c.push(...v), this.project.initialized) {
|
|
152326
|
+
if (this.id === "search-person-by-id-id") {
|
|
152327
|
+
console.log("[afterAllChildrenInitialized] query sync");
|
|
152328
|
+
debugger;
|
|
152329
|
+
}
|
|
152330
|
+
const b = this.rehydrateQuery();
|
|
152331
|
+
if (this.id === "search-person-by-id-id") {
|
|
152332
|
+
console.log("[afterAllChildrenInitialized] query sync");
|
|
152333
|
+
debugger;
|
|
152334
|
+
}
|
|
152335
|
+
this.metaSync({ query: b }, i), this.state = this.queryToState(), jG(this, this.state, i);
|
|
152336
|
+
} else
|
|
152337
|
+
this.id === "search-person-by-id-id" && console.log("[afterAllChildrenInitialized] skipping query sync");
|
|
152338
|
+
return this.inputs.sort(
|
|
152306
152339
|
(b, E) => {
|
|
152307
152340
|
var w, V;
|
|
152308
152341
|
return (b.index ?? ((w = b.declaration) == null ? void 0 : w.index)) - (E.index ?? ((V = E.declaration) == null ? void 0 : V.index));
|
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.6707",
|
|
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",
|