feat: add ArkTS shell code skeleton placeholders
This commit is contained in:
1 parent
339756c1aa
commit
f8f18f185e
32 files changed
+561
No files matched your search
@@ -0,0 +1,20 @@
|
||||
import { AppCatalogStore } from '../store/AppCatalogStore'
|
||||
|
||||
@Entry
|
||||
@Component
|
||||
struct AppListPage {
|
||||
private store: AppCatalogStore = new AppCatalogStore()
|
||||
|
||||
aboutToAppear(): void {
|
||||
this.store.loadApps()
|
||||
}
|
||||
|
||||
build() {
|
||||
Column() {
|
||||
Text('AppListPage')
|
||||
Text(`apps: ${this.store.items.length}`)
|
||||
}
|
||||
.width('100%')
|
||||
.height('100%')
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import { ImportStore } from '../store/ImportStore'
|
||||
|
||||
@Component
|
||||
export struct ImportPage {
|
||||
private store: ImportStore = new ImportStore()
|
||||
|
||||
build() {
|
||||
Column() {
|
||||
Text('ImportPage')
|
||||
Text(`phase: ${this.store.phase}`)
|
||||
}
|
||||
.width('100%')
|
||||
.height('100%')
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import { RuntimeSessionStore } from '../store/RuntimeSessionStore'
|
||||
|
||||
@Component
|
||||
export struct RunPage {
|
||||
private store: RuntimeSessionStore = new RuntimeSessionStore()
|
||||
|
||||
build() {
|
||||
Column() {
|
||||
Text('RunPage')
|
||||
Text(`phase: ${this.store.phase}`)
|
||||
}
|
||||
.width('100%')
|
||||
.height('100%')
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user