@afosto/checkout-ui 0.0.14 → 0.0.16
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 +333 -1
- package/dist/CheckoutAddressFields/CheckoutAddressFields.d.ts.map +1 -1
- package/dist/CheckoutAddressFields/CheckoutAddressFields.js +59 -57
- package/dist/CheckoutAgreementOptionCondition/CheckoutAgreementOptionCondition.d.ts +1 -1
- package/dist/CheckoutAgreementOptionCondition/CheckoutAgreementOptionCondition.js +23 -23
- package/dist/CheckoutAgreementsTimeline/CheckoutAgreementsTimeline.js +10 -10
- package/dist/CheckoutShippingMethodSection/CheckoutShippingMethodSection.d.ts +1 -1
- package/dist/CheckoutShippingMethodSection/CheckoutShippingMethodSection.d.ts.map +1 -1
- package/dist/CheckoutShippingMethodsField/CheckoutShippingMethodsField.d.ts +1 -1
- package/dist/CheckoutShippingMethodsField/CheckoutShippingMethodsField.d.ts.map +1 -1
- package/dist/CheckoutShippingMethodsField/CheckoutShippingMethodsField.js +78 -77
- package/dist/constants/paymentMethodIconMapping.d.ts +9 -0
- package/dist/constants/paymentMethodIconMapping.d.ts.map +1 -1
- package/dist/constants/paymentMethodIconMapping.js +76 -58
- package/dist/hooks/useCheckoutShippingMethods.d.ts +2 -1
- package/dist/hooks/useCheckoutShippingMethods.d.ts.map +1 -1
- package/dist/hooks/useCheckoutShippingMethods.js +110 -67
- package/dist/icons/index.js +178 -160
- package/dist/icons/paymentMethods/Alma.d.ts +3 -0
- package/dist/icons/paymentMethods/Alma.d.ts.map +1 -0
- package/dist/icons/paymentMethods/Alma.js +15 -0
- package/dist/icons/paymentMethods/Bancomat.d.ts +3 -0
- package/dist/icons/paymentMethods/Bancomat.d.ts.map +1 -0
- package/dist/icons/paymentMethods/Bancomat.js +15 -0
- package/dist/icons/paymentMethods/Bizum.d.ts +3 -0
- package/dist/icons/paymentMethods/Bizum.d.ts.map +1 -0
- package/dist/icons/paymentMethods/Bizum.js +28 -0
- package/dist/icons/paymentMethods/Blik.d.ts +3 -0
- package/dist/icons/paymentMethods/Blik.d.ts.map +1 -0
- package/dist/icons/paymentMethods/Blik.js +59 -0
- package/dist/icons/paymentMethods/ClickToPay.d.ts +3 -0
- package/dist/icons/paymentMethods/ClickToPay.d.ts.map +1 -0
- package/dist/icons/paymentMethods/ClickToPay.js +35 -0
- package/dist/icons/paymentMethods/MBWay.d.ts +3 -0
- package/dist/icons/paymentMethods/MBWay.d.ts.map +1 -0
- package/dist/icons/paymentMethods/MBWay.js +65 -0
- package/dist/icons/paymentMethods/MobilePay.d.ts +3 -0
- package/dist/icons/paymentMethods/MobilePay.d.ts.map +1 -0
- package/dist/icons/paymentMethods/MobilePay.js +103 -0
- package/dist/icons/paymentMethods/Satispay.d.ts +3 -0
- package/dist/icons/paymentMethods/Satispay.d.ts.map +1 -0
- package/dist/icons/paymentMethods/Satispay.js +15 -0
- package/dist/icons/paymentMethods/Vipps.d.ts +3 -0
- package/dist/icons/paymentMethods/Vipps.d.ts.map +1 -0
- package/dist/icons/paymentMethods/Vipps.js +15 -0
- package/dist/icons/paymentMethods/index.d.ts +9 -0
- package/dist/icons/paymentMethods/index.d.ts.map +1 -1
- package/dist/icons/paymentMethods/index.js +124 -106
- package/dist/index.js +356 -338
- package/dist/operations/cartOperations.d.ts.map +1 -1
- package/dist/operations/cartOperations.js +4 -6
- package/dist/operations/orderOperations.d.ts.map +1 -1
- package/dist/operations/orderOperations.js +4 -6
- package/dist/queries/getCartShippingMethodsQuery.d.ts +0 -1
- package/dist/queries/getCartShippingMethodsQuery.d.ts.map +1 -1
- package/dist/queries/getCartShippingMethodsQuery.js +6 -29
- package/dist/queries/getOrderShippingMethodsQuery.d.ts +0 -1
- package/dist/queries/getOrderShippingMethodsQuery.d.ts.map +1 -1
- package/dist/queries/getOrderShippingMethodsQuery.js +4 -27
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,95 +1,138 @@
|
|
|
1
|
-
import { useState as
|
|
2
|
-
import { useCheckout as
|
|
3
|
-
import { useGetLatest as
|
|
4
|
-
import { isDefined as
|
|
5
|
-
import { useFormContext as
|
|
6
|
-
const
|
|
7
|
-
countryCode:
|
|
8
|
-
postalCode:
|
|
1
|
+
import { useState as p, useRef as O, useCallback as z, useEffect as Q } from "react";
|
|
2
|
+
import { useCheckout as T } from "../CheckoutStateProvider/CheckoutStateProvider.js";
|
|
3
|
+
import { useGetLatest as B, useAsyncDebounce as W } from "@afosto/hooks";
|
|
4
|
+
import { isDefined as x } from "@afosto/utils";
|
|
5
|
+
import { useFormContext as X } from "@afosto/components";
|
|
6
|
+
const et = ({
|
|
7
|
+
countryCode: o,
|
|
8
|
+
postalCode: u
|
|
9
9
|
}) => {
|
|
10
|
-
const [
|
|
10
|
+
const [C, f] = p(!1), [L, k] = p(!0), [R, a] = p(!1), [V, n] = p([]), [q, D] = p([]), S = O(0), {
|
|
11
11
|
activeStep: y,
|
|
12
12
|
addShippingMethod: A,
|
|
13
|
-
getPickupPoints:
|
|
14
|
-
getShippingMethods:
|
|
15
|
-
setSubmitButtonDisabled:
|
|
16
|
-
} =
|
|
13
|
+
getPickupPoints: E,
|
|
14
|
+
getShippingMethods: G,
|
|
15
|
+
setSubmitButtonDisabled: F
|
|
16
|
+
} = T(), h = B({
|
|
17
17
|
activeStep: y,
|
|
18
18
|
addShippingMethod: A,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
getPickupPoints: E,
|
|
20
|
+
getShippingMethods: G,
|
|
21
|
+
setSubmitButtonDisabled: F
|
|
22
|
+
}), H = X(), r = B(H), M = z(
|
|
23
|
+
async ({
|
|
24
|
+
searchValue: e,
|
|
25
|
+
clearUnavailablePickupPoint: i = !1
|
|
26
|
+
} = {}) => {
|
|
27
|
+
const b = ++S.current, d = () => b === S.current;
|
|
28
|
+
try {
|
|
29
|
+
f(!1), a(!0);
|
|
30
|
+
const { getPickupPoints: P } = h(), g = await P({
|
|
31
|
+
countryCode: o,
|
|
32
|
+
postalCode: x(e) ? e : u ?? ""
|
|
33
|
+
}), { pickupPoints: l } = g || {};
|
|
34
|
+
if (!d())
|
|
35
|
+
return;
|
|
36
|
+
if (i) {
|
|
37
|
+
const { getValues: s, setValue: c } = r() || {}, { pickupPointId: t } = s() || {};
|
|
38
|
+
x(t) && !(l ?? []).some(
|
|
39
|
+
(I) => I.id === t
|
|
40
|
+
) && c("pickupPointId", "");
|
|
41
|
+
}
|
|
42
|
+
n(l ?? []), a(!1);
|
|
43
|
+
} catch {
|
|
44
|
+
if (!d())
|
|
45
|
+
return;
|
|
46
|
+
f(!0), n([]), a(!1);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
[o, h, r, u]
|
|
50
|
+
), m = z(
|
|
51
|
+
(e) => {
|
|
52
|
+
if (n([]), e?.isPickupPoint) {
|
|
53
|
+
M();
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
S.current++, f(!1), a(!1);
|
|
57
|
+
},
|
|
58
|
+
[M]
|
|
59
|
+
);
|
|
60
|
+
Q(() => {
|
|
61
|
+
o && (async () => {
|
|
24
62
|
const {
|
|
25
|
-
activeStep:
|
|
26
|
-
addShippingMethod:
|
|
27
|
-
getShippingMethods:
|
|
28
|
-
setSubmitButtonDisabled:
|
|
29
|
-
} =
|
|
63
|
+
activeStep: i,
|
|
64
|
+
addShippingMethod: b,
|
|
65
|
+
getShippingMethods: d,
|
|
66
|
+
setSubmitButtonDisabled: P
|
|
67
|
+
} = h();
|
|
30
68
|
try {
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
69
|
+
const g = await d({
|
|
70
|
+
countryCode: o,
|
|
71
|
+
postalCode: u ?? ""
|
|
72
|
+
}), {
|
|
73
|
+
currentShippingMethod: l,
|
|
74
|
+
shippingMethods: s
|
|
75
|
+
} = g || {};
|
|
76
|
+
if (D(s), !s.length) {
|
|
77
|
+
P(!0), k(!1);
|
|
37
78
|
return;
|
|
38
79
|
}
|
|
39
|
-
let
|
|
40
|
-
(
|
|
80
|
+
let c = s.find(
|
|
81
|
+
(t) => t.id === l?.id
|
|
41
82
|
);
|
|
42
|
-
if (!
|
|
43
|
-
const [
|
|
83
|
+
if (!x(c)) {
|
|
84
|
+
const [t] = s;
|
|
44
85
|
try {
|
|
45
|
-
const
|
|
46
|
-
await
|
|
47
|
-
const
|
|
48
|
-
methodId:
|
|
49
|
-
isPickupPoint:
|
|
86
|
+
const I = r(), { formProps: j, getValues: J, reset: K } = I || {}, { setData: N } = j || {};
|
|
87
|
+
await b({ methodId: t.id }), c = t;
|
|
88
|
+
const w = {
|
|
89
|
+
methodId: t.id,
|
|
90
|
+
isPickupPoint: t.isPickupPoint,
|
|
50
91
|
pickupPointId: ""
|
|
51
92
|
};
|
|
52
|
-
|
|
53
|
-
...
|
|
54
|
-
...
|
|
55
|
-
}),
|
|
56
|
-
...
|
|
57
|
-
...
|
|
58
|
-
}),
|
|
93
|
+
K({
|
|
94
|
+
...J(),
|
|
95
|
+
...w
|
|
96
|
+
}), N((v) => (v.splice(i, 1, {
|
|
97
|
+
...v[i],
|
|
98
|
+
...w
|
|
99
|
+
}), v));
|
|
59
100
|
} catch {
|
|
60
101
|
}
|
|
61
102
|
}
|
|
62
|
-
|
|
103
|
+
m(c), k(!1);
|
|
63
104
|
} catch {
|
|
64
|
-
|
|
105
|
+
P(!0), n([]), D([]), k(!1);
|
|
65
106
|
}
|
|
66
107
|
})();
|
|
67
|
-
}, [
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
108
|
+
}, [
|
|
109
|
+
o,
|
|
110
|
+
h,
|
|
111
|
+
r,
|
|
112
|
+
m,
|
|
113
|
+
u
|
|
114
|
+
]);
|
|
115
|
+
const U = W(
|
|
116
|
+
async (e) => {
|
|
117
|
+
const { value: i } = e?.target || {};
|
|
118
|
+
await M({
|
|
119
|
+
searchValue: i,
|
|
120
|
+
clearUnavailablePickupPoint: !0
|
|
121
|
+
});
|
|
80
122
|
},
|
|
81
123
|
250
|
|
82
124
|
);
|
|
83
125
|
return {
|
|
84
|
-
hasSearchPickupPointsError:
|
|
85
|
-
isInitializingShippingMethods:
|
|
86
|
-
isSearchingPickupPoints:
|
|
126
|
+
hasSearchPickupPointsError: C,
|
|
127
|
+
isInitializingShippingMethods: L,
|
|
128
|
+
isSearchingPickupPoints: R,
|
|
129
|
+
loadPickupPointsForShippingMethod: m,
|
|
87
130
|
pickupPoints: V,
|
|
88
|
-
searchPickupPoints:
|
|
89
|
-
setPickupPoints:
|
|
90
|
-
shippingMethods:
|
|
131
|
+
searchPickupPoints: U,
|
|
132
|
+
setPickupPoints: n,
|
|
133
|
+
shippingMethods: q
|
|
91
134
|
};
|
|
92
135
|
};
|
|
93
136
|
export {
|
|
94
|
-
|
|
137
|
+
et as useCheckoutShippingMethods
|
|
95
138
|
};
|
package/dist/icons/index.js
CHANGED
|
@@ -1,166 +1,184 @@
|
|
|
1
1
|
import { Afterpay as e } from "./paymentMethods/Afterpay.js";
|
|
2
2
|
import { Alipay as p } from "./paymentMethods/Alipay.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
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 {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
3
|
+
import { Alma as m } from "./paymentMethods/Alma.js";
|
|
4
|
+
import { Amex as a } from "./paymentMethods/Amex.js";
|
|
5
|
+
import { ApplePay as l } from "./paymentMethods/ApplePay.js";
|
|
6
|
+
import { Bacs as s } from "./paymentMethods/Bacs.js";
|
|
7
|
+
import { Bancomat as d } from "./paymentMethods/Bancomat.js";
|
|
8
|
+
import { Bancontact as u } from "./paymentMethods/Bancontact.js";
|
|
9
|
+
import { Bank as P } from "./paymentMethods/Bank.js";
|
|
10
|
+
import { BankTransfer as C } from "./paymentMethods/BankTransfer.js";
|
|
11
|
+
import { Belfius as B } from "./paymentMethods/Belfius.js";
|
|
12
|
+
import { Billink as D } from "./paymentMethods/Billink.js";
|
|
13
|
+
import { Bizum as R } from "./paymentMethods/Bizum.js";
|
|
14
|
+
import { Blik as k } from "./paymentMethods/Blik.js";
|
|
15
|
+
import { CarteBleue as w } from "./paymentMethods/CarteBleue.js";
|
|
16
|
+
import { Cash as v } from "./paymentMethods/Cash.js";
|
|
17
|
+
import { CashOnDelivery as V } from "./paymentMethods/CashOnDelivery.js";
|
|
18
|
+
import { ClickToPay as I } from "./paymentMethods/ClickToPay.js";
|
|
19
|
+
import { CreditCard as z } from "./paymentMethods/CreditCard.js";
|
|
20
|
+
import { DinersClub as F } from "./paymentMethods/DinersClub.js";
|
|
21
|
+
import { Discover as O } from "./paymentMethods/Discover.js";
|
|
22
|
+
import { DownPayment as J } from "./paymentMethods/DownPayment.js";
|
|
23
|
+
import { EPSUberweisung as Z } from "./paymentMethods/EPSUberweisung.js";
|
|
24
|
+
import { Fashioncheque as H } from "./paymentMethods/Fashioncheque.js";
|
|
25
|
+
import { Giftcard as Q } from "./paymentMethods/Giftcard.js";
|
|
26
|
+
import { Giropay as _ } from "./paymentMethods/Giropay.js";
|
|
27
|
+
import { GivaCard as oo } from "./paymentMethods/GivaCard.js";
|
|
28
|
+
import { GooglePay as eo } from "./paymentMethods/GooglePay.js";
|
|
29
|
+
import { Ideal as po } from "./paymentMethods/Ideal.js";
|
|
30
|
+
import { In3 as mo } from "./paymentMethods/In3.js";
|
|
31
|
+
import { Interac as ao } from "./paymentMethods/Interac.js";
|
|
32
|
+
import { Jcb as lo } from "./paymentMethods/Jcb.js";
|
|
33
|
+
import { Kbc as so } from "./paymentMethods/Kbc.js";
|
|
34
|
+
import { Klarna as co } from "./paymentMethods/Klarna.js";
|
|
35
|
+
import { Maestro as go } from "./paymentMethods/Maestro.js";
|
|
36
|
+
import { ManualCard as ho } from "./paymentMethods/ManualCard.js";
|
|
37
|
+
import { ManualGiftCard as So } from "./paymentMethods/ManualGiftCard.js";
|
|
38
|
+
import { Mastercard as Ao } from "./paymentMethods/Mastercard.js";
|
|
39
|
+
import { MBWay as Mo } from "./paymentMethods/MBWay.js";
|
|
40
|
+
import { MobilePay as bo } from "./paymentMethods/MobilePay.js";
|
|
41
|
+
import { Multibanco as Go } from "./paymentMethods/Multibanco.js";
|
|
42
|
+
import { OnAccount as Lo } from "./paymentMethods/OnAccount.js";
|
|
43
|
+
import { Payconiq as To } from "./paymentMethods/Payconiq.js";
|
|
44
|
+
import { PayLater as Wo } from "./paymentMethods/PayLater.js";
|
|
45
|
+
import { PayPal as qo } from "./paymentMethods/PayPal.js";
|
|
46
|
+
import { Paysafe as Eo } from "./paymentMethods/Paysafe.js";
|
|
47
|
+
import { Pin as Ko } from "./paymentMethods/Pin.js";
|
|
48
|
+
import { PodiumCadeaukaart as Uo } from "./paymentMethods/PodiumCadeaukaart.js";
|
|
49
|
+
import { Postepay as Yo } from "./paymentMethods/Postepay.js";
|
|
50
|
+
import { Przelewy24 as jo } from "./paymentMethods/Przelewy24.js";
|
|
51
|
+
import { Riverty as No } from "./paymentMethods/Riverty.js";
|
|
52
|
+
import { Satispay as Xo } from "./paymentMethods/Satispay.js";
|
|
53
|
+
import { Sepa as $o } from "./paymentMethods/Sepa.js";
|
|
54
|
+
import { Sofort as rr } from "./paymentMethods/Sofort.js";
|
|
55
|
+
import { Spraypay as tr } from "./paymentMethods/Spraypay.js";
|
|
56
|
+
import { Twint as fr } from "./paymentMethods/Twint.js";
|
|
57
|
+
import { Vipps as xr } from "./paymentMethods/Vipps.js";
|
|
58
|
+
import { Visa as ir } from "./paymentMethods/Visa.js";
|
|
59
|
+
import { VVVCadeaukaart as nr } from "./paymentMethods/VVVCadeaukaart.js";
|
|
60
|
+
import { Walley as yr } from "./paymentMethods/Walley.js";
|
|
61
|
+
import { WebshopGiftcard as cr } from "./paymentMethods/WebshopGiftcard.js";
|
|
62
|
+
import { WeChat as gr } from "./paymentMethods/WeChat.js";
|
|
63
|
+
import { YourGift as hr } from "./paymentMethods/YourGift.js";
|
|
64
|
+
import { Zip as Sr } from "./paymentMethods/Zip.js";
|
|
65
|
+
import { AngleDownRegular as Ar } from "./AngleDownRegular.js";
|
|
66
|
+
import { AngleRightLight as Mr } from "./AngleRightLight.js";
|
|
67
|
+
import { AngleRightRegular as br } from "./AngleRightRegular.js";
|
|
68
|
+
import { AngleRightSolid as Gr } from "./AngleRightSolid.js";
|
|
69
|
+
import { CheckSolid as Lr } from "./CheckSolid.js";
|
|
70
|
+
import { LongArrowLeftSolid as Tr } from "./LongArrowLeftSolid.js";
|
|
71
|
+
import { MinusSolid as Wr } from "./MinusSolid.js";
|
|
72
|
+
import { PayPalExpress as qr } from "./PayPalExpress.js";
|
|
73
|
+
import { PlusSolid as Er } from "./PlusSolid.js";
|
|
74
|
+
import { SearchRegular as Kr } from "./SearchRegular.js";
|
|
75
|
+
import { ShoppingCartLight as Ur } from "./ShoppingCartLight.js";
|
|
76
|
+
import { TimesLight as Yr } from "./TimesLight.js";
|
|
77
|
+
import { TurnDownRightSolid as jr } from "./TurnDownRightSolid.js";
|
|
78
|
+
import { Afosto as Nr } from "./carriers/Afosto.js";
|
|
79
|
+
import { Bpost as Xr } from "./carriers/Bpost.js";
|
|
80
|
+
import { Budbee as $r } from "./carriers/Budbee.js";
|
|
81
|
+
import { Cycloon as re } from "./carriers/Cycloon.js";
|
|
82
|
+
import { DeliveryMatch as te } from "./carriers/DeliveryMatch.js";
|
|
83
|
+
import { Dgo as fe } from "./carriers/Dgo.js";
|
|
84
|
+
import { Dhl as xe } from "./carriers/Dhl.js";
|
|
85
|
+
import { Dpd as ie } from "./carriers/Dpd.js";
|
|
86
|
+
import { Fedex as ne } from "./carriers/Fedex.js";
|
|
87
|
+
import { Gls as ye } from "./carriers/Gls.js";
|
|
88
|
+
import { MondialRelay as ce } from "./carriers/MondialRelay.js";
|
|
89
|
+
import { Postnl as ge } from "./carriers/Postnl.js";
|
|
90
|
+
import { Sendcloud as he } from "./carriers/Sendcloud.js";
|
|
91
|
+
import { Ups as Se } from "./carriers/Ups.js";
|
|
83
92
|
export {
|
|
84
|
-
|
|
93
|
+
Nr as Afosto,
|
|
85
94
|
e as Afterpay,
|
|
86
95
|
p as Alipay,
|
|
87
|
-
m as
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
l as
|
|
94
|
-
s as
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
C as
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
96
|
+
m as Alma,
|
|
97
|
+
a as Amex,
|
|
98
|
+
Ar as AngleDownRegular,
|
|
99
|
+
Mr as AngleRightLight,
|
|
100
|
+
br as AngleRightRegular,
|
|
101
|
+
Gr as AngleRightSolid,
|
|
102
|
+
l as ApplePay,
|
|
103
|
+
s as Bacs,
|
|
104
|
+
d as Bancomat,
|
|
105
|
+
u as Bancontact,
|
|
106
|
+
P as Bank,
|
|
107
|
+
C as BankTransfer,
|
|
108
|
+
B as Belfius,
|
|
109
|
+
D as Billink,
|
|
110
|
+
R as Bizum,
|
|
111
|
+
k as Blik,
|
|
112
|
+
Xr as Bpost,
|
|
113
|
+
$r as Budbee,
|
|
114
|
+
w as CarteBleue,
|
|
115
|
+
v as Cash,
|
|
116
|
+
V as CashOnDelivery,
|
|
117
|
+
Lr as CheckSolid,
|
|
118
|
+
I as ClickToPay,
|
|
119
|
+
z as CreditCard,
|
|
120
|
+
re as Cycloon,
|
|
121
|
+
te as DeliveryMatch,
|
|
122
|
+
fe as Dgo,
|
|
123
|
+
xe as Dhl,
|
|
124
|
+
F as DinersClub,
|
|
125
|
+
O as Discover,
|
|
126
|
+
J as DownPayment,
|
|
127
|
+
ie as Dpd,
|
|
128
|
+
Z as EPSUberweisung,
|
|
129
|
+
H as Fashioncheque,
|
|
130
|
+
ne as Fedex,
|
|
131
|
+
Q as Giftcard,
|
|
132
|
+
_ as Giropay,
|
|
133
|
+
oo as GivaCard,
|
|
134
|
+
ye as Gls,
|
|
135
|
+
eo as GooglePay,
|
|
136
|
+
po as Ideal,
|
|
137
|
+
mo as In3,
|
|
138
|
+
ao as Interac,
|
|
139
|
+
lo as Jcb,
|
|
140
|
+
so as Kbc,
|
|
141
|
+
co as Klarna,
|
|
142
|
+
Tr as LongArrowLeftSolid,
|
|
143
|
+
Mo as MBWay,
|
|
144
|
+
go as Maestro,
|
|
145
|
+
ho as ManualCard,
|
|
146
|
+
So as ManualGiftCard,
|
|
147
|
+
Ao as Mastercard,
|
|
148
|
+
Wr as MinusSolid,
|
|
149
|
+
bo as MobilePay,
|
|
150
|
+
ce as MondialRelay,
|
|
151
|
+
Go as Multibanco,
|
|
152
|
+
Lo as OnAccount,
|
|
153
|
+
Wo as PayLater,
|
|
154
|
+
qo as PayPal,
|
|
155
|
+
qr as PayPalExpress,
|
|
156
|
+
To as Payconiq,
|
|
157
|
+
Eo as Paysafe,
|
|
158
|
+
Ko as Pin,
|
|
159
|
+
Er as PlusSolid,
|
|
160
|
+
Uo as PodiumCadeaukaart,
|
|
161
|
+
Yo as Postepay,
|
|
162
|
+
ge as Postnl,
|
|
163
|
+
jo as Przelewy24,
|
|
164
|
+
No as Riverty,
|
|
165
|
+
Xo as Satispay,
|
|
166
|
+
Kr as SearchRegular,
|
|
167
|
+
he as Sendcloud,
|
|
168
|
+
$o as Sepa,
|
|
169
|
+
Ur as ShoppingCartLight,
|
|
170
|
+
rr as Sofort,
|
|
171
|
+
tr as Spraypay,
|
|
172
|
+
Yr as TimesLight,
|
|
173
|
+
jr as TurnDownRightSolid,
|
|
174
|
+
fr as Twint,
|
|
175
|
+
Se as Ups,
|
|
176
|
+
nr as VVVCadeaukaart,
|
|
177
|
+
xr as Vipps,
|
|
178
|
+
ir as Visa,
|
|
179
|
+
yr as Walley,
|
|
180
|
+
gr as WeChat,
|
|
181
|
+
cr as WebshopGiftcard,
|
|
182
|
+
hr as YourGift,
|
|
183
|
+
Sr as Zip
|
|
166
184
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alma.d.ts","sourceRoot":"","sources":["../../../src/icons/paymentMethods/Alma.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEhE,eAAO,MAAM,IAAI,GAAI,OAAO,YAAY,qDAQvC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsxs as v, jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { SvgIcon as l } from "@afosto/components";
|
|
3
|
+
const m = (h) => /* @__PURE__ */ v(l, { ...h, viewBox: "0 0 30 20", children: [
|
|
4
|
+
/* @__PURE__ */ c("rect", { width: "28", height: "20", fill: "#fa5022", rx: "4" }),
|
|
5
|
+
/* @__PURE__ */ c(
|
|
6
|
+
"path",
|
|
7
|
+
{
|
|
8
|
+
fill: "#fff",
|
|
9
|
+
d: "M23.498 8.32v.609a1.87 1.87 0 0 0-1.485-.719c-1.182 0-2.099 1.026-2.099 2.292s.917 2.292 2.1 2.292c.655 0 1.2-.316 1.557-.814v.704h1.13V8.32zm-1.191 3.38c-.657 0-1.19-.536-1.19-1.198s.532-1.199 1.19-1.199 1.19.537 1.19 1.199-.532 1.199-1.19 1.199M9.631 7.11h1.203v5.573H9.63zm2.587 3.1c0-1.199.76-1.999 1.811-1.999.653 0 1.17.281 1.48.761.312-.48.827-.76 1.48-.76 1.052 0 1.811.799 1.811 1.999v2.473h-1.203v-2.6c0-.468-.32-.773-.743-.773s-.743.306-.743.773v2.6h-1.204v-2.6c0-.468-.32-.773-.743-.773s-.743.306-.743.773v2.6h-1.203zM7.451 8.367C7.166 7.331 6.564 7 5.991 7c-.574 0-1.176.331-1.461 1.366l-1.237 4.319h1.219c.199-.722.81-1.123 1.479-1.123.667 0 1.28.402 1.478 1.123h1.22zm-1.46 2.19c-.389 0-.74.142-1 .374l.7-2.513c.066-.24.165-.317.3-.317.136 0 .235.076.302.317l.698 2.513a1.5 1.5 0 0 0-1-.375"
|
|
10
|
+
}
|
|
11
|
+
)
|
|
12
|
+
] });
|
|
13
|
+
export {
|
|
14
|
+
m as Alma
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bancomat.d.ts","sourceRoot":"","sources":["../../../src/icons/paymentMethods/Bancomat.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEhE,eAAO,MAAM,QAAQ,GAAI,OAAO,YAAY,qDAQ3C,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsxs as o, jsx as h } from "react/jsx-runtime";
|
|
2
|
+
import { SvgIcon as t } from "@afosto/components";
|
|
3
|
+
const i = (l) => /* @__PURE__ */ o(t, { ...l, viewBox: "0 0 30 20", children: [
|
|
4
|
+
/* @__PURE__ */ h("rect", { width: "28", height: "20", fill: "#002d73", rx: "4" }),
|
|
5
|
+
/* @__PURE__ */ h(
|
|
6
|
+
"path",
|
|
7
|
+
{
|
|
8
|
+
fill: "#fff",
|
|
9
|
+
d: "m19.76 9.43-5.2-5.2a.8.8 0 0 0-1.14 0l-5.18 5.2a.8.8 0 0 0 0 1.14l5.19 5.2a.8.8 0 0 0 1.14 0l5.2-5.2a.8.8 0 0 0 0-1.14m-3.54 1.81c-.13 1.1-.92 1.62-2.2 1.62H11.4l.15-1.21h2.58q.5-.01.55-.56V11h1.56zm1.06-.7h-5.61l.13-1.1h2.52c.35 0 .48-.25.52-.56.04-.3 0-.5-.4-.5h-2.51l.15-1.26h2.57c1.47 0 1.86.63 1.76 1.48q-.04.46-.28.85h.15a.97.97 0 0 1 .97 1.1z"
|
|
10
|
+
}
|
|
11
|
+
)
|
|
12
|
+
] });
|
|
13
|
+
export {
|
|
14
|
+
i as Bancomat
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bizum.d.ts","sourceRoot":"","sources":["../../../src/icons/paymentMethods/Bizum.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEhE,eAAO,MAAM,KAAK,GAAI,OAAO,YAAY,qDAkBxC,CAAC"}
|