Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | 1x 1x 1x | export const FLAG_SIZE = 24
export const phoneValidationType = {
DEFAULT: 'default',
SPLITTED: 'splitted'
}
// This icons comes from an external library:
// https://www.npmjs.com/package/country-flag-icons
// You can easily check here all the flags that provides it:
// https://purecatamphetamine.github.io/country-flag-icons/3x2/index.html
// For now we have deployed to our own S3
// For example: ES -> https://frtassets.fotocasa.es/ut/statics/img/ES.svg
export const PREFIXES = [
{
value: 'ES',
label: 'EspaƱa',
countryCode: '+34',
landlinePrefixs: ['9'],
flag: 'https://frtassets.fotocasa.es/ut/statics/img/ES.svg',
mask: {
mobileMask: '000 000 000',
landlineMask: '00 000 00 00'
}
},
{
value: 'FR',
label: 'Francia',
countryCode: '+33',
landlinePrefixs: ['1', '2', '3', '4', '5'],
flag: 'https://frtassets.fotocasa.es/ut/statics/img/FR.svg',
mask: {
mobileMask: '0 00 00 00 00',
landlineMask: '0 00 00 00 00'
}
},
{
value: 'PT',
label: 'Portugal',
countryCode: '+351',
landlinePrefixs: ['2'],
flag: 'https://frtassets.fotocasa.es/ut/statics/img/PT.svg',
mask: {
mobileMask: '0 0000 0000',
landlineMask: '00 000 0000'
}
},
{
value: 'AD',
label: 'Andorra',
countryCode: '+376',
landlinePrefixs: ['8'],
flag: 'https://frtassets.fotocasa.es/ut/statics/img/AD.svg',
mask: {
mobileMask: '000 000',
landlineMask: '000 000'
}
}
]
|