| 
									
										
										
										
											2020-07-31 04:58:58 +02:00
										 |  |  | import {Layout} from "../Customizations/Layout"; | 
					
						
							|  |  |  | import Translations from "../UI/i18n/Translations"; | 
					
						
							| 
									
										
										
										
											2020-11-06 01:58:26 +01:00
										 |  |  | import {Img} from "../UI/Img"; | 
					
						
							|  |  |  | import Svg from "../Svg"; | 
					
						
							| 
									
										
										
										
											2020-07-31 04:58:58 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-26 15:36:04 +02:00
										 |  |  | export class PersonalLayout extends Layout { | 
					
						
							| 
									
										
										
										
											2020-07-31 04:58:58 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |     public static NAME: string = "personal"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     constructor() { | 
					
						
							|  |  |  |         super( | 
					
						
							| 
									
										
										
										
											2020-08-26 15:36:04 +02:00
										 |  |  |             PersonalLayout.NAME, | 
					
						
							| 
									
										
										
										
											2020-07-31 04:58:58 +02:00
										 |  |  |             ["en"], | 
					
						
							|  |  |  |             Translations.t.favourite.title, | 
					
						
							|  |  |  |             [], | 
					
						
							|  |  |  |             12, | 
					
						
							|  |  |  |             0, | 
					
						
							|  |  |  |             0, | 
					
						
							|  |  |  |             Translations.t.favourite.description, | 
					
						
							|  |  |  |         ); | 
					
						
							| 
									
										
										
										
											2020-10-25 17:26:15 +01:00
										 |  |  |         this.maintainer = "MapComplete" | 
					
						
							| 
									
										
										
										
											2020-09-17 19:24:57 +02:00
										 |  |  |         this.description = "The personal theme allows to select one or more layers from all the layouts, creating a truly personal editor" | 
					
						
							| 
									
										
										
										
											2020-11-06 01:58:26 +01:00
										 |  |  |         this.icon = Img.AsData(Svg.add) | 
					
						
							| 
									
										
										
										
											2020-07-31 04:58:58 +02:00
										 |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-26 15:36:04 +02:00
										 |  |  | } |