forked from MapComplete/MapComplete
		
	Update themes to use new language_chooser
This commit is contained in:
		
							parent
							
								
									84eee064b2
								
							
						
					
					
						commit
						112b9cd25d
					
				
					 10 changed files with 11077 additions and 40761 deletions
				
			
		|  | @ -1,13 +1,15 @@ | |||
| import {UIEventSource} from "../Logic/UIEventSource"; | ||||
| import BaseUIElement from "./BaseUIElement"; | ||||
| import FeaturePipelineState from "../Logic/State/FeaturePipelineState"; | ||||
| import {DefaultGuiState} from "./DefaultGuiState"; | ||||
| 
 | ||||
| export interface SpecialVisualization { | ||||
|     funcName: string | ||||
|     constr: ( | ||||
|         state: any, /*FeaturePipelineState*/ | ||||
|         state: FeaturePipelineState, | ||||
|         tagSource: UIEventSource<any>, | ||||
|         argument: string[], | ||||
|         guistate: any /*DefaultGuiState*/ | ||||
|         guistate: DefaultGuiState | ||||
|     ) => BaseUIElement | ||||
|     docs: string | BaseUIElement | ||||
|     example?: string | ||||
|  |  | |||
|  | @ -51,6 +51,7 @@ import LayerConfig from "../Models/ThemeConfig/LayerConfig"; | |||
| import {GeoOperations} from "../Logic/GeoOperations"; | ||||
| import StatisticsPanel from "./BigComponents/StatisticsPanel"; | ||||
| import AutoApplyButton from "./Popup/AutoApplyButton"; | ||||
| import {LanguageElement} from "./Popup/LanguageElement"; | ||||
| 
 | ||||
| export default class SpecialVisualizations { | ||||
|     public static specialVisualizations: SpecialVisualization[]  = SpecialVisualizations.initList(); | ||||
|  | @ -74,6 +75,7 @@ export default class SpecialVisualizations { | |||
|             new CloseNoteButton(), | ||||
|             new NearbyImageVis(), | ||||
|             new MapillaryLinkVis(), | ||||
|             new LanguageElement(), | ||||
|             { | ||||
|                 funcName: "all_tags", | ||||
|                 docs: "Prints all key-value pairs of the object - used for debugging", | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue