Added zamobile, ghmobile (South Africa, Ghana)

This commit is contained in:
Anton Kovalenko 2021-08-12 20:57:30 +03:00
parent a9788c2225
commit ec2674a0a2
2 changed files with 26 additions and 0 deletions

View File

@ -97,6 +97,8 @@
"USD":"$", "USD":"$",
"KZT":"₸", "KZT":"₸",
"NGN":"₦", "NGN":"₦",
"ZAR":"R",
"GHS":"₵",
} }
let accountComplete = false; let accountComplete = false;

View File

@ -5,6 +5,8 @@ const masks = {
telru: { mask: "{+}{7} 000 000-0000" }, telru: { mask: "{+}{7} 000 000-0000" },
telua: { mask: "{+}{3}{8} {\\0}00 000 0000"}, telua: { mask: "{+}{3}{8} {\\0}00 000 0000"},
telng: { mask: "{+}{2}{3}{4} 000 000 0000"}, telng: { mask: "{+}{2}{3}{4} 000 000 0000"},
telgh: { mask: "{+}{2}{3}{3} 000 000 000"},
telza: { mask: "{+}{2}{7} 00 000 0000"},
tel: { tel: {
mask: [ mask: [
{ {
@ -156,6 +158,28 @@ export default [
"id":"ngmobile", "id":"ngmobile",
"placeholder":"+234 905 555 1234", "placeholder":"+234 905 555 1234",
}, },
{"name":"📱 🇬🇭 GHS ₵ Mobile top-up",
"currency":"GHS",
"min":1,
"max":100,
"imask":masks.telgh,
"acc":"Phone number",
"autocomplete":"tel",
"inputmode":"tel",
"id":"ghmobile",
"placeholder":"+233 302 555 123",
},
{"name":"📱 🇿🇦 ZAR R Mobile top-up",
"currency":"ZAR",
"min":3,
"max":500,
"imask":masks.telza,
"acc":"Phone number",
"autocomplete":"tel",
"inputmode":"tel",
"id":"zamobile",
"placeholder":"+27 87 555 1234",
},
{"name":"🌐 🇷🇺 RUB ₽ Flex provider", {"name":"🌐 🇷🇺 RUB ₽ Flex provider",
"currency":"RUB", "currency":"RUB",
"min":20, "min":20,