NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

import { LabelsManager, AssetManager } from "../managers";
import moment from "moment";

// const CountryCode = [
// { key: "+66", label: LabelsManager.text("COUNTRY_CODE.THAILAND") },
// ]

const CountryCode = [
{
label: "Thailand",
key: "+66",
code: "TH"
},
{
label: "Afghanistan",
key: "+93",
code: "AF"
},
{
label: "Aland Islands",
key: "+358",
code: "AX"
},
{
label: "Albania",
key: "+355",
code: "AL"
},
{
label: "Algeria",
key: "+213",
code: "DZ"
},
{
label: "AmericanSamoa",
key: "+1684",
code: "AS"
},
{
label: "Andorra",
key: "+376",
code: "AD"
},
{
label: "Angola",
key: "+244",
code: "AO"
},
{
label: "Anguilla",
key: "+1264",
code: "AI"
},
{
label: "Antarctica",
key: "+672",
code: "AQ"
},
{
label: "Antigua and Barbuda",
key: "+1268",
code: "AG"
},
{
label: "Argentina",
key: "+54",
code: "AR"
},
{
label: "Armenia",
key: "+374",
code: "AM"
},
{
label: "Aruba",
key: "+297",
code: "AW"
},
{
label: "Australia",
key: "+61",
code: "AU"
},
{
label: "Austria",
key: "+43",
code: "AT"
},
{
label: "Azerbaijan",
key: "+994",
code: "AZ"
},
{
label: "Bahamas",
key: "+1242",
code: "BS"
},
{
label: "Bahrain",
key: "+973",
code: "BH"
},
{
label: "Bangladesh",
key: "+880",
code: "BD"
},
{
label: "Barbados",
key: "+1246",
code: "BB"
},
{
label: "Belarus",
key: "+375",
code: "BY"
},
{
label: "Belgium",
key: "+32",
code: "BE"
},
{
label: "Belize",
key: "+501",
code: "BZ"
},
{
label: "Benin",
key: "+229",
code: "BJ"
},
{
label: "Bermuda",
key: "+1441",
code: "BM"
},
{
label: "Bhutan",
key: "+975",
code: "BT"
},
{
label: "Bolivia, Plurinational State of",
key: "+591",
code: "BO"
},
{
label: "Bosnia and Herzegovina",
key: "+387",
code: "BA"
},
{
label: "Botswana",
key: "+267",
code: "BW"
},
{
label: "Brazil",
key: "+55",
code: "BR"
},
{
label: "British Indian Ocean Territory",
key: "+246",
code: "IO"
},
{
label: "Brunei Darussalam",
key: "+673",
code: "BN"
},
{
label: "Bulgaria",
key: "+359",
code: "BG"
},
{
label: "Burkina Faso",
key: "+226",
code: "BF"
},
{
label: "Burundi",
key: "+257",
code: "BI"
},
{
label: "Cambodia",
key: "+855",
code: "KH"
},
{
label: "Cameroon",
key: "+237",
code: "CM"
},
{
label: "Canada",
key: "+1",
code: "CA"
},
{
label: "Cape Verde",
key: "+238",
code: "CV"
},
{
label: "Cayman Islands",
key: "+345",
code: "KY"
},
{
label: "Central African Republic",
key: "+236",
code: "CF"
},
{
label: "Chad",
key: "+235",
code: "TD"
},
{
label: "Chile",
key: "+56",
code: "CL"
},
{
label: "China",
key: "+86",
code: "CN"
},
{
label: "Christmas Island",
key: "+61",
code: "CX"
},
{
label: "Cocos (Keeling) Islands",
key: "+61",
code: "CC"
},
{
label: "Colombia",
key: "+57",
code: "CO"
},
{
label: "Comoros",
key: "+269",
code: "KM"
},
{
label: "Congo",
key: "+242",
code: "CG"
},
{
label: "Congo, The Democratic Republic of the Congo",
key: "+243",
code: "CD"
},
{
label: "Cook Islands",
key: "+682",
code: "CK"
},
{
label: "Costa Rica",
key: "+506",
code: "CR"
},
{
label: "Cote d'Ivoire",
key: "+225",
code: "CI"
},
{
label: "Croatia",
key: "+385",
code: "HR"
},
{
label: "Cuba",
key: "+53",
code: "CU"
},
{
label: "Cyprus",
key: "+357",
code: "CY"
},
{
label: "Czech Republic",
key: "+420",
code: "CZ"
},
{
label: "Denmark",
key: "+45",
code: "DK"
},
{
label: "Djibouti",
key: "+253",
code: "DJ"
},
{
label: "Dominica",
key: "+1767",
code: "DM"
},
{
label: "Dominican Republic",
key: "+1849",
code: "DO"
},
{
label: "Ecuador",
key: "+593",
code: "EC"
},
{
label: "Egypt",
key: "+20",
code: "EG"
},
{
label: "El Salvador",
key: "+503",
code: "SV"
},
{
label: "Equatorial Guinea",
key: "+240",
code: "GQ"
},
{
label: "Eritrea",
key: "+291",
code: "ER"
},
{
label: "Estonia",
key: "+372",
code: "EE"
},
{
label: "Ethiopia",
key: "+251",
code: "ET"
},
{
label: "Falkland Islands (Malvinas)",
key: "+500",
code: "FK"
},
{
label: "Faroe Islands",
key: "+298",
code: "FO"
},
{
label: "Fiji",
key: "+679",
code: "FJ"
},
{
label: "Finland",
key: "+358",
code: "FI"
},
{
label: "France",
key: "+33",
code: "FR"
},
{
label: "French Guiana",
key: "+594",
code: "GF"
},
{
label: "French Polynesia",
key: "+689",
code: "PF"
},
{
label: "Gabon",
key: "+241",
code: "GA"
},
{
label: "Gambia",
key: "+220",
code: "GM"
},
{
label: "Georgia",
key: "+995",
code: "GE"
},
{
label: "Germany",
key: "+49",
code: "DE"
},
{
label: "Ghana",
key: "+233",
code: "GH"
},
{
label: "Gibraltar",
key: "+350",
code: "GI"
},
{
label: "Greece",
key: "+30",
code: "GR"
},
{
label: "Greenland",
key: "+299",
code: "GL"
},
{
label: "Grenada",
key: "+1473",
code: "GD"
},
{
label: "Guadeloupe",
key: "+590",
code: "GP"
},
{
label: "Guam",
key: "+1671",
code: "GU"
},
{
label: "Guatemala",
key: "+502",
code: "GT"
},
{
label: "Guernsey",
key: "+44",
code: "GG"
},
{
label: "Guinea",
key: "+224",
code: "GN"
},
{
label: "Guinea-Bissau",
key: "+245",
code: "GW"
},
{
label: "Guyana",
key: "+595",
code: "GY"
},
{
label: "Haiti",
key: "+509",
code: "HT"
},
{
label: "Holy See (Vatican City State)",
key: "+379",
code: "VA"
},
{
label: "Honduras",
key: "+504",
code: "HN"
},
{
label: "Hong Kong",
key: "+852",
code: "HK"
},
{
label: "Hungary",
key: "+36",
code: "HU"
},
{
label: "Iceland",
key: "+354",
code: "IS"
},
{
label: "India",
key: "+91",
code: "IN"
},
{
label: "Indonesia",
key: "+62",
code: "ID"
},
{
label: "Iran, Islamic Republic of Persian Gulf",
key: "+98",
code: "IR"
},
{
label: "Iraq",
key: "+964",
code: "IQ"
},
{
label: "Ireland",
key: "+353",
code: "IE"
},
{
label: "Isle of Man",
key: "+44",
code: "IM"
},
{
label: "Israel",
key: "+972",
code: "IL"
},
{
label: "Italy",
key: "+39",
code: "IT"
},
{
label: "Jamaica",
key: "+1876",
code: "JM"
},
{
label: "Japan",
key: "+81",
code: "JP"
},
{
label: "Jersey",
key: "+44",
code: "JE"
},
{
label: "Jordan",
key: "+962",
code: "JO"
},
{
label: "Kazakhstan",
key: "+77",
code: "KZ"
},
{
label: "Kenya",
key: "+254",
code: "KE"
},
{
label: "Kiribati",
key: "+686",
code: "KI"
},
{
label: "Korea, Democratic People's Republic of Korea",
key: "+850",
code: "KP"
},
{
label: "Korea, Republic of South Korea",
key: "+82",
code: "KR"
},
{
label: "Kuwait",
key: "+965",
code: "KW"
},
{
label: "Kyrgyzstan",
key: "+996",
code: "KG"
},
{
label: "Laos",
key: "+856",
code: "LA"
},
{
label: "Latvia",
key: "+371",
code: "LV"
},
{
label: "Lebanon",
key: "+961",
code: "LB"
},
{
label: "Lesotho",
key: "+266",
code: "LS"
},
{
label: "Liberia",
key: "+231",
code: "LR"
},
{
label: "Libyan Arab Jamahiriya",
key: "+218",
code: "LY"
},
{
label: "Liechtenstein",
key: "+423",
code: "LI"
},
{
label: "Lithuania",
key: "+370",
code: "LT"
},
{
label: "Luxembourg",
key: "+352",
code: "LU"
},
{
label: "Macao",
key: "+853",
code: "MO"
},
{
label: "Macedonia",
key: "+389",
code: "MK"
},
{
label: "Madagascar",
key: "+261",
code: "MG"
},
{
label: "Malawi",
key: "+265",
code: "MW"
},
{
label: "Malaysia",
key: "+60",
code: "MY"
},
{
label: "Maldives",
key: "+960",
code: "MV"
},
{
label: "Mali",
key: "+223",
code: "ML"
},
{
label: "Malta",
key: "+356",
code: "MT"
},
{
label: "Marshall Islands",
key: "+692",
code: "MH"
},
{
label: "Martinique",
key: "+596",
code: "MQ"
},
{
label: "Mauritania",
key: "+222",
code: "MR"
},
{
label: "Mauritius",
key: "+230",
code: "MU"
},
{
label: "Mayotte",
key: "+262",
code: "YT"
},
{
label: "Mexico",
key: "+52",
code: "MX"
},
{
label: "Micronesia, Federated States of Micronesia",
key: "+691",
code: "FM"
},
{
label: "Moldova",
key: "+373",
code: "MD"
},
{
label: "Monaco",
key: "+377",
code: "MC"
},
{
label: "Mongolia",
key: "+976",
code: "MN"
},
{
label: "Montenegro",
key: "+382",
code: "ME"
},
{
label: "Montserrat",
key: "+1664",
code: "MS"
},
{
label: "Morocco",
key: "+212",
code: "MA"
},
{
label: "Mozambique",
key: "+258",
code: "MZ"
},
{
label: "Myanmar",
key: "+95",
code: "MM"
},
{
label: "Namibia",
key: "+264",
code: "NA"
},
{
label: "Nauru",
key: "+674",
code: "NR"
},
{
label: "Nepal",
key: "+977",
code: "NP"
},
{
label: "Netherlands",
key: "+31",
code: "NL"
},
{
label: "Netherlands Antilles",
key: "+599",
code: "AN"
},
{
label: "New Caledonia",
key: "+687",
code: "NC"
},
{
label: "New Zealand",
key: "+64",
code: "NZ"
},
{
label: "Nicaragua",
key: "+505",
code: "NI"
},
{
label: "Niger",
key: "+227",
code: "NE"
},
{
label: "Nigeria",
key: "+234",
code: "NG"
},
{
label: "Niue",
key: "+683",
code: "NU"
},
{
label: "Norfolk Island",
key: "+672",
code: "NF"
},
{
label: "Northern Mariana Islands",
key: "+1670",
code: "MP"
},
{
label: "Norway",
key: "+47",
code: "NO"
},
{
label: "Oman",
key: "+968",
code: "OM"
},
{
label: "Pakistan",
key: "+92",
code: "PK"
},
{
label: "Palau",
key: "+680",
code: "PW"
},
{
label: "Palestinian Territory, Occupied",
key: "+970",
code: "PS"
},
{
label: "Panama",
key: "+507",
code: "PA"
},
{
label: "Papua New Guinea",
key: "+675",
code: "PG"
},
{
label: "Paraguay",
key: "+595",
code: "PY"
},
{
label: "Peru",
key: "+51",
code: "PE"
},
{
label: "Philippines",
key: "+63",
code: "PH"
},
{
label: "Pitcairn",
key: "+872",
code: "PN"
},
{
label: "Poland",
key: "+48",
code: "PL"
},
{
label: "Portugal",
key: "+351",
code: "PT"
},
{
label: "Puerto Rico",
key: "+1939",
code: "PR"
},
{
label: "Qatar",
key: "+974",
code: "QA"
},
{
label: "Romania",
key: "+40",
code: "RO"
},
{
label: "Russia",
key: "+7",
code: "RU"
},
{
label: "Rwanda",
key: "+250",
code: "RW"
},
{
label: "Reunion",
key: "+262",
code: "RE"
},
{
label: "Saint Barthelemy",
key: "+590",
code: "BL"
},
{
label: "Saint Helena, Ascension and Tristan Da Cunha",
key: "+290",
code: "SH"
},
{
label: "Saint Kitts and Nevis",
key: "+1869",
code: "KN"
},
{
label: "Saint Lucia",
key: "+1758",
code: "LC"
},
{
label: "Saint Martin",
key: "+590",
code: "MF"
},
{
label: "Saint Pierre and Miquelon",
key: "+508",
code: "PM"
},
{
label: "Saint Vincent and the Grenadines",
key: "+1784",
code: "VC"
},
{
label: "Samoa",
key: "+685",
code: "WS"
},
{
label: "San Marino",
key: "+378",
code: "SM"
},
{
label: "Sao Tome and Principe",
key: "+239",
code: "ST"
},
{
label: "Saudi Arabia",
key: "+966",
code: "SA"
},
{
label: "Senegal",
key: "+221",
code: "SN"
},
{
label: "Serbia",
key: "+381",
code: "RS"
},
{
label: "Seychelles",
key: "+248",
code: "SC"
},
{
label: "Sierra Leone",
key: "+232",
code: "SL"
},
{
label: "Singapore",
key: "+65",
code: "SG"
},
{
label: "Slovakia",
key: "+421",
code: "SK"
},
{
label: "Slovenia",
key: "+386",
code: "SI"
},
{
label: "Solomon Islands",
key: "+677",
code: "SB"
},
{
label: "Somalia",
key: "+252",
code: "SO"
},
{
label: "South Africa",
key: "+27",
code: "ZA"
},
{
label: "South Sudan",
key: "+211",
code: "SS"
},
{
label: "South Georgia and the South Sandwich Islands",
key: "+500",
code: "GS"
},
{
label: "Spain",
key: "+34",
code: "ES"
},
{
label: "Sri Lanka",
key: "+94",
code: "LK"
},
{
label: "Sudan",
key: "+249",
code: "SD"
},
{
label: "Suriname",
key: "+597",
code: "SR"
},
{
label: "Svalbard and Jan Mayen",
key: "+47",
code: "SJ"
},
{
label: "Swaziland",
key: "+268",
code: "SZ"
},
{
label: "Sweden",
key: "+46",
code: "SE"
},
{
label: "Switzerland",
key: "+41",
code: "CH"
},
{
label: "Syrian Arab Republic",
key: "+963",
code: "SY"
},
{
label: "Taiwan",
key: "+886",
code: "TW"
},
{
label: "Tajikistan",
key: "+992",
code: "TJ"
},
{
label: "Tanzania, United Republic of Tanzania",
key: "+255",
code: "TZ"
},
{
label: "Timor-Leste",
key: "+670",
code: "TL"
},
{
label: "Togo",
key: "+228",
code: "TG"
},
{
label: "Tokelau",
key: "+690",
code: "TK"
},
{
label: "Tonga",
key: "+676",
code: "TO"
},
{
label: "Trinidad and Tobago",
key: "+1868",
code: "TT"
},
{
label: "Tunisia",
key: "+216",
code: "TN"
},
{
label: "Turkey",
key: "+90",
code: "TR"
},
{
label: "Turkmenistan",
key: "+993",
code: "TM"
},
{
label: "Turks and Caicos Islands",
key: "+1649",
code: "TC"
},
{
label: "Tuvalu",
key: "+688",
code: "TV"
},
{
label: "Uganda",
key: "+256",
code: "UG"
},
{
label: "Ukraine",
key: "+380",
code: "UA"
},
{
label: "United Arab Emirates",
key: "+971",
code: "AE"
},
{
label: "United Kingdom",
key: "+44",
code: "GB"
},
{
label: "United States",
key: "+1",
code: "US"
},
{
label: "Uruguay",
key: "+598",
code: "UY"
},
{
label: "Uzbekistan",
key: "+998",
code: "UZ"
},
{
label: "Vanuatu",
key: "+678",
code: "VU"
},
{
label: "Venezuela, Bolivarian Republic of Venezuela",
key: "+58",
code: "VE"
},
{
label: "Vietnam",
key: "+84",
code: "VN"
},
{
label: "Virgin Islands, British",
key: "+1284",
code: "VG"
},
{
label: "Virgin Islands, U.S.",
key: "+1340",
code: "VI"
},
{
label: "Wallis and Futuna",
key: "+681",
code: "WF"
},
{
label: "Yemen",
key: "+967",
code: "YE"
},
{
label: "Zambia",
key: "+260",
code: "ZM"
},
{
label: "Zimbabwe",
key: "+263",
code: "ZW"
}
];

