@coinflowlabs/angular 1.3.1 → 1.4.0
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 +9 -0
- package/fesm2022/coinflowlabs-angular.mjs +176 -60
- package/fesm2022/coinflowlabs-angular.mjs.map +1 -1
- package/package.json +5 -5
- package/types/coinflowlabs-angular.d.ts +1494 -0
- package/index.d.ts +0 -5
- package/lib/card-form/CardFormService.d.ts +0 -14
- package/lib/card-form/coinflow-card-number-input.component.d.ts +0 -17
- package/lib/card-form/coinflow-card-number-only-input.component.d.ts +0 -17
- package/lib/card-form/coinflow-cvv-input.component.d.ts +0 -6
- package/lib/card-form/coinflow-cvv-only-input.component.d.ts +0 -19
- package/lib/coinflow-iframe.component.d.ts +0 -22
- package/lib/coinflow-purchase-history.component.d.ts +0 -5
- package/lib/coinflow-purchase-protection.component.d.ts +0 -5
- package/lib/coinflow-purchase.component.d.ts +0 -11
- package/lib/coinflow-withdraw-history.component.d.ts +0 -5
- package/lib/coinflow-withdraw.component.d.ts +0 -11
- package/lib/common/CoinflowLibMessageHandlers.d.ts +0 -35
- package/lib/common/CoinflowTypes.d.ts +0 -539
- package/lib/common/CoinflowUtils.d.ts +0 -24
- package/lib/common/EventBus.d.ts +0 -6
- package/lib/common/SolanaPeerDeps.d.ts +0 -5
- package/lib/common/card-form/TokenEx.d.ts +0 -171
- package/lib/common/card-form/tokenexHelpers.d.ts +0 -35
- package/lib/common/index.d.ts +0 -11
- package/lib/common/types/AnyObject.d.ts +0 -5
- package/lib/common/types/CartitemCommon.d.ts +0 -163
- package/lib/common/types/Subtotal.d.ts +0 -189
- package/lib/common/types/cryptoCartItem.d.ts +0 -63
- package/lib/common/types/giftCardCartItem.d.ts +0 -58
- package/lib/common/types/moneyTopUpCartItem.d.ts +0 -44
- package/lib/common/types/nftCartItem.d.ts +0 -99
- package/lib/mobile-wallet/coinflow-apple-pay-button.component.d.ts +0 -11
- package/lib/mobile-wallet/coinflow-google-pay-button.component.d.ts +0 -10
- package/lib/mobile-wallet/coinflow-mobile-wallet-button.component.d.ts +0 -22
- package/lib/mobile-wallet/google-pay-overlay.component.d.ts +0 -6
- package/public-api.d.ts +0 -16
package/README.md
CHANGED
|
@@ -4,9 +4,18 @@ This library was generated with [Angular CLI](https://github.com/angular/angular
|
|
|
4
4
|
|
|
5
5
|
# Changelog
|
|
6
6
|
|
|
7
|
+
## 1.4.0
|
|
8
|
+
|
|
9
|
+
- New Blockchain Support: The SDK now supports Monad, a high-performance EVM-compatible blockchain. Pass blockchain='monad' to enable Monad payment processing.
|
|
10
|
+
|
|
11
|
+
## 1.3.2
|
|
12
|
+
|
|
13
|
+
- Internal change to a query parameter name for zero authorization
|
|
14
|
+
|
|
7
15
|
## 1.3.1
|
|
8
16
|
|
|
9
17
|
- Added `redemptionCheck` to purchase (Solana only)
|
|
18
|
+
|
|
10
19
|
## 1.3.0
|
|
11
20
|
|
|
12
21
|
- Added `allowedWithdrawSpeeds` query parameter to allow merchants to specify what withdraw speeds are allowed. The default is all.
|
|
@@ -3,6 +3,7 @@ import { EventEmitter, HostListener, ViewChild, Output, Input, Component, Inject
|
|
|
3
3
|
import * as SolanaWeb3Js from '@solana/web3.js';
|
|
4
4
|
import base58Imported from 'bs58';
|
|
5
5
|
import LZString from 'lz-string';
|
|
6
|
+
import nsureSDK from '@nsure-ai/web-client-sdk';
|
|
6
7
|
import * as i1 from '@angular/platform-browser';
|
|
7
8
|
|
|
8
9
|
var WithdrawCategory;
|
|
@@ -20,6 +21,9 @@ var WithdrawSpeed;
|
|
|
20
21
|
WithdrawSpeed["PIX"] = "pix";
|
|
21
22
|
WithdrawSpeed["EFT"] = "eft";
|
|
22
23
|
WithdrawSpeed["VENMO"] = "venmo";
|
|
24
|
+
WithdrawSpeed["PAYPAL"] = "paypal";
|
|
25
|
+
WithdrawSpeed["WIRE"] = "wire";
|
|
26
|
+
WithdrawSpeed["INTERAC"] = "interac";
|
|
23
27
|
})(WithdrawSpeed || (WithdrawSpeed = {}));
|
|
24
28
|
var SettlementType;
|
|
25
29
|
(function (SettlementType) {
|
|
@@ -52,7 +56,22 @@ var PaymentMethods;
|
|
|
52
56
|
PaymentMethods["credits"] = "credits";
|
|
53
57
|
PaymentMethods["crypto"] = "crypto";
|
|
54
58
|
PaymentMethods["instantBankTransfer"] = "instantBankTransfer";
|
|
59
|
+
PaymentMethods["wire"] = "wire";
|
|
55
60
|
})(PaymentMethods || (PaymentMethods = {}));
|
|
61
|
+
const paymentMethodLabels = {
|
|
62
|
+
[PaymentMethods.card]: 'Card',
|
|
63
|
+
[PaymentMethods.ach]: 'ACH',
|
|
64
|
+
[PaymentMethods.fasterPayments]: 'Faster Payments',
|
|
65
|
+
[PaymentMethods.sepa]: 'SEPA',
|
|
66
|
+
[PaymentMethods.pix]: 'PIX',
|
|
67
|
+
[PaymentMethods.usdc]: 'USDC',
|
|
68
|
+
[PaymentMethods.googlePay]: 'Google Pay',
|
|
69
|
+
[PaymentMethods.applePay]: 'Apple Pay',
|
|
70
|
+
[PaymentMethods.credits]: 'Credits',
|
|
71
|
+
[PaymentMethods.crypto]: 'Crypto',
|
|
72
|
+
[PaymentMethods.instantBankTransfer]: 'Instant Bank Transfer',
|
|
73
|
+
[PaymentMethods.wire]: 'Wire Transfer',
|
|
74
|
+
};
|
|
56
75
|
var CardType;
|
|
57
76
|
(function (CardType) {
|
|
58
77
|
CardType["VISA"] = "VISA";
|
|
@@ -60,6 +79,7 @@ var CardType;
|
|
|
60
79
|
CardType["AMEX"] = "AMEX";
|
|
61
80
|
CardType["DISCOVER"] = "DISC";
|
|
62
81
|
})(CardType || (CardType = {}));
|
|
82
|
+
const RN_REDIRECT_MESSAGE_NAME = 'rnredirect'; // DO NOT CHANGE
|
|
63
83
|
|
|
64
84
|
// This works in angular, but not react
|
|
65
85
|
// let web3: typeof import('@solana/web3.js') | undefined;
|
|
@@ -81,6 +101,7 @@ var Currency;
|
|
|
81
101
|
Currency["AED"] = "AED";
|
|
82
102
|
Currency["AFN"] = "AFN";
|
|
83
103
|
Currency["ALL"] = "ALL";
|
|
104
|
+
Currency["AMD"] = "AMD";
|
|
84
105
|
Currency["ANG"] = "ANG";
|
|
85
106
|
Currency["AOA"] = "AOA";
|
|
86
107
|
Currency["ARS"] = "ARS";
|
|
@@ -214,6 +235,7 @@ var Currency;
|
|
|
214
235
|
Currency["UZS"] = "UZS";
|
|
215
236
|
Currency["VND"] = "VND";
|
|
216
237
|
Currency["VUV"] = "VUV";
|
|
238
|
+
Currency["WST"] = "WST";
|
|
217
239
|
Currency["XAF"] = "XAF";
|
|
218
240
|
Currency["XCD"] = "XCD";
|
|
219
241
|
Currency["XOF"] = "XOF";
|
|
@@ -222,11 +244,21 @@ var Currency;
|
|
|
222
244
|
Currency["ZAR"] = "ZAR";
|
|
223
245
|
Currency["ZMW"] = "ZMW";
|
|
224
246
|
Currency["ZWL"] = "ZWL";
|
|
247
|
+
Currency["CDF"] = "CDF";
|
|
248
|
+
Currency["ERN"] = "ERN";
|
|
249
|
+
Currency["FKP"] = "FKP";
|
|
250
|
+
Currency["KPW"] = "KPW";
|
|
251
|
+
Currency["RUB"] = "RUB";
|
|
252
|
+
Currency["SBD"] = "SBD";
|
|
253
|
+
Currency["SHP"] = "SHP";
|
|
254
|
+
Currency["SSP"] = "SSP";
|
|
255
|
+
Currency["VES"] = "VES";
|
|
225
256
|
})(Currency || (Currency = {}));
|
|
226
257
|
const CurrencyToISO4217 = {
|
|
227
258
|
[Currency.AED]: '784',
|
|
228
259
|
[Currency.AFN]: '971',
|
|
229
260
|
[Currency.ALL]: '008',
|
|
261
|
+
[Currency.AMD]: '051',
|
|
230
262
|
[Currency.ANG]: '532',
|
|
231
263
|
[Currency.AOA]: '973',
|
|
232
264
|
[Currency.AUD]: '036',
|
|
@@ -367,8 +399,18 @@ const CurrencyToISO4217 = {
|
|
|
367
399
|
[Currency.SRD]: '968',
|
|
368
400
|
[Currency.TOP]: '776',
|
|
369
401
|
[Currency.VUV]: '548',
|
|
402
|
+
[Currency.WST]: '882',
|
|
370
403
|
[Currency.ZWL]: '932',
|
|
371
404
|
[Currency.CLF]: '990',
|
|
405
|
+
[Currency.CDF]: '976',
|
|
406
|
+
[Currency.ERN]: '232',
|
|
407
|
+
[Currency.FKP]: '238',
|
|
408
|
+
[Currency.KPW]: '408',
|
|
409
|
+
[Currency.RUB]: '643',
|
|
410
|
+
[Currency.SBD]: '090',
|
|
411
|
+
[Currency.SHP]: '654',
|
|
412
|
+
[Currency.SSP]: '728',
|
|
413
|
+
[Currency.VES]: '928',
|
|
372
414
|
};
|
|
373
415
|
const WithdrawCurrencies = {
|
|
374
416
|
[Currency.USD]: Currency.USD,
|
|
@@ -380,10 +422,62 @@ const WithdrawCurrencies = {
|
|
|
380
422
|
function isWithdrawCurrency(currency) {
|
|
381
423
|
return currency in WithdrawCurrencies;
|
|
382
424
|
}
|
|
425
|
+
const BankingCurrencies = {
|
|
426
|
+
[Currency.USD]: Currency.USD,
|
|
427
|
+
[Currency.EUR]: Currency.EUR,
|
|
428
|
+
[Currency.GBP]: Currency.GBP,
|
|
429
|
+
[Currency.CAD]: Currency.CAD,
|
|
430
|
+
[Currency.BRL]: Currency.BRL,
|
|
431
|
+
};
|
|
432
|
+
function isBankingCurrency(currency) {
|
|
433
|
+
return currency in BankingCurrencies;
|
|
434
|
+
}
|
|
435
|
+
const FourDecimalCurrencies = new Set([Currency.CLF]);
|
|
436
|
+
const ThreeDecimalCurrencies = new Set([
|
|
437
|
+
Currency.BHD,
|
|
438
|
+
Currency.IQD,
|
|
439
|
+
Currency.JOD,
|
|
440
|
+
Currency.KWD,
|
|
441
|
+
Currency.LYD,
|
|
442
|
+
Currency.OMR,
|
|
443
|
+
Currency.TND,
|
|
444
|
+
]);
|
|
445
|
+
const ZeroDecimalCurrencies = new Set([
|
|
446
|
+
Currency.BIF,
|
|
447
|
+
Currency.CLP,
|
|
448
|
+
Currency.DJF,
|
|
449
|
+
Currency.GNF,
|
|
450
|
+
Currency.ISK,
|
|
451
|
+
Currency.JPY,
|
|
452
|
+
Currency.KMF,
|
|
453
|
+
Currency.PYG,
|
|
454
|
+
Currency.RWF,
|
|
455
|
+
Currency.UGX,
|
|
456
|
+
Currency.VND,
|
|
457
|
+
Currency.VUV,
|
|
458
|
+
Currency.XAF,
|
|
459
|
+
Currency.XOF,
|
|
460
|
+
Currency.XPF,
|
|
461
|
+
]);
|
|
462
|
+
function getCurrencyDecimals(currency) {
|
|
463
|
+
if (FourDecimalCurrencies.has(currency))
|
|
464
|
+
return 4;
|
|
465
|
+
if (ThreeDecimalCurrencies.has(currency))
|
|
466
|
+
return 3;
|
|
467
|
+
if (ZeroDecimalCurrencies.has(currency))
|
|
468
|
+
return 0;
|
|
469
|
+
return 2;
|
|
470
|
+
}
|
|
383
471
|
function isTypedCurrencyCents(cents, currency) {
|
|
384
472
|
return cents.currency === currency;
|
|
385
473
|
}
|
|
386
474
|
|
|
475
|
+
function fun() {
|
|
476
|
+
if (nsureSDK)
|
|
477
|
+
return nsureSDK.getDeviceId();
|
|
478
|
+
return null;
|
|
479
|
+
}
|
|
480
|
+
|
|
387
481
|
class CoinflowUtils {
|
|
388
482
|
constructor(env) {
|
|
389
483
|
this.env = env ?? 'prod';
|
|
@@ -413,6 +507,16 @@ class CoinflowUtils {
|
|
|
413
507
|
return 'http://localhost:3000';
|
|
414
508
|
return `https://${env}.coinflow.cash`;
|
|
415
509
|
}
|
|
510
|
+
static getCoinflowAppBaseUrl(env) {
|
|
511
|
+
if (!env || env === 'prod')
|
|
512
|
+
return 'https://app.coinflow.cash';
|
|
513
|
+
// @ts-expect-error This is for testing
|
|
514
|
+
if (env === 'ngrok')
|
|
515
|
+
return 'https://coinflow.ngrok.app';
|
|
516
|
+
if (env === 'local')
|
|
517
|
+
return 'http://localhost:3003';
|
|
518
|
+
return `https://app-${env}.coinflow.cash`;
|
|
519
|
+
}
|
|
416
520
|
static getCoinflowApiUrl(env) {
|
|
417
521
|
if (!env || env === 'prod')
|
|
418
522
|
return 'https://api.coinflow.cash';
|
|
@@ -420,11 +524,11 @@ class CoinflowUtils {
|
|
|
420
524
|
return 'http://localhost:5000';
|
|
421
525
|
return `https://api-${env}.coinflow.cash`;
|
|
422
526
|
}
|
|
423
|
-
static getCoinflowUrl({ walletPubkey, sessionKey, route, routePrefix, env, subtotal, presentment, transaction, blockchain = 'solana', webhookInfo, email, loaderBackground, handleHeightChangeId, bankAccountLinkRedirect, additionalWallets, chargebackProtectionData, merchantCss, color, rent, lockDefaultToken, tokens, planCode, disableApplePay, disableGooglePay, customerInfo, settlementType, lockAmount, nativeSolToConvert, theme, usePermit, transactionSigner, authOnly, deviceId, jwtToken, origins, threeDsChallengePreference, supportEmail, destinationAuthKey, allowedPaymentMethods, accountFundingTransaction, partialUsdcChecked, redemptionCheck, allowedWithdrawSpeeds, }) {
|
|
527
|
+
static getCoinflowUrl({ walletPubkey, sessionKey, route, routePrefix, env, subtotal, presentment, transaction, blockchain = 'solana', webhookInfo, email, loaderBackground, handleHeightChangeId, bankAccountLinkRedirect, additionalWallets, chargebackProtectionData, merchantCss, color, rent, lockDefaultToken, tokens, planCode, disableApplePay, disableGooglePay, customerInfo, settlementType, lockAmount, nativeSolToConvert, theme, usePermit, transactionSigner, authOnly, deviceId, jwtToken, origins, threeDsChallengePreference, supportEmail, destinationAuthKey, allowedPaymentMethods, accountFundingTransaction, partialUsdcChecked, redemptionCheck, allowedWithdrawSpeeds, isZeroAuthorization, baseUrl, }) {
|
|
424
528
|
const prefix = routePrefix
|
|
425
529
|
? `/${routePrefix}/${blockchain}`
|
|
426
530
|
: `/${blockchain}`;
|
|
427
|
-
const url = new URL(prefix + route, CoinflowUtils.getCoinflowBaseUrl(env));
|
|
531
|
+
const url = new URL(prefix + route, baseUrl ?? CoinflowUtils.getCoinflowBaseUrl(env));
|
|
428
532
|
if (walletPubkey)
|
|
429
533
|
url.searchParams.append('pubkey', walletPubkey);
|
|
430
534
|
if (sessionKey)
|
|
@@ -483,13 +587,9 @@ class CoinflowUtils {
|
|
|
483
587
|
url.searchParams.append('deviceId', deviceId);
|
|
484
588
|
}
|
|
485
589
|
else {
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
const deviceId = window?.nSureSDK?.getDeviceId();
|
|
490
|
-
if (deviceId)
|
|
491
|
-
url.searchParams.append('deviceId', deviceId);
|
|
492
|
-
}
|
|
590
|
+
const deviceId = fun();
|
|
591
|
+
if (deviceId)
|
|
592
|
+
url.searchParams.append('deviceId', deviceId);
|
|
493
593
|
}
|
|
494
594
|
if (merchantCss)
|
|
495
595
|
url.searchParams.append('merchantCss', merchantCss);
|
|
@@ -519,6 +619,8 @@ class CoinflowUtils {
|
|
|
519
619
|
url.searchParams.append('transactionSigner', transactionSigner);
|
|
520
620
|
if (authOnly === true)
|
|
521
621
|
url.searchParams.append('authOnly', 'true');
|
|
622
|
+
if (isZeroAuthorization === true)
|
|
623
|
+
url.searchParams.append('isZeroAuthorization', 'true');
|
|
522
624
|
if (partialUsdcChecked === true)
|
|
523
625
|
url.searchParams.append('partialUsdcChecked', 'true');
|
|
524
626
|
if (jwtToken)
|
|
@@ -551,10 +653,10 @@ class CoinflowUtils {
|
|
|
551
653
|
throw new Error('bs58 dependency is required for Solana');
|
|
552
654
|
if (!transaction)
|
|
553
655
|
return undefined;
|
|
554
|
-
return base58.encode(transaction.serialize({
|
|
656
|
+
return base58.encode(Uint8Array.from(transaction.serialize({
|
|
555
657
|
requireAllSignatures: false,
|
|
556
658
|
verifySignatures: false,
|
|
557
|
-
}));
|
|
659
|
+
})));
|
|
558
660
|
},
|
|
559
661
|
polygon: () => {
|
|
560
662
|
if (!('transaction' in props))
|
|
@@ -580,6 +682,12 @@ class CoinflowUtils {
|
|
|
580
682
|
const { transaction } = props;
|
|
581
683
|
return LZString.compressToEncodedURIComponent(JSON.stringify(transaction));
|
|
582
684
|
},
|
|
685
|
+
monad: () => {
|
|
686
|
+
if (!('transaction' in props))
|
|
687
|
+
return undefined;
|
|
688
|
+
const { transaction } = props;
|
|
689
|
+
return LZString.compressToEncodedURIComponent(JSON.stringify(transaction));
|
|
690
|
+
},
|
|
583
691
|
user: () => {
|
|
584
692
|
return undefined;
|
|
585
693
|
},
|
|
@@ -597,6 +705,8 @@ class CoinflowUtils {
|
|
|
597
705
|
return args.base;
|
|
598
706
|
case 'arbitrum':
|
|
599
707
|
return args.arbitrum;
|
|
708
|
+
case 'monad':
|
|
709
|
+
return args.monad;
|
|
600
710
|
case 'user':
|
|
601
711
|
return args.user;
|
|
602
712
|
default:
|
|
@@ -756,6 +866,11 @@ function getHandlers(props) {
|
|
|
756
866
|
onSuccess: props.onSuccess,
|
|
757
867
|
onAuthDeclined: props.onAuthDeclined,
|
|
758
868
|
}),
|
|
869
|
+
monad: () => getEvmWalletHandlers({
|
|
870
|
+
wallet: wallet,
|
|
871
|
+
onSuccess: props.onSuccess,
|
|
872
|
+
onAuthDeclined: props.onAuthDeclined,
|
|
873
|
+
}),
|
|
759
874
|
user: () => getSessionKeyHandlers(props),
|
|
760
875
|
})();
|
|
761
876
|
}
|
|
@@ -784,10 +899,10 @@ function getSolanaWalletHandlers({ wallet, onSuccess, onAuthDeclined, }) {
|
|
|
784
899
|
const signedTransaction = await signTransaction(tx);
|
|
785
900
|
if (!base58)
|
|
786
901
|
throw new Error('bs58 dependency is required');
|
|
787
|
-
return base58.encode(signedTransaction.serialize({
|
|
902
|
+
return base58.encode(Uint8Array.from(signedTransaction.serialize({
|
|
788
903
|
requireAllSignatures: false,
|
|
789
904
|
verifySignatures: false,
|
|
790
|
-
}));
|
|
905
|
+
})));
|
|
791
906
|
},
|
|
792
907
|
onSuccess,
|
|
793
908
|
onAuthDeclined,
|
|
@@ -841,6 +956,7 @@ class EventBus {
|
|
|
841
956
|
}
|
|
842
957
|
|
|
843
958
|
// Type definitions for TokenEx iframe integration
|
|
959
|
+
/// <reference path="./TokenEx.global.d.ts" />
|
|
844
960
|
const TokenExCardNumberIframeId = 'tokenExCardNumber';
|
|
845
961
|
const TokenExCvvContainerID = 'tokenExCardCvv';
|
|
846
962
|
const CARD_TYPE_MAPPING = {
|
|
@@ -1008,7 +1124,7 @@ function CSSPropertiesToComponent(dict) {
|
|
|
1008
1124
|
/* generated using openapi-typescript-codegen -- do no edit */
|
|
1009
1125
|
/* istanbul ignore file */
|
|
1010
1126
|
/* tslint:disable */
|
|
1011
|
-
/*
|
|
1127
|
+
/* oxlint-disable */
|
|
1012
1128
|
var nftCartItem;
|
|
1013
1129
|
(function (nftCartItem) {
|
|
1014
1130
|
/**
|
|
@@ -1096,8 +1212,8 @@ class CoinflowIFrameComponent {
|
|
|
1096
1212
|
this.isLoading = false;
|
|
1097
1213
|
this.onLoad?.();
|
|
1098
1214
|
}
|
|
1099
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1100
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1215
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowIFrameComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1216
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.1", type: CoinflowIFrameComponent, isStandalone: true, selector: "lib-coinflow-iframe", inputs: { iframeProps: "iframeProps", messageHandlers: "messageHandlers", onLoad: "onLoad", waitForLoadedMessage: "waitForLoadedMessage" }, outputs: { messageEvent: "messageEvent" }, host: { listeners: { "window:message": "onPostMessage($event)" } }, viewQueries: [{ propertyName: "iframe", first: true, predicate: ["iframe"], descendants: true }], ngImport: i0, template: ` <iframe
|
|
1101
1217
|
width="100%"
|
|
1102
1218
|
height="100%"
|
|
1103
1219
|
#iframe
|
|
@@ -1110,7 +1226,7 @@ class CoinflowIFrameComponent {
|
|
|
1110
1226
|
(load)="handleIframeLoad()"
|
|
1111
1227
|
></iframe>`, isInline: true }); }
|
|
1112
1228
|
}
|
|
1113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowIFrameComponent, decorators: [{
|
|
1114
1230
|
type: Component,
|
|
1115
1231
|
args: [{
|
|
1116
1232
|
selector: 'lib-coinflow-iframe',
|
|
@@ -1162,10 +1278,10 @@ class CoinflowPurchaseComponent {
|
|
|
1162
1278
|
handleHeightChangeId,
|
|
1163
1279
|
};
|
|
1164
1280
|
}
|
|
1165
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1166
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1281
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowPurchaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1282
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.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!" [onLoad]="purchaseProps?.onLoad" [waitForLoadedMessage]="true"></lib-coinflow-iframe> ', isInline: true, dependencies: [{ kind: "component", type: CoinflowIFrameComponent, selector: "lib-coinflow-iframe", inputs: ["iframeProps", "messageHandlers", "onLoad", "waitForLoadedMessage"], outputs: ["messageEvent"] }] }); }
|
|
1167
1283
|
}
|
|
1168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowPurchaseComponent, decorators: [{
|
|
1169
1285
|
type: Component,
|
|
1170
1286
|
args: [{
|
|
1171
1287
|
selector: 'lib-coinflow-purchase',
|
|
@@ -1178,10 +1294,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImpor
|
|
|
1178
1294
|
}] } });
|
|
1179
1295
|
|
|
1180
1296
|
class CoinflowPurchaseHistoryComponent {
|
|
1181
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1182
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1297
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowPurchaseHistoryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1298
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.1", type: CoinflowPurchaseHistoryComponent, isStandalone: true, selector: "lib-coinflow-purchase-history", ngImport: i0, template: ' <p>coinflow-purchase-history works!</p> ', isInline: true }); }
|
|
1183
1299
|
}
|
|
1184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowPurchaseHistoryComponent, decorators: [{
|
|
1185
1301
|
type: Component,
|
|
1186
1302
|
args: [{
|
|
1187
1303
|
selector: 'lib-coinflow-purchase-history',
|
|
@@ -1192,10 +1308,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImpor
|
|
|
1192
1308
|
}] });
|
|
1193
1309
|
|
|
1194
1310
|
class CoinflowPurchaseProtectionComponent {
|
|
1195
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1196
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1311
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowPurchaseProtectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1312
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.1", type: CoinflowPurchaseProtectionComponent, isStandalone: true, selector: "lib-coinflow-purchase-protection", ngImport: i0, template: ' <p>coinflow-purchase-protection works!</p> ', isInline: true }); }
|
|
1197
1313
|
}
|
|
1198
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowPurchaseProtectionComponent, decorators: [{
|
|
1199
1315
|
type: Component,
|
|
1200
1316
|
args: [{
|
|
1201
1317
|
selector: 'lib-coinflow-purchase-protection',
|
|
@@ -1220,10 +1336,10 @@ class CoinflowWithdrawComponent {
|
|
|
1220
1336
|
handleHeightChangeId,
|
|
1221
1337
|
};
|
|
1222
1338
|
}
|
|
1223
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1224
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1339
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowWithdrawComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1340
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.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!" [onLoad]="withdrawProps?.onLoad"></lib-coinflow-iframe> ', isInline: true, dependencies: [{ kind: "component", type: CoinflowIFrameComponent, selector: "lib-coinflow-iframe", inputs: ["iframeProps", "messageHandlers", "onLoad", "waitForLoadedMessage"], outputs: ["messageEvent"] }] }); }
|
|
1225
1341
|
}
|
|
1226
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowWithdrawComponent, decorators: [{
|
|
1227
1343
|
type: Component,
|
|
1228
1344
|
args: [{
|
|
1229
1345
|
selector: 'lib-coinflow-withdraw',
|
|
@@ -1236,10 +1352,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImpor
|
|
|
1236
1352
|
}] } });
|
|
1237
1353
|
|
|
1238
1354
|
class CoinflowWithdrawHistoryComponent {
|
|
1239
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1240
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1355
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowWithdrawHistoryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1356
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.1", type: CoinflowWithdrawHistoryComponent, isStandalone: true, selector: "lib-coinflow-withdraw-history", ngImport: i0, template: ' <p>coinflow-withdraw-history works!</p> ', isInline: true }); }
|
|
1241
1357
|
}
|
|
1242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowWithdrawHistoryComponent, decorators: [{
|
|
1243
1359
|
type: Component,
|
|
1244
1360
|
args: [{
|
|
1245
1361
|
selector: 'lib-coinflow-withdraw-history',
|
|
@@ -1300,10 +1416,10 @@ class CardFormService {
|
|
|
1300
1416
|
iframe.load();
|
|
1301
1417
|
return iframe;
|
|
1302
1418
|
}
|
|
1303
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1304
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1419
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CardFormService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1420
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CardFormService, providedIn: 'root' }); }
|
|
1305
1421
|
}
|
|
1306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CardFormService, decorators: [{
|
|
1307
1423
|
type: Injectable,
|
|
1308
1424
|
args: [{
|
|
1309
1425
|
providedIn: 'root',
|
|
@@ -1344,10 +1460,10 @@ class CoinflowCardNumberInput {
|
|
|
1344
1460
|
tokenize() {
|
|
1345
1461
|
return this.iframe.tokenize();
|
|
1346
1462
|
}
|
|
1347
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1348
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1463
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowCardNumberInput, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1464
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.1", type: CoinflowCardNumberInput, isStandalone: true, selector: "lib-coinflow-card-number-input", inputs: { args: "args" }, ngImport: i0, template: '<div id="{{TokenExCardNumberIframeId}}"></div>', isInline: true }); }
|
|
1349
1465
|
}
|
|
1350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowCardNumberInput, decorators: [{
|
|
1351
1467
|
type: Component,
|
|
1352
1468
|
args: [{
|
|
1353
1469
|
selector: 'lib-coinflow-card-number-input',
|
|
@@ -1393,10 +1509,10 @@ class CoinflowCardNumberOnlyInput {
|
|
|
1393
1509
|
tokenize() {
|
|
1394
1510
|
return this.iframe.tokenize();
|
|
1395
1511
|
}
|
|
1396
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1397
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1512
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowCardNumberOnlyInput, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1513
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.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 }); }
|
|
1398
1514
|
}
|
|
1399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1515
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowCardNumberOnlyInput, decorators: [{
|
|
1400
1516
|
type: Component,
|
|
1401
1517
|
args: [{
|
|
1402
1518
|
selector: 'lib-coinflow-card-number-only-input',
|
|
@@ -1412,10 +1528,10 @@ class CoinflowCvvInputComponent {
|
|
|
1412
1528
|
constructor() {
|
|
1413
1529
|
this.TokenExCvvContainerID = TokenExCvvContainerID;
|
|
1414
1530
|
}
|
|
1415
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1416
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1531
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowCvvInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1532
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.1", type: CoinflowCvvInputComponent, isStandalone: true, selector: "lib-coinflow-cvv-input", ngImport: i0, template: '<div id="{{TokenExCvvContainerID}}" ></div>', isInline: true }); }
|
|
1417
1533
|
}
|
|
1418
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1534
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowCvvInputComponent, decorators: [{
|
|
1419
1535
|
type: Component,
|
|
1420
1536
|
args: [{
|
|
1421
1537
|
selector: 'lib-coinflow-cvv-input',
|
|
@@ -1476,10 +1592,10 @@ class CoinflowCvvOnlyInputComponent {
|
|
|
1476
1592
|
tokenize() {
|
|
1477
1593
|
return this.iframe.tokenize();
|
|
1478
1594
|
}
|
|
1479
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1480
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1595
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowCvvOnlyInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1596
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.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 }); }
|
|
1481
1597
|
}
|
|
1482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowCvvOnlyInputComponent, decorators: [{
|
|
1483
1599
|
type: Component,
|
|
1484
1600
|
args: [{
|
|
1485
1601
|
selector: 'lib-coinflow-cvv-only-input',
|
|
@@ -1528,8 +1644,8 @@ class CoinflowMobileWalletButtonComponent {
|
|
|
1528
1644
|
handleHeightChangeId,
|
|
1529
1645
|
};
|
|
1530
1646
|
}
|
|
1531
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1532
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1647
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowMobileWalletButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1648
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.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%;">
|
|
1533
1649
|
<div
|
|
1534
1650
|
[style.background-color]="purchaseProps.color"
|
|
1535
1651
|
[style.display]="overlayDisplayOverride ?? display"
|
|
@@ -1551,7 +1667,7 @@ class CoinflowMobileWalletButtonComponent {
|
|
|
1551
1667
|
</div>
|
|
1552
1668
|
</div>`, isInline: true, dependencies: [{ kind: "component", type: CoinflowIFrameComponent, selector: "lib-coinflow-iframe", inputs: ["iframeProps", "messageHandlers", "onLoad", "waitForLoadedMessage"], outputs: ["messageEvent"] }] }); }
|
|
1553
1669
|
}
|
|
1554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowMobileWalletButtonComponent, decorators: [{
|
|
1555
1671
|
type: Component,
|
|
1556
1672
|
args: [{
|
|
1557
1673
|
selector: 'lib-coinflow-mobile-wallet-button',
|
|
@@ -1593,8 +1709,8 @@ class CoinflowApplePayButtonComponent {
|
|
|
1593
1709
|
fill() {
|
|
1594
1710
|
return this.purchaseProps.color === 'white' ? '#000' : '#FFF';
|
|
1595
1711
|
}
|
|
1596
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1597
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1712
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowApplePayButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1713
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.1", type: CoinflowApplePayButtonComponent, isStandalone: true, selector: "lib-coinflow-apple-pay-button", inputs: { purchaseProps: "purchaseProps" }, ngImport: i0, template: ` <lib-coinflow-mobile-wallet-button
|
|
1598
1714
|
ng-if="iframeProps && messageHandlers"
|
|
1599
1715
|
[purchaseProps]="purchaseProps"
|
|
1600
1716
|
route="apple-pay"
|
|
@@ -1636,7 +1752,7 @@ class CoinflowApplePayButtonComponent {
|
|
|
1636
1752
|
</svg>
|
|
1637
1753
|
</lib-coinflow-mobile-wallet-button>`, isInline: true, dependencies: [{ kind: "component", type: CoinflowMobileWalletButtonComponent, selector: "lib-coinflow-mobile-wallet-button", inputs: ["purchaseProps", "route", "overlayDisplayOverride", "alignItems"] }] }); }
|
|
1638
1754
|
}
|
|
1639
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowApplePayButtonComponent, decorators: [{
|
|
1640
1756
|
type: Component,
|
|
1641
1757
|
args: [{
|
|
1642
1758
|
selector: 'lib-coinflow-apple-pay-button',
|
|
@@ -1689,8 +1805,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImpor
|
|
|
1689
1805
|
}] } });
|
|
1690
1806
|
|
|
1691
1807
|
class CoinflowGooglePayOverlayComponent {
|
|
1692
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1693
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1808
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowGooglePayOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1809
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.1", type: CoinflowGooglePayOverlayComponent, isStandalone: true, selector: "coinflow-google-pay-overlay", inputs: { color: "color" }, ngImport: i0, template: `
|
|
1694
1810
|
@if (color === 'white') {
|
|
1695
1811
|
<svg xmlns="http://www.w3.org/2000/svg" width="41" height="17">
|
|
1696
1812
|
<g fill="none" fill-rule="evenodd">
|
|
@@ -1745,7 +1861,7 @@ class CoinflowGooglePayOverlayComponent {
|
|
|
1745
1861
|
}
|
|
1746
1862
|
`, isInline: true }); }
|
|
1747
1863
|
}
|
|
1748
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowGooglePayOverlayComponent, decorators: [{
|
|
1749
1865
|
type: Component,
|
|
1750
1866
|
args: [{
|
|
1751
1867
|
selector: 'coinflow-google-pay-overlay',
|
|
@@ -1811,8 +1927,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImpor
|
|
|
1811
1927
|
}] } });
|
|
1812
1928
|
|
|
1813
1929
|
class CoinflowGooglePayButtonComponent {
|
|
1814
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1815
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1930
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowGooglePayButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1931
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.1", type: CoinflowGooglePayButtonComponent, isStandalone: true, selector: "lib-coinflow-google-pay-button", inputs: { purchaseProps: "purchaseProps" }, ngImport: i0, template: `<lib-coinflow-mobile-wallet-button
|
|
1816
1932
|
ng-if="iframeProps && messageHandlers"
|
|
1817
1933
|
[purchaseProps]="purchaseProps"
|
|
1818
1934
|
route="google-pay"
|
|
@@ -1824,7 +1940,7 @@ class CoinflowGooglePayButtonComponent {
|
|
|
1824
1940
|
></coinflow-google-pay-overlay>
|
|
1825
1941
|
</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"] }] }); }
|
|
1826
1942
|
}
|
|
1827
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.1", ngImport: i0, type: CoinflowGooglePayButtonComponent, decorators: [{
|
|
1828
1944
|
type: Component,
|
|
1829
1945
|
args: [{
|
|
1830
1946
|
selector: 'lib-coinflow-google-pay-button',
|
|
@@ -1857,5 +1973,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImpor
|
|
|
1857
1973
|
* Generated bundle index. Do not edit.
|
|
1858
1974
|
*/
|
|
1859
1975
|
|
|
1860
|
-
export { CARD_TYPE_MAPPING, CardType, CoinflowApplePayButtonComponent, CoinflowCardNumberInput, CoinflowCardNumberOnlyInput, CoinflowCvvInputComponent, CoinflowCvvOnlyInputComponent, CoinflowGooglePayButtonComponent, CoinflowIFrameComponent, CoinflowPurchaseComponent, CoinflowPurchaseHistoryComponent, CoinflowPurchaseProtectionComponent, CoinflowUtils, CoinflowWithdrawComponent, CoinflowWithdrawHistoryComponent, Currency, CurrencyToISO4217, EventBus, IFrameMessageMethods, MerchantStyle, PaymentMethods, SettlementType, ThreeDsChallengePreference, TokenExCardNumberIframeId, TokenExCvvContainerID, WithdrawCategory, WithdrawCurrencies, WithdrawSpeed, doInitializeCvvOnlyTokenExIframe, doInitializeTokenExCardOnlyIframe, doInitializeTokenExIframe, getCustomerName, getHandlers, getIframeConfig, getWalletPubkey, handleIFrameMessage, isTypedCurrencyCents, isWithdrawCurrency, nftCartItem, setTokenExScriptTag };
|
|
1976
|
+
export { BankingCurrencies, CARD_TYPE_MAPPING, CardType, CoinflowApplePayButtonComponent, CoinflowCardNumberInput, CoinflowCardNumberOnlyInput, CoinflowCvvInputComponent, CoinflowCvvOnlyInputComponent, CoinflowGooglePayButtonComponent, CoinflowIFrameComponent, CoinflowPurchaseComponent, CoinflowPurchaseHistoryComponent, CoinflowPurchaseProtectionComponent, CoinflowUtils, CoinflowWithdrawComponent, CoinflowWithdrawHistoryComponent, Currency, CurrencyToISO4217, EventBus, IFrameMessageMethods, MerchantStyle, PaymentMethods, RN_REDIRECT_MESSAGE_NAME, SettlementType, ThreeDsChallengePreference, TokenExCardNumberIframeId, TokenExCvvContainerID, WithdrawCategory, WithdrawCurrencies, WithdrawSpeed, doInitializeCvvOnlyTokenExIframe, doInitializeTokenExCardOnlyIframe, doInitializeTokenExIframe, getCurrencyDecimals, getCustomerName, getHandlers, getIframeConfig, getWalletPubkey, handleIFrameMessage, isBankingCurrency, isTypedCurrencyCents, isWithdrawCurrency, nftCartItem, paymentMethodLabels, setTokenExScriptTag };
|
|
1861
1977
|
//# sourceMappingURL=coinflowlabs-angular.mjs.map
|