| 
									
										
										
										
											2020-08-31 02:59:47 +02:00
										 |  |  | import {UIEventSource} from "../../Logic/UIEventSource"; | 
					
						
							| 
									
										
										
										
											2020-09-03 00:00:37 +02:00
										 |  |  | import TagInput from "./SingleTagInput"; | 
					
						
							| 
									
										
										
										
											2020-09-02 11:37:34 +02:00
										 |  |  | import {MultiInput} from "./MultiInput"; | 
					
						
							| 
									
										
										
										
											2020-08-31 02:59:47 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-09-02 11:37:34 +02:00
										 |  |  | export class MultiTagInput extends MultiInput<string> { | 
					
						
							| 
									
										
										
										
											2020-08-31 02:59:47 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-09-02 11:37:34 +02:00
										 |  |  |     constructor(value: UIEventSource<string[]> = new UIEventSource<string[]>([])) { | 
					
						
							|  |  |  |         super("Add a new tag", | 
					
						
							|  |  |  |             () => "", | 
					
						
							|  |  |  |             () => new TagInput(), | 
					
						
							|  |  |  |             value | 
					
						
							|  |  |  |         ); | 
					
						
							| 
									
										
										
										
											2020-08-31 02:59:47 +02:00
										 |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | } |