@praxisjs/devtools 0.2.28 → 0.2.29
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisjs/devtools",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.29",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@unocss/reset": "^66.6.7",
|
|
15
|
-
"@praxisjs/core": "
|
|
16
|
-
"@praxisjs/decorators": "1.
|
|
17
|
-
"@praxisjs/
|
|
18
|
-
"@praxisjs/
|
|
19
|
-
"@praxisjs/shared": "0.3.
|
|
15
|
+
"@praxisjs/core": "2.0.0",
|
|
16
|
+
"@praxisjs/decorators": "1.5.0",
|
|
17
|
+
"@praxisjs/jsx": "0.7.2",
|
|
18
|
+
"@praxisjs/runtime": "0.5.3",
|
|
19
|
+
"@praxisjs/shared": "0.3.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/node": "^25.9.1",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EmptyState } from "@shared/empty-state";
|
|
2
2
|
|
|
3
3
|
import { StatefulComponent } from "@praxisjs/core";
|
|
4
|
-
import { Component, State } from "@praxisjs/decorators";
|
|
4
|
+
import { Component, Prop, State } from "@praxisjs/decorators";
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
import { ComponentDetail } from "./components/component-detail";
|
|
@@ -14,13 +14,10 @@ import type { ComponentEntry } from "@core/types";
|
|
|
14
14
|
export class ComponentsTab extends StatefulComponent {
|
|
15
15
|
@State() components: ComponentEntry[] = [];
|
|
16
16
|
@State() selectedId: string | null = null;
|
|
17
|
+
@Prop() registry!: Registry;
|
|
17
18
|
|
|
18
19
|
private _handlers: Array<() => void> = [];
|
|
19
20
|
|
|
20
|
-
private get registry() {
|
|
21
|
-
return this.props.registry as Registry;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
21
|
onMount() {
|
|
25
22
|
this.components = this.registry.getComponents();
|
|
26
23
|
|
|
@@ -2,7 +2,7 @@ import { EmptyState } from "@shared/empty-state";
|
|
|
2
2
|
import { SearchInput } from "@shared/search-input";
|
|
3
3
|
|
|
4
4
|
import { StatefulComponent } from "@praxisjs/core";
|
|
5
|
-
import { Component, State } from "@praxisjs/decorators";
|
|
5
|
+
import { Component, Prop, State } from "@praxisjs/decorators";
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
import { SignalDetail } from "./components/signal-detail";
|
|
@@ -16,13 +16,10 @@ export class SignalsTab extends StatefulComponent {
|
|
|
16
16
|
@State() signals: SignalEntry[] = [];
|
|
17
17
|
@State() search = "";
|
|
18
18
|
@State() selectedId: string | null = null;
|
|
19
|
+
@Prop() registry!: Registry;
|
|
19
20
|
|
|
20
21
|
private _handlers: Array<() => void> = [];
|
|
21
22
|
|
|
22
|
-
private get registry() {
|
|
23
|
-
return this.props.registry as Registry;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
23
|
onMount() {
|
|
27
24
|
this.signals = this.registry.getSignals();
|
|
28
25
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EmptyState } from "@shared/empty-state";
|
|
2
2
|
|
|
3
3
|
import { StatefulComponent } from "@praxisjs/core";
|
|
4
|
-
import { Component, State } from "@praxisjs/decorators";
|
|
4
|
+
import { Component, Prop, State } from "@praxisjs/decorators";
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
import { TimelineRow } from "./components/timeline-row";
|
|
@@ -15,13 +15,10 @@ export class TimelineTab extends StatefulComponent {
|
|
|
15
15
|
@State() entries: TimelineEntry[] = [];
|
|
16
16
|
@State() filter: Filter = "all";
|
|
17
17
|
@State() paused = false;
|
|
18
|
+
@Prop() registry!: Registry;
|
|
18
19
|
|
|
19
20
|
private _handlers: Array<() => void> = [];
|
|
20
21
|
|
|
21
|
-
private get registry() {
|
|
22
|
-
return this.props.registry as Registry;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
22
|
onMount() {
|
|
26
23
|
this.entries = this.registry.getTimeline();
|
|
27
24
|
|