@afosto/checkout-ui 0.0.7 → 0.0.9
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/dist/CheckoutProvider/CheckoutProvider.d.ts.map +1 -1
- package/dist/CheckoutProvider/CheckoutProvider.js +53 -50
- package/dist/CheckoutSummary/CheckoutSummary.d.ts +5 -1
- package/dist/CheckoutSummary/CheckoutSummary.d.ts.map +1 -1
- package/dist/CheckoutSummary/CheckoutSummary.js +90 -68
- package/dist/CheckoutSummary/components/CheckoutSummaryCouponField/CheckoutSummaryCouponField.d.ts +11 -0
- package/dist/CheckoutSummary/components/CheckoutSummaryCouponField/CheckoutSummaryCouponField.d.ts.map +1 -0
- package/dist/CheckoutSummary/components/CheckoutSummaryCouponField/CheckoutSummaryCouponField.js +71 -0
- package/dist/CheckoutSummary/components/CheckoutSummaryCouponField/index.d.ts +3 -0
- package/dist/CheckoutSummary/components/CheckoutSummaryCouponField/index.d.ts.map +1 -0
- package/dist/CheckoutSummary/components/CheckoutSummaryCouponField/index.js +4 -0
- package/dist/CheckoutSummary/components/CheckoutSummaryCoupons/CheckoutSummaryCoupons.d.ts +1 -0
- package/dist/CheckoutSummary/components/CheckoutSummaryCoupons/CheckoutSummaryCoupons.d.ts.map +1 -1
- package/dist/CheckoutSummary/components/CheckoutSummaryCoupons/CheckoutSummaryCoupons.js +33 -7
- package/dist/CheckoutSummary/index.d.ts +2 -0
- package/dist/CheckoutSummary/index.d.ts.map +1 -1
- package/dist/CheckoutSummary/index.js +26 -24
- package/dist/constants/paymentMethodIconMapping.d.ts +3 -0
- package/dist/constants/paymentMethodIconMapping.d.ts.map +1 -1
- package/dist/constants/paymentMethodIconMapping.js +52 -46
- package/dist/hooks/useCheckoutCart.d.ts +48 -10
- package/dist/hooks/useCheckoutCart.d.ts.map +1 -1
- package/dist/hooks/useCheckoutCart.js +117 -63
- package/dist/hooks/useCheckoutOrder.d.ts +48 -10
- package/dist/hooks/useCheckoutOrder.d.ts.map +1 -1
- package/dist/hooks/useCheckoutOrder.js +208 -154
- package/dist/icons/AngleRightSolid.d.ts +3 -0
- package/dist/icons/AngleRightSolid.d.ts.map +1 -0
- package/dist/icons/AngleRightSolid.js +6 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.d.ts.map +1 -1
- package/dist/icons/index.js +150 -142
- package/dist/icons/paymentMethods/Belfius.d.ts +3 -0
- package/dist/icons/paymentMethods/Belfius.d.ts.map +1 -0
- package/dist/icons/paymentMethods/Belfius.js +17 -0
- package/dist/icons/paymentMethods/Giftcard.d.ts +3 -0
- package/dist/icons/paymentMethods/Giftcard.d.ts.map +1 -0
- package/dist/icons/paymentMethods/Giftcard.js +54 -0
- package/dist/icons/paymentMethods/Kbc.d.ts +3 -0
- package/dist/icons/paymentMethods/Kbc.d.ts.map +1 -0
- package/dist/icons/paymentMethods/Kbc.js +40 -0
- package/dist/icons/paymentMethods/index.d.ts +3 -0
- package/dist/icons/paymentMethods/index.d.ts.map +1 -1
- package/dist/icons/paymentMethods/index.js +102 -96
- package/dist/index.js +325 -309
- package/dist/mutations/addCouponToCart.d.ts +12 -0
- package/dist/mutations/addCouponToCart.d.ts.map +1 -0
- package/dist/mutations/addCouponToCart.js +15 -0
- package/dist/mutations/addCouponToOrder.d.ts +12 -0
- package/dist/mutations/addCouponToOrder.d.ts.map +1 -0
- package/dist/mutations/addCouponToOrder.js +15 -0
- package/dist/mutations/index.d.ts +26 -18
- package/dist/mutations/index.d.ts.map +1 -1
- package/dist/mutations/index.js +44 -36
- package/dist/mutations/removeCouponFromCart.d.ts +12 -0
- package/dist/mutations/removeCouponFromCart.d.ts.map +1 -0
- package/dist/mutations/removeCouponFromCart.js +15 -0
- package/dist/mutations/removeCouponFromOrder.d.ts +12 -0
- package/dist/mutations/removeCouponFromOrder.d.ts.map +1 -0
- package/dist/mutations/removeCouponFromOrder.js +15 -0
- package/dist/operations/cartOperations.d.ts +10 -0
- package/dist/operations/cartOperations.d.ts.map +1 -1
- package/dist/operations/cartOperations.js +218 -168
- package/dist/operations/orderOperations.d.ts +10 -0
- package/dist/operations/orderOperations.d.ts.map +1 -1
- package/dist/operations/orderOperations.js +245 -195
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/getAutocompletedAddress.d.ts.map +1 -1
- package/dist/utils/getAutocompletedAddress.js +5 -5
- package/package.json +2 -2
|
@@ -1,106 +1,112 @@
|
|
|
1
1
|
import { Afterpay as e } from "./Afterpay.js";
|
|
2
2
|
import { Alipay as p } from "./Alipay.js";
|
|
3
|
-
import { Amex as
|
|
3
|
+
import { Amex as m } from "./Amex.js";
|
|
4
4
|
import { ApplePay as x } from "./ApplePay.js";
|
|
5
|
-
import { Bacs as
|
|
5
|
+
import { Bacs as n } from "./Bacs.js";
|
|
6
6
|
import { Bancontact as y } from "./Bancontact.js";
|
|
7
|
-
import { Bank as
|
|
8
|
-
import { BankTransfer as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
7
|
+
import { Bank as s } from "./Bank.js";
|
|
8
|
+
import { BankTransfer as P } from "./BankTransfer.js";
|
|
9
|
+
import { Belfius as C } from "./Belfius.js";
|
|
10
|
+
import { Billink as G } from "./Billink.js";
|
|
11
|
+
import { CarteBleue as h } from "./CarteBleue.js";
|
|
12
|
+
import { Cash as A } from "./Cash.js";
|
|
13
|
+
import { CashOnDelivery as v } from "./CashOnDelivery.js";
|
|
14
|
+
import { CreditCard as D } from "./CreditCard.js";
|
|
15
|
+
import { DinersClub as V } from "./DinersClub.js";
|
|
16
|
+
import { Discover as W } from "./Discover.js";
|
|
17
|
+
import { DownPayment as q } from "./DownPayment.js";
|
|
18
|
+
import { EPSUberweisung as O } from "./EPSUberweisung.js";
|
|
19
|
+
import { Fashioncheque as z } from "./Fashioncheque.js";
|
|
20
|
+
import { Giftcard as F } from "./Giftcard.js";
|
|
21
|
+
import { Giropay as L } from "./Giropay.js";
|
|
22
|
+
import { GivaCard as U } from "./GivaCard.js";
|
|
23
|
+
import { GooglePay as Z } from "./GooglePay.js";
|
|
24
|
+
import { Ideal as H } from "./Ideal.js";
|
|
25
|
+
import { In3 as Q } from "./In3.js";
|
|
26
|
+
import { Interac as _ } from "./Interac.js";
|
|
27
|
+
import { Jcb as rr } from "./Jcb.js";
|
|
28
|
+
import { Kbc as er } from "./Kbc.js";
|
|
29
|
+
import { Klarna as pr } from "./Klarna.js";
|
|
30
|
+
import { Maestro as mr } from "./Maestro.js";
|
|
31
|
+
import { ManualCard as xr } from "./ManualCard.js";
|
|
32
|
+
import { ManualGiftCard as nr } from "./ManualGiftCard.js";
|
|
33
|
+
import { Mastercard as yr } from "./Mastercard.js";
|
|
34
|
+
import { Multibanco as sr } from "./Multibanco.js";
|
|
35
|
+
import { OnAccount as Pr } from "./OnAccount.js";
|
|
36
|
+
import { Payconiq as Cr } from "./Payconiq.js";
|
|
37
|
+
import { PayLater as Gr } from "./PayLater.js";
|
|
38
|
+
import { PayPal as hr } from "./PayPal.js";
|
|
39
|
+
import { Paysafe as Ar } from "./Paysafe.js";
|
|
40
|
+
import { Pin as vr } from "./Pin.js";
|
|
41
|
+
import { PodiumCadeaukaart as Dr } from "./PodiumCadeaukaart.js";
|
|
42
|
+
import { Postepay as Vr } from "./Postepay.js";
|
|
43
|
+
import { Przelewy24 as Wr } from "./Przelewy24.js";
|
|
44
|
+
import { Riverty as qr } from "./Riverty.js";
|
|
45
|
+
import { Sepa as Or } from "./Sepa.js";
|
|
46
|
+
import { Sofort as zr } from "./Sofort.js";
|
|
47
|
+
import { Spraypay as Fr } from "./Spraypay.js";
|
|
48
|
+
import { Twint as Lr } from "./Twint.js";
|
|
49
|
+
import { Visa as Ur } from "./Visa.js";
|
|
50
|
+
import { VVVCadeaukaart as Zr } from "./VVVCadeaukaart.js";
|
|
51
|
+
import { Walley as Hr } from "./Walley.js";
|
|
52
|
+
import { WebshopGiftcard as Qr } from "./WebshopGiftcard.js";
|
|
53
|
+
import { WeChat as _r } from "./WeChat.js";
|
|
54
|
+
import { YourGift as ro } from "./YourGift.js";
|
|
55
|
+
import { Zip as eo } from "./Zip.js";
|
|
53
56
|
export {
|
|
54
57
|
e as Afterpay,
|
|
55
58
|
p as Alipay,
|
|
56
|
-
|
|
59
|
+
m as Amex,
|
|
57
60
|
x as ApplePay,
|
|
58
|
-
|
|
61
|
+
n as Bacs,
|
|
59
62
|
y as Bancontact,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
A as
|
|
66
|
-
v as
|
|
67
|
-
D as
|
|
68
|
-
V as
|
|
69
|
-
W as
|
|
70
|
-
q as
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
L as
|
|
75
|
-
U as
|
|
76
|
-
Z as
|
|
77
|
-
H as
|
|
78
|
-
Q as
|
|
79
|
-
_ as
|
|
80
|
-
rr as
|
|
81
|
-
er as
|
|
82
|
-
pr as
|
|
83
|
-
|
|
84
|
-
xr as
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
Ar as
|
|
93
|
-
vr as
|
|
94
|
-
Dr as
|
|
95
|
-
Vr as
|
|
96
|
-
Wr as
|
|
97
|
-
qr as
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
Lr as
|
|
102
|
-
Zr as
|
|
103
|
-
Ur as
|
|
104
|
-
Hr as
|
|
105
|
-
|
|
63
|
+
s as Bank,
|
|
64
|
+
P as BankTransfer,
|
|
65
|
+
C as Belfius,
|
|
66
|
+
G as Billink,
|
|
67
|
+
h as CarteBleue,
|
|
68
|
+
A as Cash,
|
|
69
|
+
v as CashOnDelivery,
|
|
70
|
+
D as CreditCard,
|
|
71
|
+
V as DinersClub,
|
|
72
|
+
W as Discover,
|
|
73
|
+
q as DownPayment,
|
|
74
|
+
O as EPSUberweisung,
|
|
75
|
+
z as Fashioncheque,
|
|
76
|
+
F as Giftcard,
|
|
77
|
+
L as Giropay,
|
|
78
|
+
U as GivaCard,
|
|
79
|
+
Z as GooglePay,
|
|
80
|
+
H as Ideal,
|
|
81
|
+
Q as In3,
|
|
82
|
+
_ as Interac,
|
|
83
|
+
rr as Jcb,
|
|
84
|
+
er as Kbc,
|
|
85
|
+
pr as Klarna,
|
|
86
|
+
mr as Maestro,
|
|
87
|
+
xr as ManualCard,
|
|
88
|
+
nr as ManualGiftCard,
|
|
89
|
+
yr as Mastercard,
|
|
90
|
+
sr as Multibanco,
|
|
91
|
+
Pr as OnAccount,
|
|
92
|
+
Gr as PayLater,
|
|
93
|
+
hr as PayPal,
|
|
94
|
+
Cr as Payconiq,
|
|
95
|
+
Ar as Paysafe,
|
|
96
|
+
vr as Pin,
|
|
97
|
+
Dr as PodiumCadeaukaart,
|
|
98
|
+
Vr as Postepay,
|
|
99
|
+
Wr as Przelewy24,
|
|
100
|
+
qr as Riverty,
|
|
101
|
+
Or as Sepa,
|
|
102
|
+
zr as Sofort,
|
|
103
|
+
Fr as Spraypay,
|
|
104
|
+
Lr as Twint,
|
|
105
|
+
Zr as VVVCadeaukaart,
|
|
106
|
+
Ur as Visa,
|
|
107
|
+
Hr as Walley,
|
|
108
|
+
_r as WeChat,
|
|
109
|
+
Qr as WebshopGiftcard,
|
|
110
|
+
ro as YourGift,
|
|
111
|
+
eo as Zip
|
|
106
112
|
};
|