| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -271,6 +271,11 @@ const inputImageFileNameRef = ref<Blob>(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      type: Boolean, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      default: true, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    defaultCameraMode: { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      type: String, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      default: 'environment', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      validator: (value: string) => ['environment', 'user'].includes(value) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					}) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					export default class ImageMethodDialog extends Vue { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -378,6 +383,7 @@ export default class ImageMethodDialog extends Vue { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    this.crop = !!crop; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    this.imageCallback = setImageFn; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    this.visible = true; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    this.currentFacingMode = this.defaultCameraMode as 'environment' | 'user'; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    // Start camera preview immediately if not on mobile | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    if (!this.platformCapabilities.isNativeApp) { | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |