@adyen/adyen-web 5.44.0 → 5.45.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/dist/adyen.css +1 -0
- package/dist/adyen.css.map +1 -1
- package/dist/adyen.js +1 -1
- package/dist/adyen.js.map +1 -1
- package/dist/cjs/adyen.css +1 -0
- package/dist/cjs/adyen.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/es/adyen.css +1 -0
- package/dist/es/adyen.css.map +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es.modern/adyen.css +1 -0
- package/dist/es.modern/adyen.css.map +1 -1
- package/dist/es.modern/index.js +1 -1
- package/dist/types/components/Ach/Ach.d.ts +1 -1
- package/dist/types/components/ApplePay/utils.d.ts +1 -1
- package/dist/types/components/BcmcMobile/BcmcMobile.d.ts +1 -1
- package/dist/types/components/Card/Bancontact.d.ts +1 -1
- package/dist/types/components/Card/Card.d.ts +1 -1
- package/dist/types/components/Card/components/CardInput/components/CardFieldsWrapper.d.ts +2 -1
- package/dist/types/components/Card/components/CardInput/types.d.ts +2 -0
- package/dist/types/components/Card/types.d.ts +11 -0
- package/dist/types/components/CashAppPay/CashAppPay.d.ts +1 -1
- package/dist/types/components/CashAppPay/types.d.ts +10 -0
- package/dist/types/components/ClickToPay/ClickToPay.d.ts +1 -1
- package/dist/types/components/Dragonpay/Dragonpay.d.ts +1 -1
- package/dist/types/components/Dropin/Dropin.d.ts +1 -1
- package/dist/types/components/Dropin/components/PaymentMethod/OrderPaymentMethods.d.ts +2 -1
- package/dist/types/components/Dropin/components/PaymentMethod/useBrandLogoConfiguration.d.ts +6 -0
- package/dist/types/components/Dropin/types.d.ts +5 -0
- package/dist/types/components/DuitNow/DuitNow.d.ts +1 -1
- package/dist/types/components/Giftcard/components/GiftcardPinField.d.ts +1 -1
- package/dist/types/components/Giftcard/components/types.d.ts +2 -0
- package/dist/types/components/Klarna/types.d.ts +2 -0
- package/dist/types/components/PayNow/PayNow.d.ts +1 -1
- package/dist/types/components/PromptPay/PromptPay.d.ts +1 -1
- package/dist/types/components/Swish/Swish.d.ts +1 -1
- package/dist/types/components/WeChat/WeChat.d.ts +1 -1
- package/dist/types/components/internal/Address/components/AddressSearch.d.ts +16 -0
- package/dist/types/components/internal/Address/types.d.ts +6 -0
- package/dist/types/components/internal/Address/utils.d.ts +2 -0
- package/dist/types/components/internal/FormFields/Select/Select.d.ts +1 -1
- package/dist/types/components/internal/FormFields/Select/types.d.ts +3 -0
- package/dist/types/components/internal/IbanInput/specifications.d.ts +426 -0
- package/dist/types/components/internal/IbanInput/utils.d.ts +45 -0
- package/dist/types/components/internal/SecuredFields/lib/utilities/commonUtils.d.ts +45 -0
- package/dist/types/components/internal/SecuredFields/lib/utilities/dom.d.ts +7 -0
- package/dist/types/components/internal/SecuredFields/lib/utilities/logger.d.ts +23 -1
- package/dist/types/components/internal/SecuredFields/utils.d.ts +15 -0
- package/dist/types/components/types.d.ts +15 -1
- package/dist/types/core/core.d.ts +37 -0
- package/dist/types/core/types.d.ts +8 -0
- package/dist/types/language/config.d.ts +3 -0
- package/dist/types/language/locales/index.d.ts +6 -0
- package/dist/types/language/utils.d.ts +11 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/utils/amount-util.d.ts +28 -1
- package/dist/types/utils/base64.d.ts +8 -0
- package/package.json +1 -1
|
@@ -2970,6 +2970,9 @@ declare const _default: {
|
|
|
2970
2970
|
provinceOrTerritory: string;
|
|
2971
2971
|
cityTown: string;
|
|
2972
2972
|
address: string;
|
|
2973
|
+
"address.placeholder": string;
|
|
2974
|
+
"address.errors.incomplete": string;
|
|
2975
|
+
"address.enterManually": string;
|
|
2973
2976
|
state: string;
|
|
2974
2977
|
"field.title.optional": string;
|
|
2975
2978
|
"creditCard.cvcField.title.optional": string;
|
|
@@ -3260,6 +3263,9 @@ declare const _default: {
|
|
|
3260
3263
|
provinceOrTerritory: string;
|
|
3261
3264
|
cityTown: string;
|
|
3262
3265
|
address: string;
|
|
3266
|
+
"address.placeholder": string;
|
|
3267
|
+
"address.errors.incomplete": string;
|
|
3268
|
+
"address.enterManually": string;
|
|
3263
3269
|
state: string;
|
|
3264
3270
|
"field.title.optional": string;
|
|
3265
3271
|
"creditCard.cvcField.title.optional": string;
|
|
@@ -32,6 +32,17 @@ export declare function parseLocale(locale: string, supportedLocales?: string[])
|
|
|
32
32
|
* @param supportedLocales -
|
|
33
33
|
*/
|
|
34
34
|
export declare function formatCustomTranslations(customTranslations: object, supportedLocales: string[]): object;
|
|
35
|
+
/**
|
|
36
|
+
* Returns a translation string by key
|
|
37
|
+
* @param translations -
|
|
38
|
+
* @param key -
|
|
39
|
+
* @param options -
|
|
40
|
+
*
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
export declare const getTranslation: (translations: object, key: string, options?: {
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
}) => string;
|
|
35
46
|
/**
|
|
36
47
|
* Returns an Object which contains all the key/values of the translation labels
|
|
37
48
|
*
|
|
@@ -1 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
* @param currencyCode -
|
|
4
|
+
* Get divider amount
|
|
5
|
+
*/
|
|
6
|
+
export declare const getDivider: (currencyCode: string) => number;
|
|
7
|
+
/**
|
|
8
|
+
* @internal
|
|
9
|
+
* @param currencyCode -
|
|
10
|
+
* Returns whether a CURRENCY CODE is valid
|
|
11
|
+
*/
|
|
12
|
+
export declare const isValidCurrencyCode: (currencyCode: string) => boolean;
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
export declare const getCurrencyCode: (currencyCode: string) => string;
|
|
17
|
+
/**
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
20
|
+
export declare const getDecimalAmount: (amount: number | string, currencyCode: string) => number;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
export declare const getLocalisedAmount: (amount: number, locale: string, currencyCode: string, options?: {}) => string;
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
export declare const getLocalisedPercentage: (percent: number, locale: string) => string;
|
package/package.json
CHANGED