fix(admin): restore Vite admin source files
This commit is contained in:
1 parent
8fe3a89c36
commit
ac5c0b2dd7
114 files changed
+17272
No files matched your search
@@ -0,0 +1,39 @@
|
||||
import { h } from 'vue'
|
||||
|
||||
export function renderFaIcon(faClass) {
|
||||
return () => h('i', { class: faClass, style: 'font-size:18px;width:18px;text-align:center' })
|
||||
}
|
||||
|
||||
function sectionPage(config) {
|
||||
return {
|
||||
status: 'available',
|
||||
component: 'SchemaPage',
|
||||
canonicalDomain: '',
|
||||
section: '',
|
||||
phase: '',
|
||||
dependsOn: [],
|
||||
reason: '',
|
||||
features: [],
|
||||
iconClass: '',
|
||||
...config,
|
||||
}
|
||||
}
|
||||
|
||||
export function customPage(config) {
|
||||
return sectionPage(config)
|
||||
}
|
||||
|
||||
export function schemaPage(config) {
|
||||
return sectionPage({
|
||||
component: 'SchemaPage',
|
||||
...config,
|
||||
})
|
||||
}
|
||||
|
||||
export function deferredPage(config) {
|
||||
return sectionPage({
|
||||
component: 'DeferredPage',
|
||||
status: 'deferred',
|
||||
...config,
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user