Feat/phone email link enhancements (#1172)
* feat: Add type guards for ViewField email values and definitions, update ViewFieldTypes & peopleViewFields * feat: use ContactLink for EditablePhoneCell & create EditableEmailCell & EmailInputDisplay comp * fix: set second value for field * enhance: add edit btn for phone cell * feat: install dependencies intl-tel-input * feat: add phone cell input & connect intl-tel-input * fix: resolve rebase errors * fix: remove placeholder * feat(storybook): create stories for EmailInputDisplay, PhoneInputDisplay, and PhoneEditableField components --------- Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
This commit is contained in:
52
front/src/modules/ui/table/constants/countries.json
Normal file
52
front/src/modules/ui/table/constants/countries.json
Normal file
@ -0,0 +1,52 @@
|
||||
{
|
||||
"ch": "Switzerland",
|
||||
"de": "Germany",
|
||||
"ca": "Canada",
|
||||
"us": "US",
|
||||
"se": "Sweden",
|
||||
"jp": "Japan",
|
||||
"au": "Australia",
|
||||
"gb": "UK",
|
||||
"fr": "France",
|
||||
"dk": "Denmark",
|
||||
"nz": "New Zealand",
|
||||
"nl": "Netherlands",
|
||||
"no": "Norway",
|
||||
"it": "Italy",
|
||||
"fi": "Finland",
|
||||
"es": "Spain",
|
||||
"cn": "China",
|
||||
"be": "Belgium",
|
||||
"sg": "Singapore",
|
||||
"kr": "South Korea",
|
||||
"ae": "UAE",
|
||||
"at": "Austria",
|
||||
"ie": "Ireland",
|
||||
"lu": "Luxembourg",
|
||||
"gr": "Greece",
|
||||
"pt": "Portugal",
|
||||
"br": "Brazil",
|
||||
"th": "Thailand",
|
||||
"qa": "Qatar",
|
||||
"tr": "Turkey",
|
||||
"in": "India",
|
||||
"pl": "Poland",
|
||||
"mx": "Mexico",
|
||||
"sa": "Saudi Arabia",
|
||||
"eg": "Egypt",
|
||||
"ru": "Russia",
|
||||
"il": "Israel",
|
||||
"ar": "Argentina",
|
||||
"my": "Malaysia",
|
||||
"cr": "Costa Rica",
|
||||
"id": "Indonesia",
|
||||
"za": "South Africa",
|
||||
"ma": "Morocco",
|
||||
"cz": "Czechia",
|
||||
"hr": "Croatia",
|
||||
"ph": "Philippines",
|
||||
"vn": "Vietnam",
|
||||
"hu": "Hungary",
|
||||
"cl": "Chile",
|
||||
"pe": "Peru"
|
||||
}
|
||||
Reference in New Issue
Block a user