@coinflowlabs/angular 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, Input, ViewChild, HostListener, Injectable, inject } from '@angular/core';
2
+ import { EventEmitter, Component, Input, Output, ViewChild, HostListener, Injectable, inject } from '@angular/core';
3
3
  import * as SolanaWeb3Js from '@solana/web3.js';
4
4
  import { Keypair, Transaction } from '@solana/web3.js';
5
5
  import base58Imported from 'bs58';
@@ -604,6 +604,7 @@ function CSSPropertiesToComponent(dict) {
604
604
  class CoinflowIFrameComponent {
605
605
  constructor(sanitizer) {
606
606
  this.sanitizer = sanitizer;
607
+ this.messageEvent = new EventEmitter();
607
608
  }
608
609
  ngOnInit() {
609
610
  const coinflowUrl = CoinflowUtils.getCoinflowUrl(this.iframeProps);
@@ -613,6 +614,7 @@ class CoinflowIFrameComponent {
613
614
  onPostMessage(event) {
614
615
  if (!event.origin.includes(CoinflowUtils.getCoinflowBaseUrl(this.iframeProps.env)))
615
616
  return;
617
+ this.messageEvent.emit(event);
616
618
  const promise = handleIFrameMessage(event.data, this.messageHandlers);
617
619
  if (!promise)
618
620
  return;
@@ -626,7 +628,7 @@ class CoinflowIFrameComponent {
626
628
  this.iframe.nativeElement.contentWindow.postMessage(message, '*');
627
629
  }
628
630
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CoinflowIFrameComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
629
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: CoinflowIFrameComponent, isStandalone: true, selector: "lib-coinflow-iframe", inputs: { iframeProps: "iframeProps", messageHandlers: "messageHandlers" }, host: { listeners: { "window:message": "onPostMessage($event)" } }, viewQueries: [{ propertyName: "iframe", first: true, predicate: ["iframe"], descendants: true }], ngImport: i0, template: ` <iframe
631
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: CoinflowIFrameComponent, isStandalone: true, selector: "lib-coinflow-iframe", inputs: { iframeProps: "iframeProps", messageHandlers: "messageHandlers" }, outputs: { messageEvent: "messageEvent" }, host: { listeners: { "window:message": "onPostMessage($event)" } }, viewQueries: [{ propertyName: "iframe", first: true, predicate: ["iframe"], descendants: true }], ngImport: i0, template: ` <iframe
630
632
  width="100%"
631
633
  height="100%"
632
634
  #iframe
@@ -658,6 +660,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
658
660
  type: Input
659
661
  }], messageHandlers: [{
660
662
  type: Input
663
+ }], messageEvent: [{
664
+ type: Output
661
665
  }], iframe: [{
662
666
  type: ViewChild,
663
667
  args: ['iframe']
@@ -680,7 +684,7 @@ class CoinflowPurchaseComponent {
680
684
  };
681
685
  }
682
686
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CoinflowPurchaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
683
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: CoinflowPurchaseComponent, isStandalone: true, selector: "lib-coinflow-purchase", inputs: { purchaseProps: "purchaseProps" }, ngImport: i0, template: ' <lib-coinflow-iframe ng-if="iframeProps && messageHandlers" [iframeProps]="iframeProps!" [messageHandlers]="messageHandlers!"></lib-coinflow-iframe> ', isInline: true, dependencies: [{ kind: "component", type: CoinflowIFrameComponent, selector: "lib-coinflow-iframe", inputs: ["iframeProps", "messageHandlers"] }] }); }
687
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: CoinflowPurchaseComponent, isStandalone: true, selector: "lib-coinflow-purchase", inputs: { purchaseProps: "purchaseProps" }, ngImport: i0, template: ' <lib-coinflow-iframe ng-if="iframeProps && messageHandlers" [iframeProps]="iframeProps!" [messageHandlers]="messageHandlers!"></lib-coinflow-iframe> ', isInline: true, dependencies: [{ kind: "component", type: CoinflowIFrameComponent, selector: "lib-coinflow-iframe", inputs: ["iframeProps", "messageHandlers"], outputs: ["messageEvent"] }] }); }
684
688
  }
685
689
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CoinflowPurchaseComponent, decorators: [{
686
690
  type: Component,
@@ -736,7 +740,7 @@ class CoinflowWithdrawComponent {
736
740
  };
737
741
  }
738
742
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CoinflowWithdrawComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
739
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: CoinflowWithdrawComponent, isStandalone: true, selector: "lib-coinflow-withdraw", inputs: { withdrawProps: "withdrawProps" }, ngImport: i0, template: ' <lib-coinflow-iframe ng-if="iframeProps && messageHandlers" [iframeProps]="iframeProps!" [messageHandlers]="messageHandlers!"></lib-coinflow-iframe> ', isInline: true, dependencies: [{ kind: "component", type: CoinflowIFrameComponent, selector: "lib-coinflow-iframe", inputs: ["iframeProps", "messageHandlers"] }] }); }
743
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: CoinflowWithdrawComponent, isStandalone: true, selector: "lib-coinflow-withdraw", inputs: { withdrawProps: "withdrawProps" }, ngImport: i0, template: ' <lib-coinflow-iframe ng-if="iframeProps && messageHandlers" [iframeProps]="iframeProps!" [messageHandlers]="messageHandlers!"></lib-coinflow-iframe> ', isInline: true, dependencies: [{ kind: "component", type: CoinflowIFrameComponent, selector: "lib-coinflow-iframe", inputs: ["iframeProps", "messageHandlers"], outputs: ["messageEvent"] }] }); }
740
744
  }
741
745
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CoinflowWithdrawComponent, decorators: [{
742
746
  type: Component,
@@ -972,6 +976,447 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
972
976
  type: Input
973
977
  }] } });
974
978
 
