| 
									
										
										
										
											2020-07-20 23:43:42 +02:00
										 |  |  | import {TagRenderingOptions} from "../../TagRendering"; | 
					
						
							|  |  |  | import {Tag} from "../../../Logic/TagsFilter"; | 
					
						
							|  |  |  | import Translations from "../../../UI/i18n/Translations"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export default class ShopRepair extends TagRenderingOptions { | 
					
						
							|  |  |  |     constructor() { | 
					
						
							|  |  |  |         const key = 'service:bicycle:repair' | 
					
						
							| 
									
										
										
										
											2020-07-21 01:13:51 +02:00
										 |  |  |         const to = Translations.t.cyclofix.shop.repair | 
					
						
							| 
									
										
										
										
											2020-07-20 23:43:42 +02:00
										 |  |  |         super({ | 
					
						
							| 
									
										
										
										
											2020-07-21 23:31:41 +02:00
										 |  |  |             question: to.question, | 
					
						
							| 
									
										
										
										
											2020-07-20 23:43:42 +02:00
										 |  |  |             mappings: [ | 
					
						
							| 
									
										
										
										
											2020-07-21 23:31:41 +02:00
										 |  |  |                 {k: new Tag(key, "yes"), txt: to.yes}, | 
					
						
							|  |  |  |                 {k: new Tag(key, "only_sold"), txt: to.sold}, | 
					
						
							|  |  |  |                 {k: new Tag(key, "brand"), txt: to.brand}, | 
					
						
							|  |  |  |                 {k: new Tag(key, "no"), txt: to.no}, | 
					
						
							| 
									
										
										
										
											2020-07-20 23:43:42 +02:00
										 |  |  |             ] | 
					
						
							|  |  |  |         }); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | } |