| 
									
										
										
										
											2018-05-01 17:05:36 -07:00
										 |  |  | <div class="loading-mask-container {shown ? 'loading-mask-container-shown' : ''}"> | 
					
						
							|  |  |  |   {#if shown} | 
					
						
							| 
									
										
										
										
											2018-02-14 18:37:19 -08:00
										 |  |  |     <div class="loading-mask"> | 
					
						
							|  |  |  |       <LoadingSpinner maskStyle="true"/> | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2018-05-01 17:05:36 -07:00
										 |  |  |   {/if} | 
					
						
							| 
									
										
										
										
											2018-01-14 11:22:57 -08:00
										 |  |  | </div> | 
					
						
							|  |  |  | <style> | 
					
						
							| 
									
										
										
										
											2018-02-14 18:37:19 -08:00
										 |  |  |   .loading-mask-container { | 
					
						
							| 
									
										
										
										
											2018-01-14 11:22:57 -08:00
										 |  |  |     left: 0; | 
					
						
							|  |  |  |     right: 0; | 
					
						
							|  |  |  |     top: 0; | 
					
						
							|  |  |  |     bottom: 0; | 
					
						
							|  |  |  |     position: fixed; | 
					
						
							|  |  |  |     z-index: 100; | 
					
						
							| 
									
										
										
										
											2018-02-14 18:23:11 -08:00
										 |  |  |     pointer-events: none; | 
					
						
							| 
									
										
										
										
											2018-02-14 18:37:19 -08:00
										 |  |  |     opacity: 0; | 
					
						
							|  |  |  |     transition: opacity 333ms linear; | 
					
						
							| 
									
										
										
										
											2018-02-14 18:23:11 -08:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2018-02-14 18:37:19 -08:00
										 |  |  |   .loading-mask-container.loading-mask-container-shown { | 
					
						
							| 
									
										
										
										
											2018-02-14 18:23:11 -08:00
										 |  |  |     pointer-events: auto; | 
					
						
							| 
									
										
										
										
											2018-02-14 18:37:19 -08:00
										 |  |  |     opacity: 0.6; | 
					
						
							| 
									
										
										
										
											2018-01-14 11:22:57 -08:00
										 |  |  |   } | 
					
						
							|  |  |  |   .loading-mask { | 
					
						
							|  |  |  |     width: 100%; | 
					
						
							|  |  |  |     height: 100%; | 
					
						
							|  |  |  |     display: flex; | 
					
						
							|  |  |  |     align-items: center; | 
					
						
							|  |  |  |     justify-content: center; | 
					
						
							|  |  |  |     background: var(--mask-bg); | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | </style> | 
					
						
							|  |  |  | <script> | 
					
						
							| 
									
										
										
										
											2018-01-14 23:24:27 -08:00
										 |  |  |   import LoadingSpinner from './LoadingSpinner.html' | 
					
						
							| 
									
										
										
										
											2018-02-14 18:37:19 -08:00
										 |  |  |   import { store } from '../_store/store' | 
					
						
							| 
									
										
										
										
											2018-01-14 11:22:57 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  |   export default { | 
					
						
							| 
									
										
										
										
											2018-02-14 18:37:19 -08:00
										 |  |  |     store: () => store, | 
					
						
							|  |  |  |     computed: { | 
					
						
							| 
									
										
										
										
											2018-05-01 17:05:36 -07:00
										 |  |  |       shown: ({ $logInToInstanceLoading }) => $logInToInstanceLoading | 
					
						
							| 
									
										
										
										
											2018-02-14 18:37:19 -08:00
										 |  |  |     }, | 
					
						
							| 
									
										
										
										
											2018-01-14 23:24:27 -08:00
										 |  |  |     components: { | 
					
						
							|  |  |  |       LoadingSpinner | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2018-01-14 11:22:57 -08:00
										 |  |  |   } | 
					
						
							|  |  |  | </script> |