const Genders = [
{
key: "5bde8689971a50e57e7be0b7",
label: LabelsManager.text("SIGNUP.GENDER_MALE")
},
{
key: "5bde869a971a50e57e7be0cf",
label: LabelsManager.text("SIGNUP.GENDER_FEMALE")
}
// { key: "OTHER", label: LabelsManager.text("SIGNUP.GENDER_OTHER") },
// { key: "UNKNOWN", label: LabelsManager.text("SIGNUP.GENDER_UNKNOWN") },
];

const Status = [
{ key: "SINGLE", label: LabelsManager.text("SIGNUP.STATUS_SINGLE") },
{ key: "MARRIED", label: LabelsManager.text("SIGNUP.STATUS_MARRIED") }
];

const MoreMenu = [
{
key: "MY_PROFILE",
icon: true,
label: LabelsManager.text("MENU.MY_PROFILE"),
detail: LabelsManager.text("MENU.MY_PROFILE_DETAIL"),
disable: false
},
{
key: "MY_FAMILY",
icon: true,
label: LabelsManager.text("MENU.MY_FAMILY"),
detail: LabelsManager.text("MENU.MY_FAMILY_DETAIL"),
disable: true
},
{
key: "SETTING",
icon: true,
label: LabelsManager.text("MENU.SETTING"),
detail: LabelsManager.text("MENU.SETTING_DETAIL"),
disable: false
}
];

const TempContact = [
{
key: JSON.stringify({
fname: "Cupidatat",
lname: "Ullamco",
countryCode: "+1",
mobile: "0810000001",
email: "[email protected]",
lineid: "test1"
}),
label: "Cupidatat Ullamco"
},
{
key: JSON.stringify({
fname: "Proident",
lname: "Adipisicing",
countryCode: "+66",
mobile: "0810000002",
email: "[email protected]",
lineid: "test2"
}),
label: "Proident Adipisicing"
}
];

const Holiday = [
{
name: "วันสงกรานต์",
name_en: "Songkran",
start: "0413",
end: "0415",
video: AssetManager.VDO_04
},
{
name: "วันลอยกระทง",
name_en: "Loi Krathong",
start: "1111", // MMDD
end: "1111",
video: AssetManager.VDO_05
},
{
name: "วันปีใหม่",
name_en: "New Year",
start: "0101", // MMDD
end: "0101",
video: AssetManager.VDO_05
}
]


export { CountryCode, Genders, Status, MoreMenu, TempContact, Holiday };
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.