@xsolla/payment-client-core 0.2.72 → 0.2.73
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/esm2022/lib/core/payment/form/converters/birth-date/birth-date.converter.mjs +7 -7
- package/esm2022/lib/core/payment/form/converters/card-expiration/card-expiration.converter.mjs +4 -3
- package/esm2022/lib/core/payment/form/converters/card-month/card-month.converter.mjs +4 -3
- package/esm2022/lib/core/payment/form/converters/card-year/card-year.converter.mjs +4 -3
- package/esm2022/lib/core/payment/form/converters/checkbox/checkbox.converter.mjs +4 -6
- package/esm2022/lib/core/payment/form/converters/converter.abstract.mjs +1 -3
- package/esm2022/lib/core/payment/form/converters/coupon/coupon.converter.mjs +3 -2
- package/esm2022/lib/core/payment/form/converters/cpf-name/cpf-name.converter.mjs +7 -7
- package/esm2022/lib/core/payment/form/converters/cpf-number/cpf-number.converter.mjs +4 -3
- package/esm2022/lib/core/payment/form/converters/cvv/cvv.converter.mjs +5 -7
- package/esm2022/lib/core/payment/form/converters/street-number/street-number.converter.mjs +3 -5
- package/esm2022/lib/core/payment/form/converters/zip/zip.converter.mjs +4 -6
- package/esm2022/lib/core/payment/form/validators/birth-date/birth-date.validator.mjs +4 -6
- package/esm2022/lib/core/payment/form/validators/card-expiration-date-validator/card-expiration-date.validator.mjs +9 -18
- package/esm2022/lib/core/payment/form/validators/card-month/card-month.validator.mjs +6 -11
- package/esm2022/lib/core/payment/form/validators/card-year/card-year.validator.mjs +6 -11
- package/esm2022/lib/core/payment/form/validators/coupon/coupon-validator.mjs +5 -6
- package/esm2022/lib/core/payment/form/validators/credit-card-length/credit-card-max-length.validator.mjs +3 -4
- package/esm2022/lib/core/payment/form/validators/credit-card-length/credit-card-min-length.validator.mjs +3 -4
- package/esm2022/lib/core/payment/form/validators/email/email-validator.mjs +4 -5
- package/esm2022/lib/core/payment/form/validators/luhn-formula-validator/luhn-formula.validator.mjs +3 -6
- package/esm2022/lib/core/payment/form/validators/max-length-validator.mjs +3 -4
- package/esm2022/lib/core/payment/form/validators/min-length-validator.mjs +3 -4
- package/esm2022/lib/core/payment/form/validators/phone-validator.mjs +3 -5
- package/esm2022/lib/core/payment/form/validators/required/required.validator.mjs +4 -5
- package/esm2022/lib/core/payment/form/validators/restricted-value/restricted-value.validator.mjs +10 -2
- package/esm2022/lib/core/payment/form/validators/validation-error-params.interface.mjs +1 -1
- package/esm2022/lib/core/settings/configuration.interface.mjs +1 -1
- package/esm2022/lib/core-library.module.mjs +32 -2
- package/esm2022/lib/core-library.service.mjs +9 -4
- package/esm2022/lib/shared/translate/translate.helper.mjs +22 -0
- package/fesm2022/xsolla-payment-client-core.mjs +125 -128
- package/fesm2022/xsolla-payment-client-core.mjs.map +1 -1
- package/lib/core/payment/form/validators/validation-error-params.interface.d.ts +0 -2
- package/lib/core/settings/configuration.interface.d.ts +1 -0
- package/lib/core-library.service.d.ts +3 -1
- package/lib/shared/translate/translate.helper.d.ts +7 -0
- package/package.json +1 -1
- package/src/i18n/ar.json +40 -0
- package/src/i18n/bg.json +40 -0
- package/src/i18n/cs.json +40 -0
- package/src/i18n/de.json +40 -0
- package/src/i18n/en.json +40 -0
- package/src/i18n/es.json +40 -0
- package/src/i18n/fil.json +40 -0
- package/src/i18n/fr.json +40 -0
- package/src/i18n/he.json +40 -0
- package/src/i18n/id.json +40 -0
- package/src/i18n/it.json +40 -0
- package/src/i18n/ja.json +40 -0
- package/src/i18n/km.json +40 -0
- package/src/i18n/ko.json +40 -0
- package/src/i18n/lo.json +40 -0
- package/src/i18n/ms.json +40 -0
- package/src/i18n/my.json +40 -0
- package/src/i18n/ne.json +40 -0
- package/src/i18n/nl.json +40 -0
- package/src/i18n/pl.json +40 -0
- package/src/i18n/pt.json +40 -0
- package/src/i18n/ro.json +40 -0
- package/src/i18n/ru.json +40 -0
- package/src/i18n/th.json +40 -0
- package/src/i18n/tr.json +40 -0
- package/src/i18n/vi.json +40 -0
- package/src/i18n/zh_HANS.json +40 -0
- package/src/i18n/zh_HANT.json +40 -0
- package/xsolla-payment-client-core-0.2.73.tgz +0 -0
- package/esm2022/lib/core/payment/form/validators/validation-error-id.enum.mjs +0 -24
- package/lib/core/payment/form/validators/validation-error-id.enum.d.ts +0 -22
- package/xsolla-payment-client-core-0.2.72.tgz +0 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"birth-date.converter.placeholder" : "日期\/月份\/年份(四位)",
|
|
3
|
+
"birth-date.converter.validation.pattern" : "輸入有效出生日期",
|
|
4
|
+
"card-expiration.converter.placeholder" : "月份\/年度",
|
|
5
|
+
"card-expiration.converter.title" : "月份\/年度",
|
|
6
|
+
"card-month.converter.placeholder" : "月",
|
|
7
|
+
"card-month.converter.title" : "月",
|
|
8
|
+
"card-year.converter.placeholder" : "年份",
|
|
9
|
+
"card-year.converter.title" : "年份",
|
|
10
|
+
"checkbox.converter.validation.required" : "必填",
|
|
11
|
+
"coupon.converter.placeholder" : "輸入優惠碼",
|
|
12
|
+
"cpf-name.converter.tooltip.text" : "去哪找姓名",
|
|
13
|
+
"cpf-name.converter.validation.pattern" : "輸入有效名稱",
|
|
14
|
+
"cpf-number.converter.placeholder" : "000.000.000-00",
|
|
15
|
+
"cpf-number.converter.tooltip.text" : "去哪找登記號碼",
|
|
16
|
+
"cpf-number.converter.validation.pattern" : "請輸入有效的CPF號碼",
|
|
17
|
+
"cvv.converter.placeholder" : "CVV2\/CVC2",
|
|
18
|
+
"cvv.converter.tooltip.text" : "如何尋找您的CVV\/CVC碼",
|
|
19
|
+
"errors.validation.birthDate" : "輸入有效出生日期",
|
|
20
|
+
"errors.validation.building-number" : "輸入有效建築物號碼",
|
|
21
|
+
"errors.validation.cardNumber" : "輸入有效卡號",
|
|
22
|
+
"errors.validation.coupon-pattern" : "輸入有效優惠碼",
|
|
23
|
+
"errors.validation.cvv-pattern" : "輸入有效信用卡安全碼\/驗證碼",
|
|
24
|
+
"errors.validation.email-pattern" : "輸入有效電子郵件",
|
|
25
|
+
"errors.validation.expiration-length" : "輸入 {{requiredLength}} 個字元",
|
|
26
|
+
"errors.validation.expiration-max-month" : "輸入一個包含或在 {{maxMonth}} 月之前的月份",
|
|
27
|
+
"errors.validation.expiration-max-year" : "輸入一個包含或早於 {{maxYear}} 的年份",
|
|
28
|
+
"errors.validation.expiration-min-month" : "輸入一個包含或在 {{minMonth}} 月之後的月份",
|
|
29
|
+
"errors.validation.expiration-min-year" : "輸入一個包含或在 {{minYear}} 之後的年份",
|
|
30
|
+
"errors.validation.expiration-month-pattern" : "輸入有效到期月份",
|
|
31
|
+
"errors.validation.expiration-year-pattern" : "輸入有效到期年份",
|
|
32
|
+
"errors.validation.max-length" : "輸入不超過 {{maxLength}} 個字元",
|
|
33
|
+
"errors.validation.min-length" : "輸入至少 {{minLength}} 個字元",
|
|
34
|
+
"errors.validation.phone-pattern" : "輸入有效電話",
|
|
35
|
+
"errors.validation.required" : "必填",
|
|
36
|
+
"errors.validation.restrictedValue" : "無效數值",
|
|
37
|
+
"errors.validation.zip-pattern" : "輸入有效郵遞區號",
|
|
38
|
+
"payment.apple-pay.subtotal" : "小計",
|
|
39
|
+
"zip.converter.placeholder" : "郵遞區號"
|
|
40
|
+
}
|
|
Binary file
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export var ValidationErrorId;
|
|
2
|
-
(function (ValidationErrorId) {
|
|
3
|
-
ValidationErrorId["birthDatePattern"] = "birthDatePattern";
|
|
4
|
-
ValidationErrorId["expirationLength"] = "expirationLength";
|
|
5
|
-
ValidationErrorId["expirationMonthPattern"] = "expirationMonthPattern";
|
|
6
|
-
ValidationErrorId["expirationMinMonth"] = "expirationMinMonth";
|
|
7
|
-
ValidationErrorId["expirationMaxMonth"] = "expirationMaxMonth";
|
|
8
|
-
ValidationErrorId["expirationYearPattern"] = "expirationYearPattern";
|
|
9
|
-
ValidationErrorId["expirationMinYear"] = "expirationMinYear";
|
|
10
|
-
ValidationErrorId["expirationMaxYear"] = "expirationMaxYear";
|
|
11
|
-
ValidationErrorId["couponPattern"] = "couponPattern";
|
|
12
|
-
ValidationErrorId["emailPattern"] = "emailPattern";
|
|
13
|
-
ValidationErrorId["cardNumberPattern"] = "cardNumberPattern";
|
|
14
|
-
ValidationErrorId["required"] = "required";
|
|
15
|
-
ValidationErrorId["minLength"] = "minLength";
|
|
16
|
-
ValidationErrorId["maxLength"] = "maxLength";
|
|
17
|
-
ValidationErrorId["cpfNumberPattern"] = "cpfNumberPattern";
|
|
18
|
-
ValidationErrorId["cvvPattern"] = "cvvPattern";
|
|
19
|
-
ValidationErrorId["phonePattern"] = "phonePattern";
|
|
20
|
-
ValidationErrorId["buildingNumberPattern"] = "buildingNumberPattern";
|
|
21
|
-
ValidationErrorId["zipPattern"] = "zipPattern";
|
|
22
|
-
ValidationErrorId["dataPattern"] = "dataPattern";
|
|
23
|
-
})(ValidationErrorId || (ValidationErrorId = {}));
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGlvbi1lcnJvci1pZC5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvcGF5bWVudC1jbGllbnQtY29yZS9zcmMvbGliL2NvcmUvcGF5bWVudC9mb3JtL3ZhbGlkYXRvcnMvdmFsaWRhdGlvbi1lcnJvci1pZC5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGlCQXFCWDtBQXJCRCxXQUFZLGlCQUFpQjtJQUMzQiwwREFBcUMsQ0FBQTtJQUNyQywwREFBcUMsQ0FBQTtJQUNyQyxzRUFBaUQsQ0FBQTtJQUNqRCw4REFBeUMsQ0FBQTtJQUN6Qyw4REFBeUMsQ0FBQTtJQUN6QyxvRUFBK0MsQ0FBQTtJQUMvQyw0REFBdUMsQ0FBQTtJQUN2Qyw0REFBdUM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QYXR0ZXJuJyxcbiAgcmVxdWlyZWQgPSAncmVxdWlyZWQnLFxuICBtaW5MZW5ndGggPSAnbWluTGVuZ3RoJyxcbiAgbWF4TGVuZ3RoID0gJ21heExlbmd0aCcsXG4gIGNwZk51bWJlclBhdHRlcm4gPSAnY3BmTnVtYmVyUGF0dGVybicsXG4gIGN2dlBhdHRlcm4gPSAnY3Z2UGF0dGVybicsXG4gIHBob25lUGF0dGVybiA9ICdwaG9uZVBhdHRlcm4nLFxuICBidWlsZGluZ051bWJlclBhdHRlcm4gPSAnYnVpbGRpbmdOdW1iZXJQYXR0ZXJuJyxcbiAgemlwUGF0dGVybiA9ICd6aXBQYXR0ZXJuJyxcbiAgZGF0YVBhdHRlcm4gPSAnZGF0YVBhdHRlcm4nLFxufVxuIl19
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare enum ValidationErrorId {
|
|
2
|
-
birthDatePattern = "birthDatePattern",
|
|
3
|
-
expirationLength = "expirationLength",
|
|
4
|
-
expirationMonthPattern = "expirationMonthPattern",
|
|
5
|
-
expirationMinMonth = "expirationMinMonth",
|
|
6
|
-
expirationMaxMonth = "expirationMaxMonth",
|
|
7
|
-
expirationYearPattern = "expirationYearPattern",
|
|
8
|
-
expirationMinYear = "expirationMinYear",
|
|
9
|
-
expirationMaxYear = "expirationMaxYear",
|
|
10
|
-
couponPattern = "couponPattern",
|
|
11
|
-
emailPattern = "emailPattern",
|
|
12
|
-
cardNumberPattern = "cardNumberPattern",
|
|
13
|
-
required = "required",
|
|
14
|
-
minLength = "minLength",
|
|
15
|
-
maxLength = "maxLength",
|
|
16
|
-
cpfNumberPattern = "cpfNumberPattern",
|
|
17
|
-
cvvPattern = "cvvPattern",
|
|
18
|
-
phonePattern = "phonePattern",
|
|
19
|
-
buildingNumberPattern = "buildingNumberPattern",
|
|
20
|
-
zipPattern = "zipPattern",
|
|
21
|
-
dataPattern = "dataPattern"
|
|
22
|
-
}
|
|
Binary file
|