| 
									
										
										
										
											2023-04-13 23:40:28 +02:00
										 |  |  | import { Utils } from "./Utils" | 
					
						
							|  |  |  | import ThemeViewState from "./Models/ThemeViewState" | 
					
						
							|  |  |  | import SvelteUIElement from "./UI/Base/SvelteUIElement" | 
					
						
							|  |  |  | import ThemeViewGUI from "./UI/ThemeViewGUI.svelte" | 
					
						
							| 
									
										
										
										
											2021-12-21 18:35:15 +01:00
										 |  |  | import LayoutConfig from "./Models/ThemeConfig/LayoutConfig"; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-12-21 18:35:31 +01:00
										 |  |  | // Miscelleanous | 
					
						
							|  |  |  | Utils.DisableLongPresses() | 
					
						
							| 
									
										
										
										
											2022-07-25 16:58:30 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-04-13 23:40:28 +02:00
										 |  |  | const state = new ThemeViewState(new LayoutConfig(<any> layout)) | 
					
						
							|  |  |  | const main = new SvelteUIElement(ThemeViewGUI, { state }) | 
					
						
							|  |  |  | main.AttachTo("maindiv") | 
					
						
							|  |  |  |          |