|  |  | @ -400,7 +400,6 @@ import { Component, Vue } from "vue-facing-decorator"; | 
			
		
	
		
			
				
					|  |  |  | import { useClipboard } from "@vueuse/core"; | 
			
		
	
		
			
				
					|  |  |  | import { Router } from "vue-router"; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | import GiftedDialog from "@/components/GiftedDialog.vue"; | 
			
		
	
		
			
				
					|  |  |  | import QuickNav from "@/components/QuickNav.vue"; | 
			
		
	
		
			
				
					|  |  |  | import { NotificationIface } from "@/constants/app"; | 
			
		
	
		
			
				
					|  |  |  | import { accountsDB, db } from "@/db/index"; | 
			
		
	
	
		
			
				
					|  |  | @ -408,18 +407,13 @@ import { Account } from "@/db/tables/accounts"; | 
			
		
	
		
			
				
					|  |  |  | import { Contact } from "@/db/tables/contacts"; | 
			
		
	
		
			
				
					|  |  |  | import { MASTER_SETTINGS_KEY, Settings } from "@/db/tables/settings"; | 
			
		
	
		
			
				
					|  |  |  | import * as serverUtil from "@/libs/endorserServer"; | 
			
		
	
		
			
				
					|  |  |  | import { | 
			
		
	
		
			
				
					|  |  |  |   displayAmount, | 
			
		
	
		
			
				
					|  |  |  |   GenericCredWrapper, | 
			
		
	
		
			
				
					|  |  |  |   GiverReceiverInputInfo, | 
			
		
	
		
			
				
					|  |  |  |   OfferVerifiableCredential, | 
			
		
	
		
			
				
					|  |  |  | } from "@/libs/endorserServer"; | 
			
		
	
		
			
				
					|  |  |  | import { displayAmount } from "@/libs/endorserServer"; | 
			
		
	
		
			
				
					|  |  |  | import * as libsUtil from "@/libs/util"; | 
			
		
	
		
			
				
					|  |  |  | import { isGiveAction } from "@/libs/util"; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | @Component({ | 
			
		
	
		
			
				
					|  |  |  |   methods: { displayAmount }, | 
			
		
	
		
			
				
					|  |  |  |   components: { GiftedDialog, QuickNav }, | 
			
		
	
		
			
				
					|  |  |  |   components: { QuickNav }, | 
			
		
	
		
			
				
					|  |  |  | }) | 
			
		
	
		
			
				
					|  |  |  | export default class ClaimView extends Vue { | 
			
		
	
		
			
				
					|  |  |  |   $notify!: (notification: NotificationIface, timeout?: number) => void; | 
			
		
	
	
		
			
				
					|  |  | @ -771,20 +765,6 @@ export default class ClaimView extends Vue { | 
			
		
	
		
			
				
					|  |  |  |     }); | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |   openFulfillGiftDialog() { | 
			
		
	
		
			
				
					|  |  |  |     const giver: GiverReceiverInputInfo = { | 
			
		
	
		
			
				
					|  |  |  |       did: libsUtil.offerGiverDid( | 
			
		
	
		
			
				
					|  |  |  |         this.veriClaim as GenericCredWrapper<OfferVerifiableCredential>, | 
			
		
	
		
			
				
					|  |  |  |       ), | 
			
		
	
		
			
				
					|  |  |  |     }; | 
			
		
	
		
			
				
					|  |  |  |     (this.$refs.customGiveDialog as GiftedDialog).open( | 
			
		
	
		
			
				
					|  |  |  |       giver, | 
			
		
	
		
			
				
					|  |  |  |       undefined, | 
			
		
	
		
			
				
					|  |  |  |       this.giveDetails.handleId, | 
			
		
	
		
			
				
					|  |  |  |       "Offer fulfilled by " + (giver?.name || "someone not named"), | 
			
		
	
		
			
				
					|  |  |  |     ); | 
			
		
	
		
			
				
					|  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |   copyToClipboard(name: string, text: string) { | 
			
		
	
		
			
				
					|  |  |  |     useClipboard() | 
			
		
	
		
			
				
					|  |  |  |       .copy(text) | 
			
		
	
	
		
			
				
					|  |  | 
 |