forked from MapComplete/MapComplete
		
	Refactoring: port unit picker
This commit is contained in:
		
							parent
							
								
									622df2df19
								
							
						
					
					
						commit
						2b05d79dbb
					
				
					 8 changed files with 188 additions and 67 deletions
				
			
		
							
								
								
									
										8
									
								
								test.ts
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								test.ts
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -3,6 +3,13 @@ import * as theme from "./assets/generated/themes/bookcases.json"
 | 
			
		|||
import ThemeViewState from "./Models/ThemeViewState"
 | 
			
		||||
import Combine from "./UI/Base/Combine"
 | 
			
		||||
import SpecialVisualizations from "./UI/SpecialVisualizations"
 | 
			
		||||
import ValidatedInput from "./UI/InputElement/ValidatedInput.svelte";
 | 
			
		||||
import SvelteUIElement from "./UI/Base/SvelteUIElement";
 | 
			
		||||
import {UIEventSource} from "./Logic/UIEventSource";
 | 
			
		||||
import {Unit} from "./Models/Unit";
 | 
			
		||||
import {Denomination} from "./Models/Denomination";
 | 
			
		||||
import {VariableUiElement} from "./UI/Base/VariableUIElement";
 | 
			
		||||
import {FixedUiElement} from "./UI/Base/FixedUiElement";
 | 
			
		||||
 | 
			
		||||
function testspecial() {
 | 
			
		||||
    const layout = new LayoutConfig(<any>theme, true) // qp.data === "" ?  : new AllKnownLayoutsLazy().get(qp.data)
 | 
			
		||||
| 
						 | 
				
			
			@ -14,7 +21,6 @@ function testspecial() {
 | 
			
		|||
    new Combine(all).AttachTo("maindiv")
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/*/
 | 
			
		||||
testspecial()
 | 
			
		||||
//*/
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue