2023-01-29 13:10:57 +01:00
|
|
|
import SvelteUIElement from "./UI/Base/SvelteUIElement"
|
2023-03-24 19:21:15 +01:00
|
|
|
import ThemeViewGUI from "./UI/ThemeViewGUI.svelte"
|
2023-03-23 00:58:21 +01:00
|
|
|
import { FixedUiElement } from "./UI/Base/FixedUiElement"
|
2023-03-25 02:48:24 +01:00
|
|
|
import LayoutConfig from "./Models/ThemeConfig/LayoutConfig"
|
|
|
|
import * as benches from "./assets/generated/themes/benches.json"
|
2023-03-26 05:58:28 +02:00
|
|
|
|
2023-01-29 13:10:57 +01:00
|
|
|
async function main() {
|
2023-03-26 05:58:28 +02:00
|
|
|
new FixedUiElement("").AttachTo("extradiv")
|
2023-03-25 02:48:24 +01:00
|
|
|
const layout = new LayoutConfig(<any>benches, true) // qp.data === "" ? : new AllKnownLayoutsLazy().get(qp.data)
|
2023-03-24 19:21:15 +01:00
|
|
|
new SvelteUIElement(ThemeViewGUI, { layout }).AttachTo("maindiv")
|
2023-01-21 23:58:14 +01:00
|
|
|
}
|
|
|
|
|
2023-03-28 05:13:48 +02:00
|
|
|
async function test() {
|
|
|
|
// new LengthInput().AttachTo("maindiv")
|
|
|
|
}
|
|
|
|
//test().then((_) => {})
|
2023-01-29 13:10:57 +01:00
|
|
|
main().then((_) => {})
|