intl-tel-input 25.14.1 → 25.15.1
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/README.md +21 -19
- package/angular/README.md +1 -1
- package/angular/build/IntlTelInput.js +1 -1
- package/angular/build/IntlTelInputWithUtils.js +125 -186
- package/build/css/intlTelInput-no-assets.css +1259 -0
- package/build/css/intlTelInput-no-assets.min.css +1 -0
- package/build/css/intlTelInput.css +6 -4
- package/build/css/intlTelInput.min.css +1 -1
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/i18n/zh-hk/countries.js +245 -0
- package/build/js/i18n/zh-hk/index.js +5 -0
- package/build/js/i18n/zh-hk/interface.js +14 -0
- package/build/js/intlTelInput.js +2 -2
- package/build/js/intlTelInput.min.js +2 -2
- package/build/js/intlTelInputWithUtils.js +126 -187
- package/build/js/intlTelInputWithUtils.min.js +2 -2
- package/build/js/utils.js +53 -54
- package/package.json +2 -2
- package/react/README.md +4 -2
- package/react/build/IntlTelInput.cjs +1 -1
- package/react/build/IntlTelInput.js +1 -1
- package/react/build/IntlTelInputWithUtils.cjs +125 -186
- package/react/build/IntlTelInputWithUtils.js +125 -186
- package/svelte/README.md +7 -9
- package/svelte/build/IntlTelInput.mjs +1329 -1329
- package/svelte/build/IntlTelInputWithUtils.mjs +1829 -1890
- package/vue/README.md +7 -9
- package/vue/build/IntlTelInput.mjs +1 -1
- package/vue/build/IntlTelInput.vue.d.ts +34 -0
- package/vue/build/IntlTelInputWithUtils.mjs +125 -186
- package/vue/build/IntlTelInputWithUtils.vue.d.ts +34 -0
- package/vue/build/exports/IntlTelInput.d.ts +3 -0
- package/vue/build/exports/IntlTelInput.mjs +66 -0
- package/vue/build/exports/IntlTelInputWithUtils.d.ts +3 -0
- package/vue/build/exports/IntlTelInputWithUtils.mjs +6207 -0
- package/vue/build/intl-tel-input/data.d.ts +18 -0
- package/vue/build/intl-tel-input/i18n/ar/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/bg/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/bn/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/bs/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/ca/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/cs/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/da/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/de/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/ee/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/el/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/en/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/es/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/fa/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/fi/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/fr/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/hi/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/hr/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/hu/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/id/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/index.d.ts +43 -0
- package/vue/build/intl-tel-input/i18n/it/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/ja/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/ko/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/lt/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/mr/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/nl/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/no/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/pl/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/pt/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/ro/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/ru/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/sk/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/sl/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/sq/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/sr/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/sv/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/te/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/th/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/tr/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/types.d.ts +10 -0
- package/vue/build/intl-tel-input/i18n/uk/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/ur/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/uz/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/vi/index.d.ts +3 -0
- package/vue/build/intl-tel-input/i18n/zh/index.d.ts +3 -0
- package/vue/build/intl-tel-input/intlTelInputWithUtils.d.ts +2 -0
- package/vue/build/intl-tel-input-f0-6rrpA.mjs +3081 -0
- package/vue/build/intl-tel-input.d.ts +97 -0
- package/vue/build/modules/constants.d.ts +85 -0
- package/vue/build/modules/core/countrySearch.d.ts +17 -0
- package/vue/build/modules/core/icons.d.ts +9 -0
- package/vue/build/modules/core/options.d.ts +3 -0
- package/vue/build/modules/core/ui.d.ts +45 -0
- package/vue/build/modules/data/country-data.d.ts +12 -0
- package/vue/build/modules/data/nanp-regionless.d.ts +2 -0
- package/vue/build/modules/format/caret.d.ts +1 -0
- package/vue/build/modules/format/formatting.d.ts +3 -0
- package/vue/build/modules/types/events.d.ts +9 -0
- package/vue/build/modules/types/public-api.d.ts +79 -0
- package/vue/build/modules/utils/dom.d.ts +6 -0
- package/vue/build/modules/utils/string.d.ts +2 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const rawCountryData: readonly [readonly ["af", "93", 0, any, "0"], readonly ["ax", "358", 1, readonly ["18", "4"], "0"], readonly ["al", "355", 0, any, "0"], readonly ["dz", "213", 0, any, "0"], readonly ["as", "1", 5, readonly ["684"], "1"], readonly ["ad", "376"], readonly ["ao", "244"], readonly ["ai", "1", 6, readonly ["264"], "1"], readonly ["ag", "1", 7, readonly ["268"], "1"], readonly ["ar", "54", 0, any, "0"], readonly ["am", "374", 0, any, "0"], readonly ["aw", "297"], readonly ["ac", "247"], readonly ["au", "61", 0, readonly ["4"], "0"], readonly ["at", "43", 0, any, "0"], readonly ["az", "994", 0, any, "0"], readonly ["bs", "1", 8, readonly ["242"], "1"], readonly ["bh", "973"], readonly ["bd", "880", 0, any, "0"], readonly ["bb", "1", 9, readonly ["246"], "1"], readonly ["by", "375", 0, any, "8"], readonly ["be", "32", 0, any, "0"], readonly ["bz", "501"], readonly ["bj", "229"], readonly ["bm", "1", 10, readonly ["441"], "1"], readonly ["bt", "975"], readonly ["bo", "591", 0, any, "0"], readonly ["ba", "387", 0, any, "0"], readonly ["bw", "267"], readonly ["br", "55", 0, any, "0"], readonly ["io", "246"], readonly ["vg", "1", 11, readonly ["284"], "1"], readonly ["bn", "673"], readonly ["bg", "359", 0, any, "0"], readonly ["bf", "226"], readonly ["bi", "257"], readonly ["kh", "855", 0, any, "0"], readonly ["cm", "237"], readonly ["ca", "1", 1, readonly ["204", "226", "236", "249", "250", "257", "263", "289", "306", "343", "354", "365", "367", "368", "382", "403", "416", "418", "428", "431", "437", "438", "450", "468", "474", "506", "514", "519", "548", "579", "581", "584", "587", "604", "613", "639", "647", "672", "683", "705", "709", "742", "753", "778", "780", "782", "807", "819", "825", "867", "873", "879", "902", "905", "942"], "1"], readonly ["cv", "238"], readonly ["bq", "599", 1, readonly ["3", "4", "7"]], readonly ["ky", "1", 12, readonly ["345"], "1"], readonly ["cf", "236"], readonly ["td", "235"], readonly ["cl", "56"], readonly ["cn", "86", 0, any, "0"], readonly ["cx", "61", 2, readonly ["4", "89164"], "0"], readonly ["cc", "61", 1, readonly ["4", "89162"], "0"], readonly ["co", "57", 0, any, "0"], readonly ["km", "269"], readonly ["cg", "242"], readonly ["cd", "243", 0, any, "0"], readonly ["ck", "682"], readonly ["cr", "506"], readonly ["ci", "225"], readonly ["hr", "385", 0, any, "0"], readonly ["cu", "53", 0, any, "0"], readonly ["cw", "599", 0], readonly ["cy", "357"], readonly ["cz", "420"], readonly ["dk", "45"], readonly ["dj", "253"], readonly ["dm", "1", 13, readonly ["767"], "1"], readonly ["do", "1", 2, readonly ["809", "829", "849"], "1"], readonly ["ec", "593", 0, any, "0"], readonly ["eg", "20", 0, any, "0"], readonly ["sv", "503"], readonly ["gq", "240"], readonly ["er", "291", 0, any, "0"], readonly ["ee", "372"], readonly ["sz", "268"], readonly ["et", "251", 0, any, "0"], readonly ["fk", "500"], readonly ["fo", "298"], readonly ["fj", "679"], readonly ["fi", "358", 0, readonly ["4"], "0"], readonly ["fr", "33", 0, any, "0"], readonly ["gf", "594", 0, any, "0"], readonly ["pf", "689"], readonly ["ga", "241"], readonly ["gm", "220"], readonly ["ge", "995", 0, any, "0"], readonly ["de", "49", 0, any, "0"], readonly ["gh", "233", 0, any, "0"], readonly ["gi", "350"], readonly ["gr", "30"], readonly ["gl", "299"], readonly ["gd", "1", 14, readonly ["473"], "1"], readonly ["gp", "590", 0, any, "0"], readonly ["gu", "1", 15, readonly ["671"], "1"], readonly ["gt", "502"], readonly ["gg", "44", 1, readonly ["1481", "7781", "7839", "7911"], "0"], readonly ["gn", "224"], readonly ["gw", "245"], readonly ["gy", "592"], readonly ["ht", "509"], readonly ["hn", "504"], readonly ["hk", "852"], readonly ["hu", "36", 0, any, "06"], readonly ["is", "354"], readonly ["in", "91", 0, any, "0"], readonly ["id", "62", 0, any, "0"], readonly ["ir", "98", 0, any, "0"], readonly ["iq", "964", 0, any, "0"], readonly ["ie", "353", 0, any, "0"], readonly ["im", "44", 2, readonly ["1624", "74576", "7524", "7624", "7924"], "0"], readonly ["il", "972", 0, any, "0"], readonly ["it", "39", 0, readonly ["3"]], readonly ["jm", "1", 4, readonly ["658", "876"], "1"], readonly ["jp", "81", 0, any, "0"], readonly ["je", "44", 3, readonly ["1534", "7509", "7700", "7797", "7829", "7937"], "0"], readonly ["jo", "962", 0, any, "0"], readonly ["kz", "7", 1, readonly ["33", "7"], "8"], readonly ["ke", "254", 0, any, "0"], readonly ["ki", "686", 0, any, "0"], readonly ["xk", "383", 0, any, "0"], readonly ["kw", "965"], readonly ["kg", "996", 0, any, "0"], readonly ["la", "856", 0, any, "0"], readonly ["lv", "371"], readonly ["lb", "961", 0, any, "0"], readonly ["ls", "266"], readonly ["lr", "231", 0, any, "0"], readonly ["ly", "218", 0, any, "0"], readonly ["li", "423", 0, any, "0"], readonly ["lt", "370", 0, any, "0"], readonly ["lu", "352"], readonly ["mo", "853"], readonly ["mg", "261", 0, any, "0"], readonly ["mw", "265", 0, any, "0"], readonly ["my", "60", 0, any, "0"], readonly ["mv", "960"], readonly ["ml", "223"], readonly ["mt", "356"], readonly ["mh", "692", 0, any, "1"], readonly ["mq", "596", 0, any, "0"], readonly ["mr", "222"], readonly ["mu", "230"], readonly ["yt", "262", 1, readonly ["269", "639"], "0"], readonly ["mx", "52"], readonly ["fm", "691"], readonly ["md", "373", 0, any, "0"], readonly ["mc", "377", 0, any, "0"], readonly ["mn", "976", 0, any, "0"], readonly ["me", "382", 0, any, "0"], readonly ["ms", "1", 16, readonly ["664"], "1"], readonly ["ma", "212", 0, readonly ["6", "7"], "0"], readonly ["mz", "258"], readonly ["mm", "95", 0, any, "0"], readonly ["na", "264", 0, any, "0"], readonly ["nr", "674"], readonly ["np", "977", 0, any, "0"], readonly ["nl", "31", 0, any, "0"], readonly ["nc", "687"], readonly ["nz", "64", 0, any, "0"], readonly ["ni", "505"], readonly ["ne", "227"], readonly ["ng", "234", 0, any, "0"], readonly ["nu", "683"], readonly ["nf", "672"], readonly ["kp", "850", 0, any, "0"], readonly ["mk", "389", 0, any, "0"], readonly ["mp", "1", 17, readonly ["670"], "1"], readonly ["no", "47", 0, readonly ["4", "9"]], readonly ["om", "968"], readonly ["pk", "92", 0, any, "0"], readonly ["pw", "680"], readonly ["ps", "970", 0, any, "0"], readonly ["pa", "507"], readonly ["pg", "675"], readonly ["py", "595", 0, any, "0"], readonly ["pe", "51", 0, any, "0"], readonly ["ph", "63", 0, any, "0"], readonly ["pl", "48"], readonly ["pt", "351"], readonly ["pr", "1", 3, readonly ["787", "939"], "1"], readonly ["qa", "974"], readonly ["re", "262", 0, any, "0"], readonly ["ro", "40", 0, any, "0"], readonly ["ru", "7", 0, readonly ["33"], "8"], readonly ["rw", "250", 0, any, "0"], readonly ["ws", "685"], readonly ["sm", "378"], readonly ["st", "239"], readonly ["sa", "966", 0, any, "0"], readonly ["sn", "221"], readonly ["rs", "381", 0, any, "0"], readonly ["sc", "248"], readonly ["sl", "232", 0, any, "0"], readonly ["sg", "65"], readonly ["sx", "1", 21, readonly ["721"], "1"], readonly ["sk", "421", 0, any, "0"], readonly ["si", "386", 0, any, "0"], readonly ["sb", "677"], readonly ["so", "252", 0, any, "0"], readonly ["za", "27", 0, any, "0"], readonly ["kr", "82", 0, any, "0"], readonly ["ss", "211", 0, any, "0"], readonly ["es", "34"], readonly ["lk", "94", 0, any, "0"], readonly ["bl", "590", 1, any, "0"], readonly ["sh", "290"], readonly ["kn", "1", 18, readonly ["869"], "1"], readonly ["lc", "1", 19, readonly ["758"], "1"], readonly ["mf", "590", 2, any, "0"], readonly ["pm", "508", 0, any, "0"], readonly ["vc", "1", 20, readonly ["784"], "1"], readonly ["sd", "249", 0, any, "0"], readonly ["sr", "597"], readonly ["sj", "47", 1, readonly ["4", "79", "9"]], readonly ["se", "46", 0, any, "0"], readonly ["ch", "41", 0, any, "0"], readonly ["sy", "963", 0, any, "0"], readonly ["tw", "886", 0, any, "0"], readonly ["tj", "992"], readonly ["tz", "255", 0, any, "0"], readonly ["th", "66", 0, any, "0"], readonly ["tl", "670"], readonly ["tg", "228"], readonly ["tk", "690"], readonly ["to", "676"], readonly ["tt", "1", 22, readonly ["868"], "1"], readonly ["tn", "216"], readonly ["tr", "90", 0, any, "0"], readonly ["tm", "993", 0, any, "8"], readonly ["tc", "1", 23, readonly ["649"], "1"], readonly ["tv", "688"], readonly ["vi", "1", 24, readonly ["340"], "1"], readonly ["ug", "256", 0, any, "0"], readonly ["ua", "380", 0, any, "0"], readonly ["ae", "971", 0, any, "0"], readonly ["gb", "44", 0, any, "0"], readonly ["us", "1", 0, any, "1"], readonly ["uy", "598", 0, any, "0"], readonly ["uz", "998"], readonly ["vu", "678"], readonly ["va", "39", 1, readonly ["06698", "3"]], readonly ["ve", "58", 0, any, "0"], readonly ["vn", "84", 0, any, "0"], readonly ["wf", "681"], readonly ["eh", "212", 1, readonly ["5288", "5289", "6", "7"], "0"], readonly ["ye", "967", 0, any, "0"], readonly ["zm", "260", 0, any, "0"], readonly ["zw", "263", 0, any, "0"]];
|
|
2
|
+
export type Iso2 = typeof rawCountryData[number][0];
|
|
3
|
+
export type Country = {
|
|
4
|
+
iso2: Iso2;
|
|
5
|
+
dialCode: string;
|
|
6
|
+
priority: number;
|
|
7
|
+
areaCodes: string[] | null;
|
|
8
|
+
nationalPrefix: string | null;
|
|
9
|
+
name: string;
|
|
10
|
+
nodeById: {
|
|
11
|
+
[instanceId: number]: HTMLElement;
|
|
12
|
+
};
|
|
13
|
+
normalisedName: string;
|
|
14
|
+
initials: string;
|
|
15
|
+
dialCodePlus: string;
|
|
16
|
+
};
|
|
17
|
+
declare const allCountries: Country[];
|
|
18
|
+
export default allCountries;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export { default as ar } from './ar';
|
|
2
|
+
export { default as bg } from './bg';
|
|
3
|
+
export { default as bn } from './bn';
|
|
4
|
+
export { default as bs } from './bs';
|
|
5
|
+
export { default as ca } from './ca';
|
|
6
|
+
export { default as cs } from './cs';
|
|
7
|
+
export { default as da } from './da';
|
|
8
|
+
export { default as de } from './de';
|
|
9
|
+
export { default as ee } from './ee';
|
|
10
|
+
export { default as el } from './el';
|
|
11
|
+
export { default as en } from './en';
|
|
12
|
+
export { default as es } from './es';
|
|
13
|
+
export { default as fa } from './fa';
|
|
14
|
+
export { default as fi } from './fi';
|
|
15
|
+
export { default as fr } from './fr';
|
|
16
|
+
export { default as hi } from './hi';
|
|
17
|
+
export { default as hr } from './hr';
|
|
18
|
+
export { default as hu } from './hu';
|
|
19
|
+
export { default as id } from './id';
|
|
20
|
+
export { default as it } from './it';
|
|
21
|
+
export { default as ja } from './ja';
|
|
22
|
+
export { default as ko } from './ko';
|
|
23
|
+
export { default as lt } from './lt';
|
|
24
|
+
export { default as mr } from './mr';
|
|
25
|
+
export { default as nl } from './nl';
|
|
26
|
+
export { default as no } from './no';
|
|
27
|
+
export { default as pl } from './pl';
|
|
28
|
+
export { default as pt } from './pt';
|
|
29
|
+
export { default as ro } from './ro';
|
|
30
|
+
export { default as ru } from './ru';
|
|
31
|
+
export { default as sk } from './sk';
|
|
32
|
+
export { default as sl } from './sl';
|
|
33
|
+
export { default as sq } from './sq';
|
|
34
|
+
export { default as sr } from './sr';
|
|
35
|
+
export { default as sv } from './sv';
|
|
36
|
+
export { default as te } from './te';
|
|
37
|
+
export { default as th } from './th';
|
|
38
|
+
export { default as tr } from './tr';
|
|
39
|
+
export { default as uk } from './uk';
|
|
40
|
+
export { default as ur } from './ur';
|
|
41
|
+
export { default as uz } from './uz';
|
|
42
|
+
export { default as vi } from './vi';
|
|
43
|
+
export { default as zh } from './zh';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Iso2 } from '../data';
|
|
2
|
+
export type I18n = Partial<Record<Iso2, string>> & {
|
|
3
|
+
selectedCountryAriaLabel?: string;
|
|
4
|
+
searchPlaceholder?: string;
|
|
5
|
+
clearSearchAriaLabel?: string;
|
|
6
|
+
countryListAriaLabel?: string;
|
|
7
|
+
noCountrySelected?: string;
|
|
8
|
+
searchEmptyState?: string;
|
|
9
|
+
searchSummaryAria?: (count: number) => string;
|
|
10
|
+
};
|