979
+ class CoinflowMobileWalletButtonComponent {
980
+ constructor() {
981
+ this.opacity = 0.8;
982
+ this.display = 'flex';
983
+ }
984
+ handleMessage({ data }) {
985
+ try {
986
+ const res = JSON.parse(data);
987
+ if ('method' in res && res.method === 'loaded') {
988
+ this.opacity = 1;
989
+ setTimeout(() => {
990
+ this.display = 'none';
991
+ }, 2000);
992
+ }
993
+ }
994
+ catch (e) { }
995
+ }
996
+ ngOnInit() {
997
+ const walletPubkey = getWalletPubkey(this.purchaseProps);
998
+ this.messageHandlers = getHandlers(this.purchaseProps);
999
+ this.messageHandlers.handleHeightChange =
1000
+ this.purchaseProps.handleHeightChange;
1001
+ this.iframeProps = {
1002
+ ...this.purchaseProps,
1003
+ walletPubkey,
1004
+ route: `/${this.route}/${this.purchaseProps?.merchantId}`,
1005
+ routePrefix: 'form',
1006
+ transaction: CoinflowUtils.getTransaction(this.purchaseProps),
1007
+ };
1008
+ }
1009
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CoinflowMobileWalletButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1010
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: CoinflowMobileWalletButtonComponent, isStandalone: true, selector: "lib-coinflow-mobile-wallet-button", inputs: { purchaseProps: "purchaseProps", route: "route", overlayDisplayOverride: "overlayDisplayOverride", alignItems: "alignItems" }, ngImport: i0, template: ` <div style="position: relative; height: 100%;">
1011
+ <div
1012
+ [style.background-color]="purchaseProps.color"
1013
+ [style.display]="overlayDisplayOverride ?? display"
1014
+ [style.opacity]="opacity"
1015
+ [style.align-items]="alignItems"
1016
+ style="width: 100%; height: 40px; position: absolute; top: 0; bottom: 0; left: 0; z-index: 20; justify-content: center; pointer-events: none;"
1017
+ >
1018
+ <ng-content></ng-content>
1019
+ </div>
1020
+ <div style="position: relative; z-index: 10; height: 100%;">
1021
+ <lib-coinflow-iframe
1022
+ (messageEvent)="handleMessage($event)"
1023
+ ng-if="iframeProps && messageHandlers"
1024
+ [iframeProps]="iframeProps!"
1025
+ [messageHandlers]="messageHandlers!"
1026
+ ></lib-coinflow-iframe>
1027
+ </div>
1028
+ </div>`, isInline: true, dependencies: [{ kind: "component", type: CoinflowIFrameComponent, selector: "lib-coinflow-iframe", inputs: ["iframeProps", "messageHandlers"], outputs: ["messageEvent"] }] }); }
1029
+ }
1030
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CoinflowMobileWalletButtonComponent, decorators: [{
1031
+ type: Component,
1032
+ args: [{
1033
+ selector: 'lib-coinflow-mobile-wallet-button',
1034
+ standalone: true,
1035
+ imports: [CoinflowIFrameComponent],
1036
+ template: ` <div style="position: relative; height: 100%;">
1037
+ <div
1038
+ [style.background-color]="purchaseProps.color"
1039
+ [style.display]="overlayDisplayOverride ?? display"
1040
+ [style.opacity]="opacity"
1041
+ [style.align-items]="alignItems"
1042
+ style="width: 100%; height: 40px; position: absolute; top: 0; bottom: 0; left: 0; z-index: 20; justify-content: center; pointer-events: none;"
1043
+ >
1044
+ <ng-content></ng-content>
1045
+ </div>
1046
+ <div style="position: relative; z-index: 10; height: 100%;">
1047
+ <lib-coinflow-iframe
1048
+ (messageEvent)="handleMessage($event)"
1049
+ ng-if="iframeProps && messageHandlers"
1050
+ [iframeProps]="iframeProps!"
1051
+ [messageHandlers]="messageHandlers!"
1052
+ ></lib-coinflow-iframe>
1053
+ </div>
1054
+ </div>`,
1055
+ }]
1056
+ }], propDecorators: { purchaseProps: [{
1057
+ type: Input
1058
+ }], route: [{
1059
+ type: Input
1060
+ }], overlayDisplayOverride: [{
1061
+ type: Input
1062
+ }], alignItems: [{
1063
+ type: Input
1064
+ }] } });
1065
+
1066
+ class CoinflowApplePayOverlayComponent {
1067
+ fill() {
1068
+ return this.color === 'white' ? '#000' : '#FFF';
1069
+ }
1070
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CoinflowApplePayOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1071
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: CoinflowApplePayOverlayComponent, isStandalone: true, selector: "coinflow-apple-pay-overlay", inputs: { color: "color" }, ngImport: i0, template: `
1072
+ <svg id="svg-logo" viewBox="0 0 35 15">
1073
+ <svg
1074
+ id="svg-logo"
1075
+ x="0"
1076
+ y="3.85"
1077
+ height="7.3"
1078
+ width="35"
1079
+ className="logo"
1080
+ viewBox="0 0 105 43"
1081
+ version="1.1"
1082
+ xmlns="http://www.w3.org/2000/svg"
1083
+ xmlnsXlink="http://www.w3.org/1999/xlink"
1084
+ >
1085
+ <title>Apple Logo</title>
1086
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
1087
+ <g fill="#000">
1088
+ <path
1089
+ d="M19.4028,5.5674 C20.6008,4.0684 21.4138,2.0564 21.1998,0.0004 C19.4458,0.0874 17.3058,1.1574 16.0668,2.6564 C14.9538,3.9414 13.9688,6.0374 14.2258,8.0074 C16.1948,8.1784 18.1618,7.0244 19.4028,5.5674"
1090
+ ></path>
1091
+ <path
1092
+ d="M21.1772,8.3926 C18.3182,8.2226 15.8872,10.0156 14.5212,10.0156 C13.1552,10.0156 11.0642,8.4786 8.8022,8.5196 C5.8592,8.5626 3.1282,10.2276 1.6342,12.8746 C-1.4378,18.1696 0.8232,26.0246 3.8112,30.3376 C5.2622,32.4716 7.0102,34.8206 9.3142,34.7366 C11.4912,34.6506 12.3442,33.3266 14.9902,33.3266 C17.6352,33.3266 18.4042,34.7366 20.7082,34.6936 C23.0972,34.6506 24.5922,32.5586 26.0422,30.4226 C27.7072,27.9906 28.3882,25.6426 28.4312,25.5126 C28.3882,25.4706 23.8232,23.7186 23.7812,18.4676 C23.7382,14.0706 27.3652,11.9786 27.5362,11.8496 C25.4882,8.8196 22.2872,8.4786 21.1772,8.3926"
1093
+ ></path>
1094
+ <path
1095
+ d="M85.5508,43.0381 L85.5508,39.1991 C85.8628,39.2421 86.6158,39.2871 87.0158,39.2871 C89.2138,39.2871 90.4558,38.3551 91.2108,35.9581 L91.6548,34.5371 L83.2428,11.2321 L88.4368,11.2321 L94.2958,30.1421 L94.4068,30.1421 L100.2668,11.2321 L105.3278,11.2321 L96.6048,35.7141 C94.6078,41.3291 92.3208,43.1721 87.4828,43.1721 C87.1048,43.1721 85.8838,43.1271 85.5508,43.0381"
1096
+ ></path>
1097
+ <path
1098
+ d="M42.6499,19.3555 L48.3549,19.3555 C52.6829,19.3555 55.1469,17.0255 55.1469,12.9855 C55.1469,8.9455 52.6829,6.6375 48.3769,6.6375 L42.6499,6.6375 L42.6499,19.3555 Z M49.6869,2.4425 C55.9009,2.4425 60.2289,6.7265 60.2289,12.9625 C60.2289,19.2225 55.8129,23.5285 49.5309,23.5285 L42.6499,23.5285 L42.6499,34.4705 L37.6779,34.4705 L37.6779,2.4425 L49.6869,2.4425 Z"
1099
+ ></path>
1100
+ <path
1101
+ d="M76.5547,25.7705 L76.5547,23.9715 L71.0287,24.3275 C67.9207,24.5275 66.3007,25.6815 66.3007,27.7015 C66.3007,29.6545 67.9887,30.9195 70.6287,30.9195 C74.0027,30.9195 76.5547,28.7665 76.5547,25.7705 M61.4617,27.8345 C61.4617,23.7285 64.5917,21.3755 70.3627,21.0205 L76.5547,20.6425 L76.5547,18.8675 C76.5547,16.2705 74.8457,14.8495 71.8057,14.8495 C69.2967,14.8495 67.4777,16.1375 67.0997,18.1125 L62.6167,18.1125 C62.7497,13.9615 66.6567,10.9435 71.9387,10.9435 C77.6207,10.9435 81.3267,13.9175 81.3267,18.5345 L81.3267,34.4705 L76.7327,34.4705 L76.7327,30.6305 L76.6217,30.6305 C75.3127,33.1395 72.4267,34.7145 69.2967,34.7145 C64.6807,34.7145 61.4617,31.9625 61.4617,27.8345"
1102
+ ></path>
1103
+ </g>
1104
+ </g>
1105
+ </svg>
1106
+ </svg>
1107
+ `, isInline: true }); }
1108
+ }
1109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CoinflowApplePayOverlayComponent, decorators: [{
1110
+ type: Component,
1111
+ args: [{
1112
+ selector: 'coinflow-apple-pay-overlay',
1113
+ standalone: true,
1114
+ imports: [],
1115
+ template: `
1116
+ <svg id="svg-logo" viewBox="0 0 35 15">
1117
+ <svg
1118
+ id="svg-logo"
1119
+ x="0"
1120
+ y="3.85"
1121
+ height="7.3"
1122
+ width="35"
1123
+ className="logo"
1124
+ viewBox="0 0 105 43"
1125
+ version="1.1"
1126
+ xmlns="http://www.w3.org/2000/svg"
1127
+ xmlnsXlink="http://www.w3.org/1999/xlink"
1128
+ >
1129
+ <title>Apple Logo</title>
1130
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
1131
+ <g fill="#000">
1132
+ <path
1133
+ d="M19.4028,5.5674 C20.6008,4.0684 21.4138,2.0564 21.1998,0.0004 C19.4458,0.0874 17.3058,1.1574 16.0668,2.6564 C14.9538,3.9414 13.9688,6.0374 14.2258,8.0074 C16.1948,8.1784 18.1618,7.0244 19.4028,5.5674"
1134
+ ></path>
1135
+ <path
1136
+ d="M21.1772,8.3926 C18.3182,8.2226 15.8872,10.0156 14.5212,10.0156 C13.1552,10.0156 11.0642,8.4786 8.8022,8.5196 C5.8592,8.5626 3.1282,10.2276 1.6342,12.8746 C-1.4378,18.1696 0.8232,26.0246 3.8112,30.3376 C5.2622,32.4716 7.0102,34.8206 9.3142,34.7366 C11.4912,34.6506 12.3442,33.3266 14.9902,33.3266 C17.6352,33.3266 18.4042,34.7366 20.7082,34.6936 C23.0972,34.6506 24.5922,32.5586 26.0422,30.4226 C27.7072,27.9906 28.3882,25.6426 28.4312,25.5126 C28.3882,25.4706 23.8232,23.7186 23.7812,18.4676 C23.7382,14.0706 27.3652,11.9786 27.5362,11.8496 C25.4882,8.8196 22.2872,8.4786 21.1772,8.3926"
1137
+ ></path>
1138
+ <path
1139
+ d="M85.5508,43.0381 L85.5508,39.1991 C85.8628,39.2421 86.6158,39.2871 87.0158,39.2871 C89.2138,39.2871 90.4558,38.3551 91.2108,35.9581 L91.6548,34.5371 L83.2428,11.2321 L88.4368,11.2321 L94.2958,30.1421 L94.4068,30.1421 L100.2668,11.2321 L105.3278,11.2321 L96.6048,35.7141 C94.6078,41.3291 92.3208,43.1721 87.4828,43.1721 C87.1048,43.1721 85.8838,43.1271 85.5508,43.0381"
1140
+ ></path>
1141
+ <path
1142
+ d="M42.6499,19.3555 L48.3549,19.3555 C52.6829,19.3555 55.1469,17.0255 55.1469,12.9855 C55.1469,8.9455 52.6829,6.6375 48.3769,6.6375 L42.6499,6.6375 L42.6499,19.3555 Z M49.6869,2.4425 C55.9009,2.4425 60.2289,6.7265 60.2289,12.9625 C60.2289,19.2225 55.8129,23.5285 49.5309,23.5285 L42.6499,23.5285 L42.6499,34.4705 L37.6779,34.4705 L37.6779,2.4425 L49.6869,2.4425 Z"
1143
+ ></path>
1144
+ <path
1145
+ d="M76.5547,25.7705 L76.5547,23.9715 L71.0287,24.3275 C67.9207,24.5275 66.3007,25.6815 66.3007,27.7015 C66.3007,29.6545 67.9887,30.9195 70.6287,30.9195 C74.0027,30.9195 76.5547,28.7665 76.5547,25.7705 M61.4617,27.8345 C61.4617,23.7285 64.5917,21.3755 70.3627,21.0205 L76.5547,20.6425 L76.5547,18.8675 C76.5547,16.2705 74.8457,14.8495 71.8057,14.8495 C69.2967,14.8495 67.4777,16.1375 67.0997,18.1125 L62.6167,18.1125 C62.7497,13.9615 66.6567,10.9435 71.9387,10.9435 C77.6207,10.9435 81.3267,13.9175 81.3267,18.5345 L81.3267,34.4705 L76.7327,34.4705 L76.7327,30.6305 L76.6217,30.6305 C75.3127,33.1395 72.4267,34.7145 69.2967,34.7145 C64.6807,34.7145 61.4617,31.9625 61.4617,27.8345"
1146
+ ></path>
1147
+ </g>
1148
+ </g>
1149
+ </svg>
1150
+ </svg>
1151
+ `,
1152
+ }]
1153
+ }], propDecorators: { color: [{
1154
+ type: Input
1155
+ }] } });
1156
+
1157
+ class CoinflowApplePayButtonComponent {
1158
+ fill() {
1159
+ return this.purchaseProps.color === 'white' ? '#000' : '#FFF';
1160
+ }
1161
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CoinflowApplePayButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1162
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: CoinflowApplePayButtonComponent, isStandalone: true, selector: "lib-coinflow-apple-pay-button", inputs: { purchaseProps: "purchaseProps" }, ngImport: i0, template: ` <lib-coinflow-mobile-wallet-button
1163
+ ng-if="iframeProps && messageHandlers"
1164
+ [purchaseProps]="purchaseProps"
1165
+ route="apple-pay"
1166
+ >
1167
+ <svg id="svg-logo" viewBox="0 0 35 15">
1168
+ <svg
1169
+ id="svg-logo"
1170
+ x="0"
1171
+ y="3.85"
1172
+ height="7.3"
1173
+ width="35"
1174
+ className="logo"
1175
+ viewBox="0 0 105 43"
1176
+ version="1.1"
1177
+ xmlns="http://www.w3.org/2000/svg"
1178
+ xmlnsXlink="http://www.w3.org/1999/xlink"
1179
+ >
1180
+ <title>Apple Logo</title>
1181
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
1182
+ <g [attr.fill]="fill()">
1183
+ <path
1184
+ d="M19.4028,5.5674 C20.6008,4.0684 21.4138,2.0564 21.1998,0.0004 C19.4458,0.0874 17.3058,1.1574 16.0668,2.6564 C14.9538,3.9414 13.9688,6.0374 14.2258,8.0074 C16.1948,8.1784 18.1618,7.0244 19.4028,5.5674"
1185
+ ></path>
1186
+ <path
1187
+ d="M21.1772,8.3926 C18.3182,8.2226 15.8872,10.0156 14.5212,10.0156 C13.1552,10.0156 11.0642,8.4786 8.8022,8.5196 C5.8592,8.5626 3.1282,10.2276 1.6342,12.8746 C-1.4378,18.1696 0.8232,26.0246 3.8112,30.3376 C5.2622,32.4716 7.0102,34.8206 9.3142,34.7366 C11.4912,34.6506 12.3442,33.3266 14.9902,33.3266 C17.6352,33.3266 18.4042,34.7366 20.7082,34.6936 C23.0972,34.6506 24.5922,32.5586 26.0422,30.4226 C27.7072,27.9906 28.3882,25.6426 28.4312,25.5126 C28.3882,25.4706 23.8232,23.7186 23.7812,18.4676 C23.7382,14.0706 27.3652,11.9786 27.5362,11.8496 C25.4882,8.8196 22.2872,8.4786 21.1772,8.3926"
1188
+ ></path>
1189
+ <path
1190
+ d="M85.5508,43.0381 L85.5508,39.1991 C85.8628,39.2421 86.6158,39.2871 87.0158,39.2871 C89.2138,39.2871 90.4558,38.3551 91.2108,35.9581 L91.6548,34.5371 L83.2428,11.2321 L88.4368,11.2321 L94.2958,30.1421 L94.4068,30.1421 L100.2668,11.2321 L105.3278,11.2321 L96.6048,35.7141 C94.6078,41.3291 92.3208,43.1721 87.4828,43.1721 C87.1048,43.1721 85.8838,43.1271 85.5508,43.0381"
1191
+ ></path>
1192
+ <path
1193
+ d="M42.6499,19.3555 L48.3549,19.3555 C52.6829,19.3555 55.1469,17.0255 55.1469,12.9855 C55.1469,8.9455 52.6829,6.6375 48.3769,6.6375 L42.6499,6.6375 L42.6499,19.3555 Z M49.6869,2.4425 C55.9009,2.4425 60.2289,6.7265 60.2289,12.9625 C60.2289,19.2225 55.8129,23.5285 49.5309,23.5285 L42.6499,23.5285 L42.6499,34.4705 L37.6779,34.4705 L37.6779,2.4425 L49.6869,2.4425 Z"
1194
+ ></path>
1195
+ <path
1196
+ d="M76.5547,25.7705 L76.5547,23.9715 L71.0287,24.3275 C67.9207,24.5275 66.3007,25.6815 66.3007,27.7015 C66.3007,29.6545 67.9887,30.9195 70.6287,30.9195 C74.0027,30.9195 76.5547,28.7665 76.5547,25.7705 M61.4617,27.8345 C61.4617,23.7285 64.5917,21.3755 70.3627,21.0205 L76.5547,20.6425 L76.5547,18.8675 C76.5547,16.2705 74.8457,14.8495 71.8057,14.8495 C69.2967,14.8495 67.4777,16.1375 67.0997,18.1125 L62.6167,18.1125 C62.7497,13.9615 66.6567,10.9435 71.9387,10.9435 C77.6207,10.9435 81.3267,13.9175 81.3267,18.5345 L81.3267,34.4705 L76.7327,34.4705 L76.7327,30.6305 L76.6217,30.6305 C75.3127,33.1395 72.4267,34.7145 69.2967,34.7145 C64.6807,34.7145 61.4617,31.9625 61.4617,27.8345"
1197
+ ></path>
1198
+ </g>
1199
+ </g>
1200
+ </svg>
1201
+ </svg>
1202
+ </lib-coinflow-mobile-wallet-button>`, isInline: true, dependencies: [{ kind: "component", type: CoinflowMobileWalletButtonComponent, selector: "lib-coinflow-mobile-wallet-button", inputs: ["purchaseProps", "route", "overlayDisplayOverride", "alignItems"] }] }); }
1203
+ }
1204
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CoinflowApplePayButtonComponent, decorators: [{
1205
+ type: Component,
1206
+ args: [{
1207
+ selector: 'lib-coinflow-apple-pay-button',
1208
+ standalone: true,
1209
+ imports: [
1210
+ CoinflowMobileWalletButtonComponent,
1211
+ CoinflowApplePayOverlayComponent,
1212
+ ],
1213
+ template: ` <lib-coinflow-mobile-wallet-button
1214
+ ng-if="iframeProps && messageHandlers"
1215
+ [purchaseProps]="purchaseProps"
1216
+ route="apple-pay"
1217
+ >
1218
+ <svg id="svg-logo" viewBox="0 0 35 15">
1219
+ <svg
1220
+ id="svg-logo"
1221
+ x="0"
1222
+ y="3.85"
1223
+ height="7.3"
1224
+ width="35"
1225
+ className="logo"
1226
+ viewBox="0 0 105 43"
1227
+ version="1.1"
1228
+ xmlns="http://www.w3.org/2000/svg"
1229
+ xmlnsXlink="http://www.w3.org/1999/xlink"
1230
+ >
1231
+ <title>Apple Logo</title>
1232
+ <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
1233
+ <g [attr.fill]="fill()">
1234
+ <path
1235
+ d="M19.4028,5.5674 C20.6008,4.0684 21.4138,2.0564 21.1998,0.0004 C19.4458,0.0874 17.3058,1.1574 16.0668,2.6564 C14.9538,3.9414 13.9688,6.0374 14.2258,8.0074 C16.1948,8.1784 18.1618,7.0244 19.4028,5.5674"
1236
+ ></path>
1237
+ <path
1238
+ d="M21.1772,8.3926 C18.3182,8.2226 15.8872,10.0156 14.5212,10.0156 C13.1552,10.0156 11.0642,8.4786 8.8022,8.5196 C5.8592,8.5626 3.1282,10.2276 1.6342,12.8746 C-1.4378,18.1696 0.8232,26.0246 3.8112,30.3376 C5.2622,32.4716 7.0102,34.8206 9.3142,34.7366 C11.4912,34.6506 12.3442,33.3266 14.9902,33.3266 C17.6352,33.3266 18.4042,34.7366 20.7082,34.6936 C23.0972,34.6506 24.5922,32.5586 26.0422,30.4226 C27.7072,27.9906 28.3882,25.6426 28.4312,25.5126 C28.3882,25.4706 23.8232,23.7186 23.7812,18.4676 C23.7382,14.0706 27.3652,11.9786 27.5362,11.8496 C25.4882,8.8196 22.2872,8.4786 21.1772,8.3926"
1239
+ ></path>
1240
+ <path
1241
+ d="M85.5508,43.0381 L85.5508,39.1991 C85.8628,39.2421 86.6158,39.2871 87.0158,39.2871 C89.2138,39.2871 90.4558,38.3551 91.2108,35.9581 L91.6548,34.5371 L83.2428,11.2321 L88.4368,11.2321 L94.2958,30.1421 L94.4068,30.1421 L100.2668,11.2321 L105.3278,11.2321 L96.6048,35.7141 C94.6078,41.3291 92.3208,43.1721 87.4828,43.1721 C87.1048,43.1721 85.8838,43.1271 85.5508,43.0381"
1242
+ ></path>
1243
+ <path
1244
+ d="M42.6499,19.3555 L48.3549,19.3555 C52.6829,19.3555 55.1469,17.0255 55.1469,12.9855 C55.1469,8.9455 52.6829,6.6375 48.3769,6.6375 L42.6499,6.6375 L42.6499,19.3555 Z M49.6869,2.4425 C55.9009,2.4425 60.2289,6.7265 60.2289,12.9625 C60.2289,19.2225 55.8129,23.5285 49.5309,23.5285 L42.6499,23.5285 L42.6499,34.4705 L37.6779,34.4705 L37.6779,2.4425 L49.6869,2.4425 Z"
1245
+ ></path>
1246
+ <path
1247
+ d="M76.5547,25.7705 L76.5547,23.9715 L71.0287,24.3275 C67.9207,24.5275 66.3007,25.6815 66.3007,27.7015 C66.3007,29.6545 67.9887,30.9195 70.6287,30.9195 C74.0027,30.9195 76.5547,28.7665 76.5547,25.7705 M61.4617,27.8345 C61.4617,23.7285 64.5917,21.3755 70.3627,21.0205 L76.5547,20.6425 L76.5547,18.8675 C76.5547,16.2705 74.8457,14.8495 71.8057,14.8495 C69.2967,14.8495 67.4777,16.1375 67.0997,18.1125 L62.6167,18.1125 C62.7497,13.9615 66.6567,10.9435 71.9387,10.9435 C77.6207,10.9435 81.3267,13.9175 81.3267,18.5345 L81.3267,34.4705 L76.7327,34.4705 L76.7327,30.6305 L76.6217,30.6305 C75.3127,33.1395 72.4267,34.7145 69.2967,34.7145 C64.6807,34.7145 61.4617,31.9625 61.4617,27.8345"
1248
+ ></path>
1249
+ </g>
1250
+ </g>
1251
+ </svg>
1252
+ </svg>
1253
+ </lib-coinflow-mobile-wallet-button>`,
1254
+ }]
1255
+ }], propDecorators: { purchaseProps: [{
1256
+ type: Input
1257
+ }] } });
1258
+
1259
+ class CoinflowGooglePayOverlayComponent {
1260
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CoinflowGooglePayOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1261
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.10", type: CoinflowGooglePayOverlayComponent, isStandalone: true, selector: "coinflow-google-pay-overlay", inputs: { color: "color" }, ngImport: i0, template: `
1262
+ @if (color === 'white') {
1263
+ <svg xmlns="http://www.w3.org/2000/svg" width="41" height="17">
1264
+ <g fill="none" fill-rule="evenodd">
1265
+ <path
1266
+ d="M19.526 2.635v4.083h2.518c.6 0 1.096-.202 1.488-.605.403-.402.605-.882.605-1.437 0-.544-.202-1.018-.605-1.422-.392-.413-.888-.62-1.488-.62h-2.518zm0 5.52v4.736h-1.504V1.198h3.99c1.013 0 1.873.337 2.582 1.012.72.675 1.08 1.497 1.08 2.466 0 .991-.36 1.819-1.08 2.482-.697.665-1.559.996-2.583.996h-2.485v.001zm7.668 2.287c0 .392.166.718.499.98.332.26.722.391 1.168.391.633 0 1.196-.234 1.692-.701.497-.469.744-1.019.744-1.65-.469-.37-1.123-.555-1.962-.555-.61 0-1.12.148-1.528.442-.409.294-.613.657-.613 1.093m1.946-5.815c1.112 0 1.989.297 2.633.89.642.594.964 1.408.964 2.442v4.932h-1.439v-1.11h-.065c-.622.914-1.45 1.372-2.486 1.372-.882 0-1.621-.262-2.215-.784-.594-.523-.891-1.176-.891-1.96 0-.828.313-1.486.94-1.976s1.463-.735 2.51-.735c.892 0 1.629.163 2.206.49v-.344c0-.522-.207-.966-.621-1.33a2.132 2.132 0 0 0-1.455-.547c-.84 0-1.504.353-1.995 1.062l-1.324-.834c.73-1.045 1.81-1.568 3.238-1.568m11.853.262l-5.02 11.53H34.42l1.864-4.034-3.302-7.496h1.635l2.387 5.749h.032l2.322-5.75z"
1267
+ fill="#5F6368"
1268
+ />
1269
+ <path
1270
+ d="M13.448 7.134c0-.473-.04-.93-.116-1.366H6.988v2.588h3.634a3.11 3.11 0 0 1-1.344 2.042v1.68h2.169c1.27-1.17 2.001-2.9 2.001-4.944"
1271
+ fill="#4285F4"
1272
+ />
1273
+ <path
1274
+ d="M6.988 13.7c1.816 0 3.344-.595 4.459-1.621l-2.169-1.681c-.603.406-1.38.643-2.29.643-1.754 0-3.244-1.182-3.776-2.774H.978v1.731a6.728 6.728 0 0 0 6.01 3.703"
1275
+ fill="#34A853"
1276
+ />
1277
+ <path
1278
+ d="M3.212 8.267a4.034 4.034 0 0 1 0-2.572V3.964H.978A6.678 6.678 0 0 0 .261 6.98c0 1.085.26 2.11.717 3.017l2.234-1.731z"
1279
+ fill="#FABB05"
1280
+ />
1281
+ <path
1282
+ d="M6.988 2.921c.992 0 1.88.34 2.58 1.008v.001l1.92-1.918C10.324.928 8.804.262 6.989.262a6.728 6.728 0 0 0-6.01 3.702l2.234 1.731c.532-1.592 2.022-2.774 3.776-2.774"
1283
+ fill="#E94235"
1284
+ />
1285
+ <path d="M0 0h41.285v18H0z" />
1286
+ </g>
1287
+ </svg>
1288
+ } @else {
1289
+ <svg xmlns="http://www.w3.org/2000/svg" width="41" height="17">
1290
+ <g fill="none" fill-rule="evenodd">
1291
+ <path
1292
+ d="M19.526 2.635v4.083h2.518c.6 0 1.096-.202 1.488-.605.403-.402.605-.882.605-1.437 0-.544-.202-1.018-.605-1.422-.392-.413-.888-.62-1.488-.62h-2.518zm0 5.52v4.736h-1.504V1.198h3.99c1.013 0 1.873.337 2.582 1.012.72.675 1.08 1.497 1.08 2.466 0 .991-.36 1.819-1.08 2.482-.697.665-1.559.996-2.583.996h-2.485v.001zm7.668 2.287c0 .392.166.718.499.98.332.26.722.391 1.168.391.633 0 1.196-.234 1.692-.701.497-.469.744-1.019.744-1.65-.469-.37-1.123-.555-1.962-.555-.61 0-1.12.148-1.528.442-.409.294-.613.657-.613 1.093m1.946-5.815c1.112 0 1.989.297 2.633.89.642.594.964 1.408.964 2.442v4.932h-1.439v-1.11h-.065c-.622.914-1.45 1.372-2.486 1.372-.882 0-1.621-.262-2.215-.784-.594-.523-.891-1.176-.891-1.96 0-.828.313-1.486.94-1.976s1.463-.735 2.51-.735c.892 0 1.629.163 2.206.49v-.344c0-.522-.207-.966-.621-1.33a2.132 2.132 0 0 0-1.455-.547c-.84 0-1.504.353-1.995 1.062l-1.324-.834c.73-1.045 1.81-1.568 3.238-1.568m11.853.262l-5.02 11.53H34.42l1.864-4.034-3.302-7.496h1.635l2.387 5.749h.032l2.322-5.75z"
1293
+ fill="#FFF"
1294
+ />
1295
+ <path
1296
+ d="M13.448 7.134c0-.473-.04-.93-.116-1.366H6.988v2.588h3.634a3.11 3.11 0 0 1-1.344 2.042v1.68h2.169c1.27-1.17 2.001-2.9 2.001-4.944"
1297
+ fill="#4285F4"
1298
+ />
1299
+ <path
1300
+ d="M6.988 13.7c1.816 0 3.344-.595 4.459-1.621l-2.169-1.681c-.603.406-1.38.643-2.29.643-1.754 0-3.244-1.182-3.776-2.774H.978v1.731a6.728 6.728 0 0 0 6.01 3.703"
1301
+ fill="#34A853"
1302
+ />
1303
+ <path
1304
+ d="M3.212 8.267a4.034 4.034 0 0 1 0-2.572V3.964H.978A6.678 6.678 0 0 0 .261 6.98c0 1.085.26 2.11.717 3.017l2.234-1.731z"
1305
+ fill="#FABB05"
1306
+ />
1307
+ <path
1308
+ d="M6.988 2.921c.992 0 1.88.34 2.58 1.008v.001l1.92-1.918C10.324.928 8.804.262 6.989.262a6.728 6.728 0 0 0-6.01 3.702l2.234 1.731c.532-1.592 2.022-2.774 3.776-2.774"
1309
+ fill="#E94235"
1310
+ />
1311
+ </g>
1312
+ </svg>
1313
+ }
1314
+ `, isInline: true }); }
1315
+ }
1316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CoinflowGooglePayOverlayComponent, decorators: [{
1317
+ type: Component,
1318
+ args: [{
1319
+ selector: 'coinflow-google-pay-overlay',
1320
+ standalone: true,
1321
+ imports: [],
1322
+ template: `
1323
+ @if (color === 'white') {
1324
+ <svg xmlns="http://www.w3.org/2000/svg" width="41" height="17">
1325
+ <g fill="none" fill-rule="evenodd">
1326
+ <path
1327
+ d="M19.526 2.635v4.083h2.518c.6 0 1.096-.202 1.488-.605.403-.402.605-.882.605-1.437 0-.544-.202-1.018-.605-1.422-.392-.413-.888-.62-1.488-.62h-2.518zm0 5.52v4.736h-1.504V1.198h3.99c1.013 0 1.873.337 2.582 1.012.72.675 1.08 1.497 1.08 2.466 0 .991-.36 1.819-1.08 2.482-.697.665-1.559.996-2.583.996h-2.485v.001zm7.668 2.287c0 .392.166.718.499.98.332.26.722.391 1.168.391.633 0 1.196-.234 1.692-.701.497-.469.744-1.019.744-1.65-.469-.37-1.123-.555-1.962-.555-.61 0-1.12.148-1.528.442-.409.294-.613.657-.613 1.093m1.946-5.815c1.112 0 1.989.297 2.633.89.642.594.964 1.408.964 2.442v4.932h-1.439v-1.11h-.065c-.622.914-1.45 1.372-2.486 1.372-.882 0-1.621-.262-2.215-.784-.594-.523-.891-1.176-.891-1.96 0-.828.313-1.486.94-1.976s1.463-.735 2.51-.735c.892 0 1.629.163 2.206.49v-.344c0-.522-.207-.966-.621-1.33a2.132 2.132 0 0 0-1.455-.547c-.84 0-1.504.353-1.995 1.062l-1.324-.834c.73-1.045 1.81-1.568 3.238-1.568m11.853.262l-5.02 11.53H34.42l1.864-4.034-3.302-7.496h1.635l2.387 5.749h.032l2.322-5.75z"
1328
+ fill="#5F6368"
1329
+ />
1330
+ <path
1331
+ d="M13.448 7.134c0-.473-.04-.93-.116-1.366H6.988v2.588h3.634a3.11 3.11 0 0 1-1.344 2.042v1.68h2.169c1.27-1.17 2.001-2.9 2.001-4.944"
1332
+ fill="#4285F4"
1333
+ />
1334
+ <path
1335
+ d="M6.988 13.7c1.816 0 3.344-.595 4.459-1.621l-2.169-1.681c-.603.406-1.38.643-2.29.643-1.754 0-3.244-1.182-3.776-2.774H.978v1.731a6.728 6.728 0 0 0 6.01 3.703"
1336
+ fill="#34A853"
1337
+ />
1338
+ <path
1339
+ d="M3.212 8.267a4.034 4.034 0 0 1 0-2.572V3.964H.978A6.678 6.678 0 0 0 .261 6.98c0 1.085.26 2.11.717 3.017l2.234-1.731z"
1340
+ fill="#FABB05"
1341
+ />
1342
+ <path
1343
+ d="M6.988 2.921c.992 0 1.88.34 2.58 1.008v.001l1.92-1.918C10.324.928 8.804.262 6.989.262a6.728 6.728 0 0 0-6.01 3.702l2.234 1.731c.532-1.592 2.022-2.774 3.776-2.774"
1344
+ fill="#E94235"
1345
+ />
1346
+ <path d="M0 0h41.285v18H0z" />
1347
+ </g>
1348
+ </svg>
1349
+ } @else {
1350
+ <svg xmlns="http://www.w3.org/2000/svg" width="41" height="17">
1351
+ <g fill="none" fill-rule="evenodd">
1352
+ <path
1353
+ d="M19.526 2.635v4.083h2.518c.6 0 1.096-.202 1.488-.605.403-.402.605-.882.605-1.437 0-.544-.202-1.018-.605-1.422-.392-.413-.888-.62-1.488-.62h-2.518zm0 5.52v4.736h-1.504V1.198h3.99c1.013 0 1.873.337 2.582 1.012.72.675 1.08 1.497 1.08 2.466 0 .991-.36 1.819-1.08 2.482-.697.665-1.559.996-2.583.996h-2.485v.001zm7.668 2.287c0 .392.166.718.499.98.332.26.722.391 1.168.391.633 0 1.196-.234 1.692-.701.497-.469.744-1.019.744-1.65-.469-.37-1.123-.555-1.962-.555-.61 0-1.12.148-1.528.442-.409.294-.613.657-.613 1.093m1.946-5.815c1.112 0 1.989.297 2.633.89.642.594.964 1.408.964 2.442v4.932h-1.439v-1.11h-.065c-.622.914-1.45 1.372-2.486 1.372-.882 0-1.621-.262-2.215-.784-.594-.523-.891-1.176-.891-1.96 0-.828.313-1.486.94-1.976s1.463-.735 2.51-.735c.892 0 1.629.163 2.206.49v-.344c0-.522-.207-.966-.621-1.33a2.132 2.132 0 0 0-1.455-.547c-.84 0-1.504.353-1.995 1.062l-1.324-.834c.73-1.045 1.81-1.568 3.238-1.568m11.853.262l-5.02 11.53H34.42l1.864-4.034-3.302-7.496h1.635l2.387 5.749h.032l2.322-5.75z"
1354
+ fill="#FFF"
1355
+ />
1356
+ <path
1357
+ d="M13.448 7.134c0-.473-.04-.93-.116-1.366H6.988v2.588h3.634a3.11 3.11 0 0 1-1.344 2.042v1.68h2.169c1.27-1.17 2.001-2.9 2.001-4.944"
1358
+ fill="#4285F4"
1359
+ />
1360
+ <path
1361
+ d="M6.988 13.7c1.816 0 3.344-.595 4.459-1.621l-2.169-1.681c-.603.406-1.38.643-2.29.643-1.754 0-3.244-1.182-3.776-2.774H.978v1.731a6.728 6.728 0 0 0 6.01 3.703"
1362
+ fill="#34A853"
1363
+ />
1364
+ <path
1365
+ d="M3.212 8.267a4.034 4.034 0 0 1 0-2.572V3.964H.978A6.678 6.678 0 0 0 .261 6.98c0 1.085.26 2.11.717 3.017l2.234-1.731z"
1366
+ fill="#FABB05"
1367
+ />
1368
+ <path
1369
+ d="M6.988 2.921c.992 0 1.88.34 2.58 1.008v.001l1.92-1.918C10.324.928 8.804.262 6.989.262a6.728 6.728 0 0 0-6.01 3.702l2.234 1.731c.532-1.592 2.022-2.774 3.776-2.774"
1370
+ fill="#E94235"
1371
+ />
1372
+ </g>
1373
+ </svg>
1374
+ }
1375
+ `,
1376
+ }]
1377
+ }], propDecorators: { color: [{
1378
+ type: Input
1379
+ }] } });
1380
+
1381
+ class CoinflowGooglePayButtonComponent {
1382
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CoinflowGooglePayButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1383
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: CoinflowGooglePayButtonComponent, isStandalone: true, selector: "lib-coinflow-google-pay-button", inputs: { purchaseProps: "purchaseProps" }, ngImport: i0, template: `<lib-coinflow-mobile-wallet-button
1384
+ ng-if="iframeProps && messageHandlers"
1385
+ [purchaseProps]="purchaseProps"
1386
+ route="google-pay"
1387
+ alignItems="center"
1388
+ overlayDisplayOverride="flex"
1389
+ >
1390
+ <coinflow-google-pay-overlay
1391
+ [color]="purchaseProps.color"
1392
+ ></coinflow-google-pay-overlay>
1393
+ </lib-coinflow-mobile-wallet-button> `, isInline: true, dependencies: [{ kind: "component", type: CoinflowMobileWalletButtonComponent, selector: "lib-coinflow-mobile-wallet-button", inputs: ["purchaseProps", "route", "overlayDisplayOverride", "alignItems"] }, { kind: "component", type: CoinflowGooglePayOverlayComponent, selector: "coinflow-google-pay-overlay", inputs: ["color"] }] }); }
1394
+ }
1395
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CoinflowGooglePayButtonComponent, decorators: [{
1396
+ type: Component,
1397
+ args: [{
1398
+ selector: 'lib-coinflow-google-pay-button',
1399
+ standalone: true,
1400
+ imports: [
1401
+ CoinflowMobileWalletButtonComponent,
1402
+ CoinflowGooglePayOverlayComponent,
1403
+ ],
1404
+ template: `<lib-coinflow-mobile-wallet-button
1405
+ ng-if="iframeProps && messageHandlers"
1406
+ [purchaseProps]="purchaseProps"
1407
+ route="google-pay"
1408
+ alignItems="center"
1409
+ overlayDisplayOverride="flex"
1410
+ >
1411
+ <coinflow-google-pay-overlay
1412
+ [color]="purchaseProps.color"
1413
+ ></coinflow-google-pay-overlay>
1414
+ </lib-coinflow-mobile-wallet-button> `,
1415
+ }]
1416
+ }], propDecorators: { purchaseProps: [{
1417
+ type: Input
1418
+ }] } });
1419
+
975
1420
  /*
976
1421
  * Public API Surface of coinflowlabs
977
1422
  */
@@ -980,5 +1425,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
980
1425
  * Generated bundle index. Do not edit.
981
1426
  */
982
1427
 
983
- export { CoinflowCardNumberInput, CoinflowCardNumberOnlyInput, CoinflowCvvInputComponent, CoinflowCvvOnlyInputComponent, CoinflowIFrameComponent, CoinflowPurchaseComponent, CoinflowPurchaseHistoryComponent, CoinflowPurchaseProtectionComponent, CoinflowWithdrawComponent, CoinflowWithdrawHistoryComponent };
1428
+ export { CoinflowApplePayButtonComponent, CoinflowCardNumberInput, CoinflowCardNumberOnlyInput, CoinflowCvvInputComponent, CoinflowCvvOnlyInputComponent, CoinflowGooglePayButtonComponent, CoinflowIFrameComponent, CoinflowPurchaseComponent, CoinflowPurchaseHistoryComponent, CoinflowPurchaseProtectionComponent, CoinflowWithdrawComponent, CoinflowWithdrawHistoryComponent };
984
1429
  //# sourceMappingURL=coinflowlabs-angular.mjs.map