mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 19:17:48 +00:00 
			
		
		
		
	 b6e8173b24
			
		
	
	b6e8173b24
	
	
	
		
			
			* feat: HMAC verification for web widget. Let you verify the authenticated contact via HMAC on the web widget to prevent data tampering. * Add docs for identity-validation Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
		
			
				
	
	
		
			51 lines
		
	
	
		
			895 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			895 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
| <template>
 | |
|   <div class="row settings--section">
 | |
|     <div class="medium-4 small-12 title--section">
 | |
|       <p class="sub-block-title">
 | |
|         {{ title }}
 | |
|       </p>
 | |
|       <p class="sub-head">
 | |
|         {{ subTitle }}
 | |
|       </p>
 | |
|     </div>
 | |
|     <div class="medium-6 small-12">
 | |
|       <slot></slot>
 | |
|     </div>
 | |
|   </div>
 | |
| </template>
 | |
| 
 | |
| <script>
 | |
| export default {
 | |
|   props: {
 | |
|     title: {
 | |
|       type: String,
 | |
|       required: true,
 | |
|     },
 | |
|     subTitle: {
 | |
|       type: String,
 | |
|       required: true,
 | |
|     },
 | |
|   },
 | |
| };
 | |
| </script>
 | |
| 
 | |
| <style lang="scss">
 | |
| @import '~dashboard/assets/scss/variables';
 | |
| 
 | |
| .settings--section {
 | |
|   border-bottom: 1px solid $color-border;
 | |
|   display: flex;
 | |
|   padding: $space-normal $space-normal $space-normal 0;
 | |
| 
 | |
|   .sub-block-title {
 | |
|     color: $color-woot;
 | |
|     font-weight: $font-weight-medium;
 | |
|     margin-bottom: 0;
 | |
|   }
 | |
| 
 | |
|   .title--section {
 | |
|     padding-right: var(--space-large);
 | |
|   }
 | |
| }
 | |
| </style>
 |