|  | @ -160,3 +160,51 @@ class Border extends Sides { | 
			
		
	
		
		
			
				
					|  |  |             }) |  |  |             }) | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  | } |  |  | } | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  | class BorderChain extends Border { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     constructor(modifier){ | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         super(); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         this._modifier = modifier; | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     /** | 
			
		
	
		
		
			
				
					|  |  |  |  |  |      *  | 
			
		
	
		
		
			
				
					|  |  |  |  |  |      * @returns {Modifier|ChainableModifier} | 
			
		
	
		
		
			
				
					|  |  |  |  |  |      */ | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     toModifier() { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         return this._modifier | 
			
		
	
		
		
			
				
					|  |  |  |  |  |             .border(this); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     /** | 
			
		
	
		
		
			
				
					|  |  |  |  |  |      *  | 
			
		
	
		
		
			
				
					|  |  |  |  |  |      * @returns {Modifier|ChainableModifier} | 
			
		
	
		
		
			
				
					|  |  |  |  |  |      */ | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     ensureModifier() { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         return this.toModifier() | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     /** | 
			
		
	
		
		
			
				
					|  |  |  |  |  |      * Applies the border modification on the modifier | 
			
		
	
		
		
			
				
					|  |  |  |  |  |      * and returns (through the modifier) to the corresponding component.  | 
			
		
	
		
		
			
				
					|  |  |  |  |  |      * @returns {Component} | 
			
		
	
		
		
			
				
					|  |  |  |  |  |      */ | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     toComponent() { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         return this._modifier | 
			
		
	
		
		
			
				
					|  |  |  |  |  |             .dimensions(this) | 
			
		
	
		
		
			
				
					|  |  |  |  |  |             .toComponent(); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     /** | 
			
		
	
		
		
			
				
					|  |  |  |  |  |      *  | 
			
		
	
		
		
			
				
					|  |  |  |  |  |      * @param {Component} innerComponent will be set to the corresponding component | 
			
		
	
		
		
			
				
					|  |  |  |  |  |      * @returns {Component} the corr. Component after the childContext was applied.  | 
			
		
	
		
		
			
				
					|  |  |  |  |  |      */ | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     childContext(innerComponent) { | 
			
		
	
		
		
			
				
					|  |  |  |  |  |         return this._modifier | 
			
		
	
		
		
			
				
					|  |  |  |  |  |             .dimensions(this) | 
			
		
	
		
		
			
				
					|  |  |  |  |  |             .toComponent() | 
			
		
	
		
		
			
				
					|  |  |  |  |  |             .childContext(innerComponent); | 
			
		
	
		
		
			
				
					|  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					|  |  |  |  |  | } | 
			
		
	
	
		
		
			
				
					|  | 
 |