@coinflowlabs/angular 1.0.1 → 1.0.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.
- package/README.md +14 -0
- package/fesm2022/coinflowlabs-angular.mjs +82 -49
- package/fesm2022/coinflowlabs-angular.mjs.map +1 -1
- package/lib/common/CoinflowTypes.d.ts +34 -5
- package/lib/common/CoinflowUtils.d.ts +7 -2
- package/package.json +1 -3
- package/esm2022/coinflowlabs-angular.mjs +0 -5
- package/esm2022/lib/card-form/CardFormService.mjs +0 -64
- package/esm2022/lib/card-form/coinflow-card-number-input.component.mjs +0 -53
- package/esm2022/lib/card-form/coinflow-card-number-only-input.component.mjs +0 -53
- package/esm2022/lib/card-form/coinflow-cvv-input.component.mjs +0 -20
- package/esm2022/lib/card-form/coinflow-cvv-only-input.component.mjs +0 -70
- package/esm2022/lib/coinflow-iframe.component.mjs +0 -73
- package/esm2022/lib/coinflow-purchase-history.component.mjs +0 -16
- package/esm2022/lib/coinflow-purchase-protection.component.mjs +0 -16
- package/esm2022/lib/coinflow-purchase.component.mjs +0 -32
- package/esm2022/lib/coinflow-withdraw-history.component.mjs +0 -16
- package/esm2022/lib/coinflow-withdraw.component.mjs +0 -32
- package/esm2022/lib/common/CoinflowLibMessageHandlers.mjs +0 -207
- package/esm2022/lib/common/CoinflowTypes.mjs +0 -26
- package/esm2022/lib/common/CoinflowUtils.mjs +0 -219
- package/esm2022/lib/common/SolanaPeerDeps.mjs +0 -17
- package/esm2022/lib/common/Subtotal.mjs +0 -8
- package/esm2022/lib/common/card-form/TokenEx.mjs +0 -11
- package/esm2022/lib/common/card-form/tokenexHelpers.mjs +0 -157
- package/esm2022/lib/common/index.mjs +0 -7
- package/esm2022/lib/mobile-wallet/apple-pay-overlay.component.mjs +0 -93
- package/esm2022/lib/mobile-wallet/coinflow-apple-pay-button.component.mjs +0 -106
- package/esm2022/lib/mobile-wallet/coinflow-google-pay-button.component.mjs +0 -43
- package/esm2022/lib/mobile-wallet/coinflow-mobile-wallet-button.component.mjs +0 -96
- package/esm2022/lib/mobile-wallet/google-pay-overlay.component.mjs +0 -124
- package/esm2022/public-api.mjs +0 -16
package/README.md
CHANGED
|
@@ -4,6 +4,20 @@ This library was generated with [Angular CLI](https://github.com/angular/angular
|
|
|
4
4
|
|
|
5
5
|
# Changelog
|
|
6
6
|
|
|
7
|
+
## 1.0.2
|
|
8
|
+
|
|
9
|
+
- Added `allowedPaymentMethods` to `CoinflowPurchase`
|
|
10
|
+
- Options are:
|
|
11
|
+
- 'card' = Credit and debit cards
|
|
12
|
+
- 'ach' = ACH bank account transfers
|
|
13
|
+
- 'fasterPayments' = UK Faster Payments (GBP Bank Transfers)
|
|
14
|
+
- 'sepa' = SEPA bank account transfers (EUR Bank Transfers)
|
|
15
|
+
- 'pix' = Pix bank account transfers (BRL Bank Transfers)
|
|
16
|
+
- 'usdc' = USDC
|
|
17
|
+
- 'googlePay' = Google Pay
|
|
18
|
+
- 'applePay' = Apple Pay
|
|
19
|
+
- 'credits' = Credits
|
|
20
|
+
|
|
7
21
|
## 1.0.1
|
|
8
22
|
|
|
9
23
|
- Allow copy to clipboard for Coinflow Iframe
|
|
@@ -23,6 +23,18 @@ var ThreeDsChallengePreference;
|
|
|
23
23
|
ThreeDsChallengePreference["Frictionless"] = "Frictionless";
|
|
24
24
|
ThreeDsChallengePreference["Challenge"] = "Challenge";
|
|
25
25
|
})(ThreeDsChallengePreference || (ThreeDsChallengePreference = {}));
|
|
26
|
+
var PaymentMethods;
|
|
27
|
+
(function (PaymentMethods) {
|
|
28
|
+
PaymentMethods["card"] = "card";
|
|
29
|
+
PaymentMethods["ach"] = "ach";
|
|
30
|
+
PaymentMethods["fasterPayments"] = "fasterPayments";
|
|
31
|
+
PaymentMethods["sepa"] = "sepa";
|
|
32
|
+
PaymentMethods["pix"] = "pix";
|
|
33
|
+
PaymentMethods["usdc"] = "usdc";
|
|
34
|
+
PaymentMethods["googlePay"] = "googlePay";
|
|
35
|
+
PaymentMethods["applePay"] = "applePay";
|
|
36
|
+
PaymentMethods["credits"] = "credits";
|
|
37
|
+
})(PaymentMethods || (PaymentMethods = {}));
|
|
26
38
|
var CardType;
|
|
27
39
|
(function (CardType) {
|
|
28
40
|
CardType["VISA"] = "VISA";
|
|
@@ -86,7 +98,7 @@ class CoinflowUtils {
|
|
|
86
98
|
return 'http://localhost:5000';
|
|
87
99
|
return `https://api-${env}.coinflow.cash`;
|
|
88
100
|
}
|
|
89
|
-
static getCoinflowUrl({ walletPubkey, sessionKey, route, routePrefix, env, subtotal, transaction, blockchain = 'solana', webhookInfo, email, loaderBackground, handleHeightChange, bankAccountLinkRedirect, additionalWallets, nearDeposit, chargebackProtectionData, merchantCss, color, rent, lockDefaultToken, tokens, planCode, disableApplePay, disableGooglePay, customerInfo, settlementType, lockAmount, nativeSolToConvert, theme, usePermit, transactionSigner, authOnly, deviceId, jwtToken, origins, threeDsChallengePreference, supportEmail, destinationAuthKey, }) {
|
|
101
|
+
static getCoinflowUrl({ walletPubkey, sessionKey, route, routePrefix, env, subtotal, transaction, blockchain = 'solana', webhookInfo, email, loaderBackground, handleHeightChange, bankAccountLinkRedirect, additionalWallets, nearDeposit, chargebackProtectionData, merchantCss, color, rent, lockDefaultToken, tokens, planCode, disableApplePay, disableGooglePay, customerInfo, settlementType, lockAmount, nativeSolToConvert, theme, usePermit, transactionSigner, authOnly, deviceId, jwtToken, origins, threeDsChallengePreference, supportEmail, destinationAuthKey, allowedPaymentMethods, }) {
|
|
90
102
|
const prefix = routePrefix
|
|
91
103
|
? `/${routePrefix}/${blockchain}`
|
|
92
104
|
: `/${blockchain}`;
|
|
@@ -187,6 +199,8 @@ class CoinflowUtils {
|
|
|
187
199
|
url.searchParams.append('jwtToken', jwtToken);
|
|
188
200
|
if (origins)
|
|
189
201
|
url.searchParams.append('origins', LZString.compressToEncodedURIComponent(JSON.stringify(origins)));
|
|
202
|
+
if (allowedPaymentMethods)
|
|
203
|
+
url.searchParams.append('allowedPaymentMethods', allowedPaymentMethods.join(','));
|
|
190
204
|
if (threeDsChallengePreference)
|
|
191
205
|
url.searchParams.append('threeDsChallengePreference', threeDsChallengePreference);
|
|
192
206
|
if (destinationAuthKey)
|
|
@@ -268,6 +282,25 @@ class CoinflowUtils {
|
|
|
268
282
|
}
|
|
269
283
|
}
|
|
270
284
|
}
|
|
285
|
+
function getCustomerName(info) {
|
|
286
|
+
if (!info)
|
|
287
|
+
return undefined;
|
|
288
|
+
let firstName, lastName;
|
|
289
|
+
if ('name' in info && info.name) {
|
|
290
|
+
firstName = info.name.split(' ')[0];
|
|
291
|
+
lastName = info.name.split(' ').slice(1).join(' ');
|
|
292
|
+
}
|
|
293
|
+
if ('firstName' in info && info.firstName)
|
|
294
|
+
firstName = info.firstName;
|
|
295
|
+
if ('lastName' in info && info.lastName)
|
|
296
|
+
lastName = info.lastName;
|
|
297
|
+
if (firstName && lastName)
|
|
298
|
+
return {
|
|
299
|
+
firstName,
|
|
300
|
+
lastName,
|
|
301
|
+
};
|
|
302
|
+
return undefined;
|
|
303
|
+
}
|
|
271
304
|
|
|
272
305
|
var IFrameMessageMethods;
|
|
273
306
|
(function (IFrameMessageMethods) {
|
|
@@ -665,8 +698,8 @@ class CoinflowIFrameComponent {
|
|
|
665
698
|
return;
|
|
666
699
|
this.iframe.nativeElement.contentWindow.postMessage(message, '*');
|
|
667
700
|
}
|
|
668
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
669
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
701
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowIFrameComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
702
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.1", 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
|
|
670
703
|
width="100%"
|
|
671
704
|
height="100%"
|
|
672
705
|
#iframe
|
|
@@ -677,7 +710,7 @@ class CoinflowIFrameComponent {
|
|
|
677
710
|
[src]="dynamicUrl"
|
|
678
711
|
></iframe>`, isInline: true }); }
|
|
679
712
|
}
|
|
680
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
713
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowIFrameComponent, decorators: [{
|
|
681
714
|
type: Component,
|
|
682
715
|
args: [{
|
|
683
716
|
selector: 'lib-coinflow-iframe',
|
|
@@ -721,10 +754,10 @@ class CoinflowPurchaseComponent {
|
|
|
721
754
|
transaction: CoinflowUtils.getTransaction(this.purchaseProps),
|
|
722
755
|
};
|
|
723
756
|
}
|
|
724
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
725
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
757
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowPurchaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
758
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.1", 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"] }] }); }
|
|
726
759
|
}
|
|
727
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowPurchaseComponent, decorators: [{
|
|
728
761
|
type: Component,
|
|
729
762
|
args: [{
|
|
730
763
|
selector: 'lib-coinflow-purchase',
|
|
@@ -737,10 +770,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
|
737
770
|
}] } });
|
|
738
771
|
|
|
739
772
|
class CoinflowPurchaseHistoryComponent {
|
|
740
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
741
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
773
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowPurchaseHistoryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
774
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.1", type: CoinflowPurchaseHistoryComponent, isStandalone: true, selector: "lib-coinflow-purchase-history", ngImport: i0, template: ' <p>coinflow-purchase-history works!</p> ', isInline: true }); }
|
|
742
775
|
}
|
|
743
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
776
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowPurchaseHistoryComponent, decorators: [{
|
|
744
777
|
type: Component,
|
|
745
778
|
args: [{
|
|
746
779
|
selector: 'lib-coinflow-purchase-history',
|
|
@@ -751,10 +784,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
|
751
784
|
}] });
|
|
752
785
|
|
|
753
786
|
class CoinflowPurchaseProtectionComponent {
|
|
754
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
755
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
787
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowPurchaseProtectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
788
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.1", type: CoinflowPurchaseProtectionComponent, isStandalone: true, selector: "lib-coinflow-purchase-protection", ngImport: i0, template: ' <p>coinflow-purchase-protection works!</p> ', isInline: true }); }
|
|
756
789
|
}
|
|
757
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
790
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowPurchaseProtectionComponent, decorators: [{
|
|
758
791
|
type: Component,
|
|
759
792
|
args: [{
|
|
760
793
|
selector: 'lib-coinflow-purchase-protection',
|
|
@@ -777,10 +810,10 @@ class CoinflowWithdrawComponent {
|
|
|
777
810
|
transaction: undefined,
|
|
778
811
|
};
|
|
779
812
|
}
|
|
780
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
781
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
813
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowWithdrawComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
814
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.1", 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"] }] }); }
|
|
782
815
|
}
|
|
783
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowWithdrawComponent, decorators: [{
|
|
784
817
|
type: Component,
|
|
785
818
|
args: [{
|
|
786
819
|
selector: 'lib-coinflow-withdraw',
|
|
@@ -793,10 +826,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
|
793
826
|
}] } });
|
|
794
827
|
|
|
795
828
|
class CoinflowWithdrawHistoryComponent {
|
|
796
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
797
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
829
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowWithdrawHistoryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
830
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.1", type: CoinflowWithdrawHistoryComponent, isStandalone: true, selector: "lib-coinflow-withdraw-history", ngImport: i0, template: ' <p>coinflow-withdraw-history works!</p> ', isInline: true }); }
|
|
798
831
|
}
|
|
799
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowWithdrawHistoryComponent, decorators: [{
|
|
800
833
|
type: Component,
|
|
801
834
|
args: [{
|
|
802
835
|
selector: 'lib-coinflow-withdraw-history',
|
|
@@ -857,10 +890,10 @@ class CardFormService {
|
|
|
857
890
|
iframe.load();
|
|
858
891
|
return iframe;
|
|
859
892
|
}
|
|
860
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
861
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
893
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CardFormService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
894
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CardFormService, providedIn: 'root' }); }
|
|
862
895
|
}
|
|
863
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CardFormService, decorators: [{
|
|
864
897
|
type: Injectable,
|
|
865
898
|
args: [{
|
|
866
899
|
providedIn: 'root',
|
|
@@ -901,10 +934,10 @@ class CoinflowCardNumberInput {
|
|
|
901
934
|
tokenize() {
|
|
902
935
|
return this.iframe.tokenize();
|
|
903
936
|
}
|
|
904
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
905
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
937
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowCardNumberInput, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
938
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.1", type: CoinflowCardNumberInput, isStandalone: true, selector: "lib-coinflow-card-number-input", inputs: { args: "args" }, ngImport: i0, template: '<div id="{{TokenExCardNumberIframeId}}"></div>', isInline: true }); }
|
|
906
939
|
}
|
|
907
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
940
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowCardNumberInput, decorators: [{
|
|
908
941
|
type: Component,
|
|
909
942
|
args: [{
|
|
910
943
|
selector: 'lib-coinflow-card-number-input',
|
|
@@ -950,10 +983,10 @@ class CoinflowCardNumberOnlyInput {
|
|
|
950
983
|
tokenize() {
|
|
951
984
|
return this.iframe.tokenize();
|
|
952
985
|
}
|
|
953
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
954
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
986
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowCardNumberOnlyInput, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
987
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.1", type: CoinflowCardNumberOnlyInput, isStandalone: true, selector: "lib-coinflow-card-number-only-input", inputs: { args: "args" }, ngImport: i0, template: '<div id="{{TokenExCardNumberIframeId}}"></div>', isInline: true }); }
|
|
955
988
|
}
|
|
956
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowCardNumberOnlyInput, decorators: [{
|
|
957
990
|
type: Component,
|
|
958
991
|
args: [{
|
|
959
992
|
selector: 'lib-coinflow-card-number-only-input',
|
|
@@ -969,10 +1002,10 @@ class CoinflowCvvInputComponent {
|
|
|
969
1002
|
constructor() {
|
|
970
1003
|
this.TokenExCvvContainerID = TokenExCvvContainerID;
|
|
971
1004
|
}
|
|
972
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
973
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1005
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowCvvInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1006
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.1", type: CoinflowCvvInputComponent, isStandalone: true, selector: "lib-coinflow-cvv-input", ngImport: i0, template: '<div id="{{TokenExCvvContainerID}}" ></div>', isInline: true }); }
|
|
974
1007
|
}
|
|
975
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1008
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowCvvInputComponent, decorators: [{
|
|
976
1009
|
type: Component,
|
|
977
1010
|
args: [{
|
|
978
1011
|
selector: 'lib-coinflow-cvv-input',
|
|
@@ -1033,10 +1066,10 @@ class CoinflowCvvOnlyInputComponent {
|
|
|
1033
1066
|
tokenize() {
|
|
1034
1067
|
return this.iframe.tokenize();
|
|
1035
1068
|
}
|
|
1036
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1037
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1069
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowCvvOnlyInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1070
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.1", type: CoinflowCvvOnlyInputComponent, isStandalone: true, selector: "lib-coinflow-cvv-only-input", inputs: { args: "args" }, usesOnChanges: true, ngImport: i0, template: '<div id="{{TokenExCvvContainerID}}"></div>', isInline: true }); }
|
|
1038
1071
|
}
|
|
1039
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowCvvOnlyInputComponent, decorators: [{
|
|
1040
1073
|
type: Component,
|
|
1041
1074
|
args: [{
|
|
1042
1075
|
selector: 'lib-coinflow-cvv-only-input',
|
|
@@ -1083,8 +1116,8 @@ class CoinflowMobileWalletButtonComponent {
|
|
|
1083
1116
|
transaction: CoinflowUtils.getTransaction(this.purchaseProps),
|
|
1084
1117
|
};
|
|
1085
1118
|
}
|
|
1086
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1087
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1119
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowMobileWalletButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1120
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.1", 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%;">
|
|
1088
1121
|
<div
|
|
1089
1122
|
[style.background-color]="purchaseProps.color"
|
|
1090
1123
|
[style.display]="overlayDisplayOverride ?? display"
|
|
@@ -1104,7 +1137,7 @@ class CoinflowMobileWalletButtonComponent {
|
|
|
1104
1137
|
</div>
|
|
1105
1138
|
</div>`, isInline: true, dependencies: [{ kind: "component", type: CoinflowIFrameComponent, selector: "lib-coinflow-iframe", inputs: ["iframeProps", "messageHandlers"], outputs: ["messageEvent"] }] }); }
|
|
1106
1139
|
}
|
|
1107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowMobileWalletButtonComponent, decorators: [{
|
|
1108
1141
|
type: Component,
|
|
1109
1142
|
args: [{
|
|
1110
1143
|
selector: 'lib-coinflow-mobile-wallet-button',
|
|
@@ -1144,8 +1177,8 @@ class CoinflowApplePayOverlayComponent {
|
|
|
1144
1177
|
fill() {
|
|
1145
1178
|
return this.color === 'white' ? '#000' : '#FFF';
|
|
1146
1179
|
}
|
|
1147
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1148
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1180
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowApplePayOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1181
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.1", type: CoinflowApplePayOverlayComponent, isStandalone: true, selector: "coinflow-apple-pay-overlay", inputs: { color: "color" }, ngImport: i0, template: `
|
|
1149
1182
|
<svg id="svg-logo" viewBox="0 0 35 15">
|
|
1150
1183
|
<svg
|
|
1151
1184
|
id="svg-logo"
|
|
@@ -1183,7 +1216,7 @@ class CoinflowApplePayOverlayComponent {
|
|
|
1183
1216
|
</svg>
|
|
1184
1217
|
`, isInline: true }); }
|
|
1185
1218
|
}
|
|
1186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowApplePayOverlayComponent, decorators: [{
|
|
1187
1220
|
type: Component,
|
|
1188
1221
|
args: [{
|
|
1189
1222
|
selector: 'coinflow-apple-pay-overlay',
|
|
@@ -1235,8 +1268,8 @@ class CoinflowApplePayButtonComponent {
|
|
|
1235
1268
|
fill() {
|
|
1236
1269
|
return this.purchaseProps.color === 'white' ? '#000' : '#FFF';
|
|
1237
1270
|
}
|
|
1238
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1239
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1271
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowApplePayButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1272
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.1", type: CoinflowApplePayButtonComponent, isStandalone: true, selector: "lib-coinflow-apple-pay-button", inputs: { purchaseProps: "purchaseProps" }, ngImport: i0, template: ` <lib-coinflow-mobile-wallet-button
|
|
1240
1273
|
ng-if="iframeProps && messageHandlers"
|
|
1241
1274
|
[purchaseProps]="purchaseProps"
|
|
1242
1275
|
route="apple-pay"
|
|
@@ -1278,7 +1311,7 @@ class CoinflowApplePayButtonComponent {
|
|
|
1278
1311
|
</svg>
|
|
1279
1312
|
</lib-coinflow-mobile-wallet-button>`, isInline: true, dependencies: [{ kind: "component", type: CoinflowMobileWalletButtonComponent, selector: "lib-coinflow-mobile-wallet-button", inputs: ["purchaseProps", "route", "overlayDisplayOverride", "alignItems"] }] }); }
|
|
1280
1313
|
}
|
|
1281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowApplePayButtonComponent, decorators: [{
|
|
1282
1315
|
type: Component,
|
|
1283
1316
|
args: [{
|
|
1284
1317
|
selector: 'lib-coinflow-apple-pay-button',
|
|
@@ -1334,8 +1367,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
|
1334
1367
|
}] } });
|
|
1335
1368
|
|
|
1336
1369
|
class CoinflowGooglePayOverlayComponent {
|
|
1337
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1338
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1370
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowGooglePayOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1371
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.1", type: CoinflowGooglePayOverlayComponent, isStandalone: true, selector: "coinflow-google-pay-overlay", inputs: { color: "color" }, ngImport: i0, template: `
|
|
1339
1372
|
@if (color === 'white') {
|
|
1340
1373
|
<svg xmlns="http://www.w3.org/2000/svg" width="41" height="17">
|
|
1341
1374
|
<g fill="none" fill-rule="evenodd">
|
|
@@ -1390,7 +1423,7 @@ class CoinflowGooglePayOverlayComponent {
|
|
|
1390
1423
|
}
|
|
1391
1424
|
`, isInline: true }); }
|
|
1392
1425
|
}
|
|
1393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowGooglePayOverlayComponent, decorators: [{
|
|
1394
1427
|
type: Component,
|
|
1395
1428
|
args: [{
|
|
1396
1429
|
selector: 'coinflow-google-pay-overlay',
|
|
@@ -1456,8 +1489,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
|
|
|
1456
1489
|
}] } });
|
|
1457
1490
|
|
|
1458
1491
|
class CoinflowGooglePayButtonComponent {
|
|
1459
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1460
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1492
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowGooglePayButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1493
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.1", type: CoinflowGooglePayButtonComponent, isStandalone: true, selector: "lib-coinflow-google-pay-button", inputs: { purchaseProps: "purchaseProps" }, ngImport: i0, template: `<lib-coinflow-mobile-wallet-button
|
|
1461
1494
|
ng-if="iframeProps && messageHandlers"
|
|
1462
1495
|
[purchaseProps]="purchaseProps"
|
|
1463
1496
|
route="google-pay"
|
|
@@ -1469,7 +1502,7 @@ class CoinflowGooglePayButtonComponent {
|
|
|
1469
1502
|
></coinflow-google-pay-overlay>
|
|
1470
1503
|
</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"] }] }); }
|
|
1471
1504
|
}
|
|
1472
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: CoinflowGooglePayButtonComponent, decorators: [{
|
|
1473
1506
|
type: Component,
|
|
1474
1507
|
args: [{
|
|
1475
1508
|
selector: 'lib-coinflow-google-pay-button',
|