| 
									
										
										
										
											2020-07-12 23:19:05 +02:00
										 |  |  | import {UIElement} from "../UI/UIElement"; | 
					
						
							| 
									
										
										
										
											2020-08-17 17:23:15 +02:00
										 |  |  | import {UIEventSource} from "../Logic/UIEventSource"; | 
					
						
							| 
									
										
										
										
											2020-08-30 01:13:18 +02:00
										 |  |  | import Translation from "../UI/i18n/Translation"; | 
					
						
							| 
									
										
										
										
											2020-07-12 23:19:05 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-31 01:45:54 +02:00
										 |  |  | export interface Dependencies { | 
					
						
							|  |  |  |     tags: UIEventSource<any> | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-12 23:19:05 +02:00
										 |  |  | export interface TagDependantUIElementConstructor { | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-31 01:45:54 +02:00
										 |  |  |     construct(dependencies: Dependencies): TagDependantUIElement; | 
					
						
							| 
									
										
										
										
											2020-07-13 12:10:43 +02:00
										 |  |  |     IsKnown(properties: any): boolean; | 
					
						
							|  |  |  |     IsQuestioning(properties: any): boolean; | 
					
						
							| 
									
										
										
										
											2020-08-30 01:13:18 +02:00
										 |  |  |     GetContent(tags: any): Translation; | 
					
						
							| 
									
										
										
										
											2020-08-22 02:12:46 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-12 23:19:05 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export abstract class TagDependantUIElement extends UIElement { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     abstract IsKnown(): boolean; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     abstract IsQuestioning(): boolean; | 
					
						
							|  |  |  |      | 
					
						
							| 
									
										
										
										
											2020-07-25 01:07:02 +02:00
										 |  |  |     abstract IsSkipped() : boolean; | 
					
						
							| 
									
										
										
										
											2020-07-12 23:19:05 +02:00
										 |  |  | } |