intl-tel-input 25.11.2 → 25.12.0
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 +8 -8
- package/angular/README.md +6 -6
- package/angular/build/IntlTelInput.js +4 -3
- package/angular/build/IntlTelInputWithUtils.js +13 -12
- package/angular/build/types/intl-tel-input/i18n/index.d.ts +4 -0
- package/angular/build/types/intl-tel-input/i18n/lt/countries.d.ts +3 -0
- package/angular/build/types/intl-tel-input/i18n/lt/index.d.ts +6 -0
- package/angular/build/types/intl-tel-input/i18n/lt/interface.d.ts +3 -0
- package/angular/build/types/intl-tel-input/i18n/sl/countries.d.ts +3 -0
- package/angular/build/types/intl-tel-input/i18n/sl/index.d.ts +6 -0
- package/angular/build/types/intl-tel-input/i18n/sl/interface.d.ts +3 -0
- package/angular/build/types/intl-tel-input/i18n/sq/countries.d.ts +3 -0
- package/angular/build/types/intl-tel-input/i18n/sq/index.d.ts +6 -0
- package/angular/build/types/intl-tel-input/i18n/sq/interface.d.ts +3 -0
- package/angular/build/types/intl-tel-input/i18n/sr/countries.d.ts +3 -0
- package/angular/build/types/intl-tel-input/i18n/sr/index.d.ts +6 -0
- package/angular/build/types/intl-tel-input/i18n/sr/interface.d.ts +3 -0
- package/angular/build/types/modules/constants.d.ts +1 -0
- package/angular/build/types/modules/types/public-api.d.ts +4 -2
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/i18n/index.js +4 -0
- package/build/js/i18n/lt/countries.js +245 -0
- package/build/js/i18n/lt/index.js +5 -0
- package/build/js/i18n/lt/interface.js +14 -0
- package/build/js/i18n/sl/countries.js +245 -0
- package/build/js/i18n/sl/index.js +5 -0
- package/build/js/i18n/sl/interface.js +14 -0
- package/build/js/i18n/sq/countries.js +245 -0
- package/build/js/i18n/sq/index.js +5 -0
- package/build/js/i18n/sq/interface.js +14 -0
- package/build/js/i18n/sr/countries.js +245 -0
- package/build/js/i18n/sr/index.js +5 -0
- package/build/js/i18n/sr/interface.js +14 -0
- package/build/js/intlTelInput.d.ts +81 -2
- package/build/js/intlTelInput.js +5 -4
- package/build/js/intlTelInput.min.js +3 -3
- package/build/js/intlTelInputWithUtils.js +14 -13
- package/build/js/intlTelInputWithUtils.min.js +3 -3
- package/build/js/utils.js +9 -9
- package/package.json +1 -1
- package/react/README.md +1 -1
- package/react/build/IntlTelInput.cjs +4 -3
- package/react/build/IntlTelInput.d.ts +81 -2
- package/react/build/IntlTelInput.js +4 -3
- package/react/build/IntlTelInputWithUtils.cjs +13 -12
- package/react/build/IntlTelInputWithUtils.js +13 -12
- package/vue/README.md +1 -1
- package/vue/build/IntlTelInput.mjs +65 -64
- package/vue/build/IntlTelInputWithUtils.mjs +166 -165
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
const countryTranslations = {
|
|
2
|
+
ad: "Andorrë",
|
|
3
|
+
ae: "Emiratet e Bashkuara Arabe",
|
|
4
|
+
af: "Afganistan",
|
|
5
|
+
ag: "Antigua e Barbuda",
|
|
6
|
+
ai: "Anguilë",
|
|
7
|
+
al: "Shqipëri",
|
|
8
|
+
am: "Armeni",
|
|
9
|
+
ao: "Angolë",
|
|
10
|
+
ar: "Argjentinë",
|
|
11
|
+
as: "Samoa Amerikane",
|
|
12
|
+
at: "Austri",
|
|
13
|
+
au: "Australi",
|
|
14
|
+
aw: "Arubë",
|
|
15
|
+
ax: "Ishujt Alandë",
|
|
16
|
+
az: "Azerbajxhan",
|
|
17
|
+
ba: "Bosnjë-Hercegovinë",
|
|
18
|
+
bb: "Barbados",
|
|
19
|
+
bd: "Bangladesh",
|
|
20
|
+
be: "Belgjikë",
|
|
21
|
+
bf: "Burkina-Faso",
|
|
22
|
+
bg: "Bullgari",
|
|
23
|
+
bh: "Bahrejn",
|
|
24
|
+
bi: "Burundi",
|
|
25
|
+
bj: "Benin",
|
|
26
|
+
bl: "Sen-Bartelemi",
|
|
27
|
+
bm: "Bermude",
|
|
28
|
+
bn: "Brunei",
|
|
29
|
+
bo: "Bolivi",
|
|
30
|
+
bq: "Karaibet holandeze",
|
|
31
|
+
br: "Brazil",
|
|
32
|
+
bs: "Bahama",
|
|
33
|
+
bt: "Butan",
|
|
34
|
+
bw: "Botsvanë",
|
|
35
|
+
by: "Bjellorusi",
|
|
36
|
+
bz: "Belizë",
|
|
37
|
+
ca: "Kanada",
|
|
38
|
+
cc: "Ishujt Kokos",
|
|
39
|
+
cd: "Kongo-Kinshasa",
|
|
40
|
+
cf: "Republika e Afrikës Qendrore",
|
|
41
|
+
cg: "Kongo-Brazavilë",
|
|
42
|
+
ch: "Zvicër",
|
|
43
|
+
ci: "Côte d’Ivoire",
|
|
44
|
+
ck: "Ishujt Kuk",
|
|
45
|
+
cl: "Kili",
|
|
46
|
+
cm: "Kamerun",
|
|
47
|
+
cn: "Kinë",
|
|
48
|
+
co: "Kolumbi",
|
|
49
|
+
cr: "Kosta-Rikë",
|
|
50
|
+
cu: "Kubë",
|
|
51
|
+
cv: "Kepi i Gjelbër",
|
|
52
|
+
cw: "Kurasao",
|
|
53
|
+
cx: "Ishulli i Krishtlindjes",
|
|
54
|
+
cy: "Qipro",
|
|
55
|
+
cz: "Çeki",
|
|
56
|
+
de: "Gjermani",
|
|
57
|
+
dj: "Xhibuti",
|
|
58
|
+
dk: "Danimarkë",
|
|
59
|
+
dm: "Dominikë",
|
|
60
|
+
do: "Republika Dominikane",
|
|
61
|
+
dz: "Algjeri",
|
|
62
|
+
ec: "Ekuador",
|
|
63
|
+
ee: "Estoni",
|
|
64
|
+
eg: "Egjipt",
|
|
65
|
+
eh: "Saharaja Perëndimore",
|
|
66
|
+
er: "Eritre",
|
|
67
|
+
es: "Spanjë",
|
|
68
|
+
et: "Etiopi",
|
|
69
|
+
fi: "Finlandë",
|
|
70
|
+
fj: "Fixhi",
|
|
71
|
+
fk: "Ishujt Falkland",
|
|
72
|
+
fm: "Mikronezi",
|
|
73
|
+
fo: "Ishujt Faroe",
|
|
74
|
+
fr: "Francë",
|
|
75
|
+
ga: "Gabon",
|
|
76
|
+
gb: "Mbretëria e Bashkuar",
|
|
77
|
+
gd: "Granadë",
|
|
78
|
+
ge: "Gjeorgji",
|
|
79
|
+
gf: "Guajana Franceze",
|
|
80
|
+
gg: "Gernsej",
|
|
81
|
+
gh: "Ganë",
|
|
82
|
+
gi: "Gjibraltar",
|
|
83
|
+
gl: "Grënlandë",
|
|
84
|
+
gm: "Gambi",
|
|
85
|
+
gn: "Guine",
|
|
86
|
+
gp: "Guadelupë",
|
|
87
|
+
gq: "Guineja Ekuatoriale",
|
|
88
|
+
gr: "Greqi",
|
|
89
|
+
gt: "Guatemalë",
|
|
90
|
+
gu: "Guam",
|
|
91
|
+
gw: "Guine-Bisau",
|
|
92
|
+
gy: "Guajanë",
|
|
93
|
+
hk: "RPA i Hong-Kongut",
|
|
94
|
+
hn: "Honduras",
|
|
95
|
+
hr: "Kroaci",
|
|
96
|
+
ht: "Haiti",
|
|
97
|
+
hu: "Hungari",
|
|
98
|
+
id: "Indonezi",
|
|
99
|
+
ie: "Irlandë",
|
|
100
|
+
il: "Izrael",
|
|
101
|
+
im: "Ishulli i Manit",
|
|
102
|
+
in: "Indi",
|
|
103
|
+
io: "Territori Britanik i Oqeanit Indian",
|
|
104
|
+
iq: "Irak",
|
|
105
|
+
ir: "Iran",
|
|
106
|
+
is: "Islandë",
|
|
107
|
+
it: "Itali",
|
|
108
|
+
je: "Xhersej",
|
|
109
|
+
jm: "Xhamajkë",
|
|
110
|
+
jo: "Jordani",
|
|
111
|
+
jp: "Japoni",
|
|
112
|
+
ke: "Kenia",
|
|
113
|
+
kg: "Kirgizi",
|
|
114
|
+
kh: "Kamboxhia",
|
|
115
|
+
ki: "Kiribati",
|
|
116
|
+
km: "Komore",
|
|
117
|
+
kn: "Shën-Kits dhe Nevis",
|
|
118
|
+
kp: "Kore e Veriut",
|
|
119
|
+
kr: "Kore e Jugut",
|
|
120
|
+
kw: "Kuvajt",
|
|
121
|
+
ky: "Ishujt Kajman",
|
|
122
|
+
kz: "Kazakistan",
|
|
123
|
+
la: "Laos",
|
|
124
|
+
lb: "Liban",
|
|
125
|
+
lc: "Shën-Luçia",
|
|
126
|
+
li: "Lihtenshtajn",
|
|
127
|
+
lk: "Sri-Lankë",
|
|
128
|
+
lr: "Liberi",
|
|
129
|
+
ls: "Lesoto",
|
|
130
|
+
lt: "Lituani",
|
|
131
|
+
lu: "Luksemburg",
|
|
132
|
+
lv: "Letoni",
|
|
133
|
+
ly: "Libi",
|
|
134
|
+
ma: "Marok",
|
|
135
|
+
mc: "Monako",
|
|
136
|
+
md: "Moldavi",
|
|
137
|
+
me: "Mal i Zi",
|
|
138
|
+
mf: "Sen-Marten",
|
|
139
|
+
mg: "Madagaskar",
|
|
140
|
+
mh: "Ishujt Marshall",
|
|
141
|
+
mk: "Maqedonia e Veriut",
|
|
142
|
+
ml: "Mali",
|
|
143
|
+
mm: "Mianmar (Burmë)",
|
|
144
|
+
mn: "Mongoli",
|
|
145
|
+
mo: "RPA i Makaos",
|
|
146
|
+
mp: "Ishujt e Marianës Veriore",
|
|
147
|
+
mq: "Martinikë",
|
|
148
|
+
mr: "Mauritani",
|
|
149
|
+
ms: "Montserat",
|
|
150
|
+
mt: "Maltë",
|
|
151
|
+
mu: "Mauritius",
|
|
152
|
+
mv: "Maldive",
|
|
153
|
+
mw: "Malavi",
|
|
154
|
+
mx: "Meksikë",
|
|
155
|
+
my: "Malajzi",
|
|
156
|
+
mz: "Mozambik",
|
|
157
|
+
na: "Namibi",
|
|
158
|
+
nc: "Kaledoni e Re",
|
|
159
|
+
ne: "Niger",
|
|
160
|
+
nf: "Ishulli Norfolk",
|
|
161
|
+
ng: "Nigeri",
|
|
162
|
+
ni: "Nikaragua",
|
|
163
|
+
nl: "Holandë",
|
|
164
|
+
no: "Norvegji",
|
|
165
|
+
np: "Nepal",
|
|
166
|
+
nr: "Nauru",
|
|
167
|
+
nu: "Niue",
|
|
168
|
+
nz: "Zelandë e Re",
|
|
169
|
+
om: "Oman",
|
|
170
|
+
pa: "Panama",
|
|
171
|
+
pe: "Peru",
|
|
172
|
+
pf: "Polinezia Franceze",
|
|
173
|
+
pg: "Guineja e Re-Papua",
|
|
174
|
+
ph: "Filipine",
|
|
175
|
+
pk: "Pakistan",
|
|
176
|
+
pl: "Poloni",
|
|
177
|
+
pm: "Shën-Pier dhe Mikelon",
|
|
178
|
+
pr: "Porto-Riko",
|
|
179
|
+
ps: "Territoret Palestineze",
|
|
180
|
+
pt: "Portugali",
|
|
181
|
+
pw: "Palau",
|
|
182
|
+
py: "Paraguai",
|
|
183
|
+
qa: "Katar",
|
|
184
|
+
re: "Reunion",
|
|
185
|
+
ro: "Rumani",
|
|
186
|
+
rs: "Serbi",
|
|
187
|
+
ru: "Rusi",
|
|
188
|
+
rw: "Ruandë",
|
|
189
|
+
sa: "Arabi Saudite",
|
|
190
|
+
sb: "Ishujt Solomon",
|
|
191
|
+
sc: "Sejshelle",
|
|
192
|
+
sd: "Sudan",
|
|
193
|
+
se: "Suedi",
|
|
194
|
+
sg: "Singapor",
|
|
195
|
+
sh: "Shën-Elenë",
|
|
196
|
+
si: "Slloveni",
|
|
197
|
+
sj: "Svalbard e Jan-Majen",
|
|
198
|
+
sk: "Sllovaki",
|
|
199
|
+
sl: "Sierra-Leone",
|
|
200
|
+
sm: "San-Marino",
|
|
201
|
+
sn: "Senegal",
|
|
202
|
+
so: "Somali",
|
|
203
|
+
sr: "Surinami",
|
|
204
|
+
ss: "Sudani i Jugut",
|
|
205
|
+
st: "Sao-Tome e Principe",
|
|
206
|
+
sv: "Salvador",
|
|
207
|
+
sx: "Sint-Marten",
|
|
208
|
+
sy: "Siri",
|
|
209
|
+
sz: "Esvatini",
|
|
210
|
+
tc: "Ishujt Turks dhe Kaikos",
|
|
211
|
+
td: "Çad",
|
|
212
|
+
tg: "Togo",
|
|
213
|
+
th: "Tajlandë",
|
|
214
|
+
tj: "Taxhikistan",
|
|
215
|
+
tk: "Tokelau",
|
|
216
|
+
tl: "Timor-Leste",
|
|
217
|
+
tm: "Turkmenistan",
|
|
218
|
+
tn: "Tunizi",
|
|
219
|
+
to: "Tonga",
|
|
220
|
+
tr: "Turqi",
|
|
221
|
+
tt: "Trinidad e Tobago",
|
|
222
|
+
tv: "Tuvalu",
|
|
223
|
+
tw: "Tajvan",
|
|
224
|
+
tz: "Tanzani",
|
|
225
|
+
ua: "Ukrainë",
|
|
226
|
+
ug: "Ugandë",
|
|
227
|
+
us: "SHBA",
|
|
228
|
+
uy: "Uruguai",
|
|
229
|
+
uz: "Uzbekistan",
|
|
230
|
+
va: "Vatikan",
|
|
231
|
+
vc: "Shën-Vincent dhe Grenadine",
|
|
232
|
+
ve: "Venezuelë",
|
|
233
|
+
vg: "Ishujt e Virgjër Britanikë",
|
|
234
|
+
vi: "Ishujt e Virgjër të SHBA-së",
|
|
235
|
+
vn: "Vietnam",
|
|
236
|
+
vu: "Vanuatu",
|
|
237
|
+
wf: "Uollis e Futuna",
|
|
238
|
+
ws: "Samoa",
|
|
239
|
+
ye: "Jemen",
|
|
240
|
+
yt: "Majotë",
|
|
241
|
+
za: "Afrika e Jugut",
|
|
242
|
+
zm: "Zambi",
|
|
243
|
+
zw: "Zimbabve"
|
|
244
|
+
};
|
|
245
|
+
export default countryTranslations;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import countryTranslations from "./countries.js";
|
|
2
|
+
import interfaceTranslations from "./interface.js";
|
|
3
|
+
export { countryTranslations, interfaceTranslations };
|
|
4
|
+
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
|
|
5
|
+
export default allTranslations;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const interfaceTranslations = {
|
|
2
|
+
selectedCountryAriaLabel: "Ndrysho vendin, i zgjedhur ${countryName} (${dialCode})",
|
|
3
|
+
noCountrySelected: "Zgjidh vendin",
|
|
4
|
+
countryListAriaLabel: "Lista e vendeve",
|
|
5
|
+
searchPlaceholder: "Kërko",
|
|
6
|
+
clearSearchAriaLabel: "Pastro kërkimin",
|
|
7
|
+
zeroSearchResults: "Nuk u gjet asnjë rezultat",
|
|
8
|
+
oneSearchResult: "U gjet 1 rezultat",
|
|
9
|
+
multipleSearchResults: "U gjetën ${count} rezultate",
|
|
10
|
+
// additional countries (not supported by country-list library)
|
|
11
|
+
ac: "Ishulli Ascension",
|
|
12
|
+
xk: "Kosova"
|
|
13
|
+
};
|
|
14
|
+
export default interfaceTranslations;
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
const countryTranslations = {
|
|
2
|
+
ad: "Андора",
|
|
3
|
+
ae: "Уједињени Арапски Емирати",
|
|
4
|
+
af: "Авганистан",
|
|
5
|
+
ag: "Антигва и Барбуда",
|
|
6
|
+
ai: "Ангвила",
|
|
7
|
+
al: "Албанија",
|
|
8
|
+
am: "Јерменија",
|
|
9
|
+
ao: "Ангола",
|
|
10
|
+
ar: "Аргентина",
|
|
11
|
+
as: "Америчка Самоа",
|
|
12
|
+
at: "Аустрија",
|
|
13
|
+
au: "Аустралија",
|
|
14
|
+
aw: "Аруба",
|
|
15
|
+
ax: "Оландска Острва",
|
|
16
|
+
az: "Азербејџан",
|
|
17
|
+
ba: "Босна и Херцеговина",
|
|
18
|
+
bb: "Барбадос",
|
|
19
|
+
bd: "Бангладеш",
|
|
20
|
+
be: "Белгија",
|
|
21
|
+
bf: "Буркина Фасо",
|
|
22
|
+
bg: "Бугарска",
|
|
23
|
+
bh: "Бахреин",
|
|
24
|
+
bi: "Бурунди",
|
|
25
|
+
bj: "Бенин",
|
|
26
|
+
bl: "Свети Бартоломеј",
|
|
27
|
+
bm: "Бермуда",
|
|
28
|
+
bn: "Брунеј",
|
|
29
|
+
bo: "Боливија",
|
|
30
|
+
bq: "Карипска Холандија",
|
|
31
|
+
br: "Бразил",
|
|
32
|
+
bs: "Бахами",
|
|
33
|
+
bt: "Бутан",
|
|
34
|
+
bw: "Боцвана",
|
|
35
|
+
by: "Белорусија",
|
|
36
|
+
bz: "Белизе",
|
|
37
|
+
ca: "Канада",
|
|
38
|
+
cc: "Кокосова (Килингова) Острва",
|
|
39
|
+
cd: "Конго - Киншаса",
|
|
40
|
+
cf: "Централноафричка Република",
|
|
41
|
+
cg: "Конго - Бразавил",
|
|
42
|
+
ch: "Швајцарска",
|
|
43
|
+
ci: "Обала Слоноваче (Кот д’Ивоар)",
|
|
44
|
+
ck: "Кукова Острва",
|
|
45
|
+
cl: "Чиле",
|
|
46
|
+
cm: "Камерун",
|
|
47
|
+
cn: "Кина",
|
|
48
|
+
co: "Колумбија",
|
|
49
|
+
cr: "Костарика",
|
|
50
|
+
cu: "Куба",
|
|
51
|
+
cv: "Зеленортска Острва",
|
|
52
|
+
cw: "Курасао",
|
|
53
|
+
cx: "Божићно Острво",
|
|
54
|
+
cy: "Кипар",
|
|
55
|
+
cz: "Чешка",
|
|
56
|
+
de: "Немачка",
|
|
57
|
+
dj: "Џибути",
|
|
58
|
+
dk: "Данска",
|
|
59
|
+
dm: "Доминика",
|
|
60
|
+
do: "Доминиканска Република",
|
|
61
|
+
dz: "Алжир",
|
|
62
|
+
ec: "Еквадор",
|
|
63
|
+
ee: "Естонија",
|
|
64
|
+
eg: "Египат",
|
|
65
|
+
eh: "Западна Сахара",
|
|
66
|
+
er: "Еритреја",
|
|
67
|
+
es: "Шпанија",
|
|
68
|
+
et: "Етиопија",
|
|
69
|
+
fi: "Финска",
|
|
70
|
+
fj: "Фиџи",
|
|
71
|
+
fk: "Фокландска Острва",
|
|
72
|
+
fm: "Микронезија",
|
|
73
|
+
fo: "Фарска Острва",
|
|
74
|
+
fr: "Француска",
|
|
75
|
+
ga: "Габон",
|
|
76
|
+
gb: "Уједињено Краљевство",
|
|
77
|
+
gd: "Гренада",
|
|
78
|
+
ge: "Грузија",
|
|
79
|
+
gf: "Француска Гвајана",
|
|
80
|
+
gg: "Гернзи",
|
|
81
|
+
gh: "Гана",
|
|
82
|
+
gi: "Гибралтар",
|
|
83
|
+
gl: "Гренланд",
|
|
84
|
+
gm: "Гамбија",
|
|
85
|
+
gn: "Гвинеја",
|
|
86
|
+
gp: "Гваделуп",
|
|
87
|
+
gq: "Екваторијална Гвинеја",
|
|
88
|
+
gr: "Грчка",
|
|
89
|
+
gt: "Гватемала",
|
|
90
|
+
gu: "Гуам",
|
|
91
|
+
gw: "Гвинеја-Бисао",
|
|
92
|
+
gy: "Гвајана",
|
|
93
|
+
hk: "САР Хонгконг (Кина)",
|
|
94
|
+
hn: "Хондурас",
|
|
95
|
+
hr: "Хрватска",
|
|
96
|
+
ht: "Хаити",
|
|
97
|
+
hu: "Мађарска",
|
|
98
|
+
id: "Индонезија",
|
|
99
|
+
ie: "Ирска",
|
|
100
|
+
il: "Израел",
|
|
101
|
+
im: "Острво Ман",
|
|
102
|
+
in: "Индија",
|
|
103
|
+
io: "Британска територија Индијског океана",
|
|
104
|
+
iq: "Ирак",
|
|
105
|
+
ir: "Иран",
|
|
106
|
+
is: "Исланд",
|
|
107
|
+
it: "Италија",
|
|
108
|
+
je: "Џерзи",
|
|
109
|
+
jm: "Јамајка",
|
|
110
|
+
jo: "Јордан",
|
|
111
|
+
jp: "Јапан",
|
|
112
|
+
ke: "Кенија",
|
|
113
|
+
kg: "Киргистан",
|
|
114
|
+
kh: "Камбоџа",
|
|
115
|
+
ki: "Кирибати",
|
|
116
|
+
km: "Коморска Острва",
|
|
117
|
+
kn: "Сент Китс и Невис",
|
|
118
|
+
kp: "Северна Кореја",
|
|
119
|
+
kr: "Јужна Кореја",
|
|
120
|
+
kw: "Кувајт",
|
|
121
|
+
ky: "Кајманска Острва",
|
|
122
|
+
kz: "Казахстан",
|
|
123
|
+
la: "Лаос",
|
|
124
|
+
lb: "Либан",
|
|
125
|
+
lc: "Света Луција",
|
|
126
|
+
li: "Лихтенштајн",
|
|
127
|
+
lk: "Шри Ланка",
|
|
128
|
+
lr: "Либерија",
|
|
129
|
+
ls: "Лесото",
|
|
130
|
+
lt: "Литванија",
|
|
131
|
+
lu: "Луксембург",
|
|
132
|
+
lv: "Летонија",
|
|
133
|
+
ly: "Либија",
|
|
134
|
+
ma: "Мароко",
|
|
135
|
+
mc: "Монако",
|
|
136
|
+
md: "Молдавија",
|
|
137
|
+
me: "Црна Гора",
|
|
138
|
+
mf: "Свети Мартин (Француска)",
|
|
139
|
+
mg: "Мадагаскар",
|
|
140
|
+
mh: "Маршалска Острва",
|
|
141
|
+
mk: "Северна Македонија",
|
|
142
|
+
ml: "Мали",
|
|
143
|
+
mm: "Мијанмар (Бурма)",
|
|
144
|
+
mn: "Монголија",
|
|
145
|
+
mo: "САР Макао (Кина)",
|
|
146
|
+
mp: "Северна Маријанска Острва",
|
|
147
|
+
mq: "Мартиник",
|
|
148
|
+
mr: "Мауританија",
|
|
149
|
+
ms: "Монсерат",
|
|
150
|
+
mt: "Малта",
|
|
151
|
+
mu: "Маурицијус",
|
|
152
|
+
mv: "Малдиви",
|
|
153
|
+
mw: "Малави",
|
|
154
|
+
mx: "Мексико",
|
|
155
|
+
my: "Малезија",
|
|
156
|
+
mz: "Мозамбик",
|
|
157
|
+
na: "Намибија",
|
|
158
|
+
nc: "Нова Каледонија",
|
|
159
|
+
ne: "Нигер",
|
|
160
|
+
nf: "Острво Норфок",
|
|
161
|
+
ng: "Нигерија",
|
|
162
|
+
ni: "Никарагва",
|
|
163
|
+
nl: "Холандија",
|
|
164
|
+
no: "Норвешка",
|
|
165
|
+
np: "Непал",
|
|
166
|
+
nr: "Науру",
|
|
167
|
+
nu: "Ниуе",
|
|
168
|
+
nz: "Нови Зеланд",
|
|
169
|
+
om: "Оман",
|
|
170
|
+
pa: "Панама",
|
|
171
|
+
pe: "Перу",
|
|
172
|
+
pf: "Француска Полинезија",
|
|
173
|
+
pg: "Папуа Нова Гвинеја",
|
|
174
|
+
ph: "Филипини",
|
|
175
|
+
pk: "Пакистан",
|
|
176
|
+
pl: "Пољска",
|
|
177
|
+
pm: "Сен Пјер и Микелон",
|
|
178
|
+
pr: "Порторико",
|
|
179
|
+
ps: "Палестинске територије",
|
|
180
|
+
pt: "Португалија",
|
|
181
|
+
pw: "Палау",
|
|
182
|
+
py: "Парагвај",
|
|
183
|
+
qa: "Катар",
|
|
184
|
+
re: "Реинион",
|
|
185
|
+
ro: "Румунија",
|
|
186
|
+
rs: "Србија",
|
|
187
|
+
ru: "Русија",
|
|
188
|
+
rw: "Руанда",
|
|
189
|
+
sa: "Саудијска Арабија",
|
|
190
|
+
sb: "Соломонска Острва",
|
|
191
|
+
sc: "Сејшели",
|
|
192
|
+
sd: "Судан",
|
|
193
|
+
se: "Шведска",
|
|
194
|
+
sg: "Сингапур",
|
|
195
|
+
sh: "Света Јелена",
|
|
196
|
+
si: "Словенија",
|
|
197
|
+
sj: "Свалбард и Јан Мајен",
|
|
198
|
+
sk: "Словачка",
|
|
199
|
+
sl: "Сијера Леоне",
|
|
200
|
+
sm: "Сан Марино",
|
|
201
|
+
sn: "Сенегал",
|
|
202
|
+
so: "Сомалија",
|
|
203
|
+
sr: "Суринам",
|
|
204
|
+
ss: "Јужни Судан",
|
|
205
|
+
st: "Сао Томе и Принципе",
|
|
206
|
+
sv: "Салвадор",
|
|
207
|
+
sx: "Свети Мартин (Холандија)",
|
|
208
|
+
sy: "Сирија",
|
|
209
|
+
sz: "Свазиленд",
|
|
210
|
+
tc: "Острва Туркс и Каикос",
|
|
211
|
+
td: "Чад",
|
|
212
|
+
tg: "Того",
|
|
213
|
+
th: "Тајланд",
|
|
214
|
+
tj: "Таџикистан",
|
|
215
|
+
tk: "Токелау",
|
|
216
|
+
tl: "Тимор-Лесте (Источни Тимор)",
|
|
217
|
+
tm: "Туркменистан",
|
|
218
|
+
tn: "Тунис",
|
|
219
|
+
to: "Тонга",
|
|
220
|
+
tr: "Турска",
|
|
221
|
+
tt: "Тринидад и Тобаго",
|
|
222
|
+
tv: "Тувалу",
|
|
223
|
+
tw: "Тајван",
|
|
224
|
+
tz: "Танзанија",
|
|
225
|
+
ua: "Украјина",
|
|
226
|
+
ug: "Уганда",
|
|
227
|
+
us: "Сједињене Државе",
|
|
228
|
+
uy: "Уругвај",
|
|
229
|
+
uz: "Узбекистан",
|
|
230
|
+
va: "Ватикан",
|
|
231
|
+
vc: "Сент Винсент и Гренадини",
|
|
232
|
+
ve: "Венецуела",
|
|
233
|
+
vg: "Британска Девичанска Острва",
|
|
234
|
+
vi: "Америчка Девичанска Острва",
|
|
235
|
+
vn: "Вијетнам",
|
|
236
|
+
vu: "Вануату",
|
|
237
|
+
wf: "Валис и Футуна",
|
|
238
|
+
ws: "Самоа",
|
|
239
|
+
ye: "Јемен",
|
|
240
|
+
yt: "Мајот",
|
|
241
|
+
za: "Јужноафричка Република",
|
|
242
|
+
zm: "Замбија",
|
|
243
|
+
zw: "Зимбабве"
|
|
244
|
+
};
|
|
245
|
+
export default countryTranslations;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import countryTranslations from "./countries.js";
|
|
2
|
+
import interfaceTranslations from "./interface.js";
|
|
3
|
+
export { countryTranslations, interfaceTranslations };
|
|
4
|
+
const allTranslations = { ...countryTranslations, ...interfaceTranslations };
|
|
5
|
+
export default allTranslations;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const interfaceTranslations = {
|
|
2
|
+
selectedCountryAriaLabel: "Промени земљу, изабрано ${countryName} (${dialCode})",
|
|
3
|
+
noCountrySelected: "Изабери земљу",
|
|
4
|
+
countryListAriaLabel: "Листа земаља",
|
|
5
|
+
searchPlaceholder: "Претрага",
|
|
6
|
+
clearSearchAriaLabel: "Обриши претрагу",
|
|
7
|
+
zeroSearchResults: "Нема резултата",
|
|
8
|
+
oneSearchResult: "Пронађен 1 резултат",
|
|
9
|
+
multipleSearchResults: "Пронађено ${count} резултата",
|
|
10
|
+
// additional countries (not supported by country-list library)
|
|
11
|
+
ac: "Острво Асенсион",
|
|
12
|
+
xk: "Косово"
|
|
13
|
+
};
|
|
14
|
+
export default interfaceTranslations;
|
|
@@ -116,6 +116,7 @@ declare module "modules/constants" {
|
|
|
116
116
|
export const PLACEHOLDER_MODES: {
|
|
117
117
|
readonly AGGRESSIVE: "aggressive";
|
|
118
118
|
readonly POLITE: "polite";
|
|
119
|
+
readonly OFF: "off";
|
|
119
120
|
};
|
|
120
121
|
export const INITIAL_COUNTRY: {
|
|
121
122
|
readonly AUTO: "auto";
|
|
@@ -140,6 +141,7 @@ declare module "modules/types/public-api" {
|
|
|
140
141
|
import type { Country, Iso2 } from "intl-tel-input/data";
|
|
141
142
|
import type { I18n } from "intl-tel-input/i18n/types";
|
|
142
143
|
import type { Iti } from "intl-tel-input";
|
|
144
|
+
import type { PLACEHOLDER_MODES } from "modules/constants";
|
|
143
145
|
export type UtilsLoader = () => Promise<{
|
|
144
146
|
default: ItiUtils;
|
|
145
147
|
}>;
|
|
@@ -162,14 +164,15 @@ declare module "modules/types/public-api" {
|
|
|
162
164
|
numberType: Record<string, number>;
|
|
163
165
|
};
|
|
164
166
|
export type NumberType = "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "UNKNOWN" | "VOICEMAIL" | "VOIP";
|
|
167
|
+
type ValueOf<T> = T[keyof T];
|
|
165
168
|
export interface AllOptions {
|
|
166
169
|
allowDropdown: boolean;
|
|
167
170
|
allowPhonewords: boolean;
|
|
168
|
-
autoPlaceholder:
|
|
171
|
+
autoPlaceholder: ValueOf<typeof PLACEHOLDER_MODES>;
|
|
169
172
|
containerClass: string;
|
|
170
173
|
countryOrder: Iso2[] | null;
|
|
171
174
|
countrySearch: boolean;
|
|
172
|
-
customPlaceholder: ((selectedCountryPlaceholder: string, selectedCountryData:
|
|
175
|
+
customPlaceholder: ((selectedCountryPlaceholder: string, selectedCountryData: SelectedCountryData) => string) | null;
|
|
173
176
|
dropdownContainer: HTMLElement | null;
|
|
174
177
|
excludeCountries: Iso2[];
|
|
175
178
|
fixDropdownWidth: boolean;
|
|
@@ -820,6 +823,24 @@ declare module "intl-tel-input/i18n/ko" {
|
|
|
820
823
|
const allTranslations: I18n;
|
|
821
824
|
export default allTranslations;
|
|
822
825
|
}
|
|
826
|
+
declare module "intl-tel-input/i18n/lt/countries" {
|
|
827
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
828
|
+
const countryTranslations: I18n;
|
|
829
|
+
export default countryTranslations;
|
|
830
|
+
}
|
|
831
|
+
declare module "intl-tel-input/i18n/lt/interface" {
|
|
832
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
833
|
+
const interfaceTranslations: I18n;
|
|
834
|
+
export default interfaceTranslations;
|
|
835
|
+
}
|
|
836
|
+
declare module "intl-tel-input/i18n/lt" {
|
|
837
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
838
|
+
import countryTranslations from "intl-tel-input/i18n/lt/countries";
|
|
839
|
+
import interfaceTranslations from "intl-tel-input/i18n/lt/interface";
|
|
840
|
+
export { countryTranslations, interfaceTranslations };
|
|
841
|
+
const allTranslations: I18n;
|
|
842
|
+
export default allTranslations;
|
|
843
|
+
}
|
|
823
844
|
declare module "intl-tel-input/i18n/mr/countries" {
|
|
824
845
|
import { I18n } from "intl-tel-input/i18n/types";
|
|
825
846
|
const countryTranslations: I18n;
|
|
@@ -964,6 +985,60 @@ declare module "intl-tel-input/i18n/sk" {
|
|
|
964
985
|
const allTranslations: I18n;
|
|
965
986
|
export default allTranslations;
|
|
966
987
|
}
|
|
988
|
+
declare module "intl-tel-input/i18n/sl/countries" {
|
|
989
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
990
|
+
const countryTranslations: I18n;
|
|
991
|
+
export default countryTranslations;
|
|
992
|
+
}
|
|
993
|
+
declare module "intl-tel-input/i18n/sl/interface" {
|
|
994
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
995
|
+
const interfaceTranslations: I18n;
|
|
996
|
+
export default interfaceTranslations;
|
|
997
|
+
}
|
|
998
|
+
declare module "intl-tel-input/i18n/sl" {
|
|
999
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
1000
|
+
import countryTranslations from "intl-tel-input/i18n/sl/countries";
|
|
1001
|
+
import interfaceTranslations from "intl-tel-input/i18n/sl/interface";
|
|
1002
|
+
export { countryTranslations, interfaceTranslations };
|
|
1003
|
+
const allTranslations: I18n;
|
|
1004
|
+
export default allTranslations;
|
|
1005
|
+
}
|
|
1006
|
+
declare module "intl-tel-input/i18n/sq/countries" {
|
|
1007
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
1008
|
+
const countryTranslations: I18n;
|
|
1009
|
+
export default countryTranslations;
|
|
1010
|
+
}
|
|
1011
|
+
declare module "intl-tel-input/i18n/sq/interface" {
|
|
1012
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
1013
|
+
const interfaceTranslations: I18n;
|
|
1014
|
+
export default interfaceTranslations;
|
|
1015
|
+
}
|
|
1016
|
+
declare module "intl-tel-input/i18n/sq" {
|
|
1017
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
1018
|
+
import countryTranslations from "intl-tel-input/i18n/sq/countries";
|
|
1019
|
+
import interfaceTranslations from "intl-tel-input/i18n/sq/interface";
|
|
1020
|
+
export { countryTranslations, interfaceTranslations };
|
|
1021
|
+
const allTranslations: I18n;
|
|
1022
|
+
export default allTranslations;
|
|
1023
|
+
}
|
|
1024
|
+
declare module "intl-tel-input/i18n/sr/countries" {
|
|
1025
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
1026
|
+
const countryTranslations: I18n;
|
|
1027
|
+
export default countryTranslations;
|
|
1028
|
+
}
|
|
1029
|
+
declare module "intl-tel-input/i18n/sr/interface" {
|
|
1030
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
1031
|
+
const interfaceTranslations: I18n;
|
|
1032
|
+
export default interfaceTranslations;
|
|
1033
|
+
}
|
|
1034
|
+
declare module "intl-tel-input/i18n/sr" {
|
|
1035
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
1036
|
+
import countryTranslations from "intl-tel-input/i18n/sr/countries";
|
|
1037
|
+
import interfaceTranslations from "intl-tel-input/i18n/sr/interface";
|
|
1038
|
+
export { countryTranslations, interfaceTranslations };
|
|
1039
|
+
const allTranslations: I18n;
|
|
1040
|
+
export default allTranslations;
|
|
1041
|
+
}
|
|
967
1042
|
declare module "intl-tel-input/i18n/sv/countries" {
|
|
968
1043
|
import { I18n } from "intl-tel-input/i18n/types";
|
|
969
1044
|
const countryTranslations: I18n;
|
|
@@ -1149,6 +1224,7 @@ declare module "intl-tel-input/i18n" {
|
|
|
1149
1224
|
export { default as it, countryTranslations as itCountryTranslations, interfaceTranslations as itInterfaceTranslations } from "intl-tel-input/i18n/it";
|
|
1150
1225
|
export { default as ja, countryTranslations as jaCountryTranslations, interfaceTranslations as jaInterfaceTranslations } from "intl-tel-input/i18n/ja";
|
|
1151
1226
|
export { default as ko, countryTranslations as koCountryTranslations, interfaceTranslations as koInterfaceTranslations } from "intl-tel-input/i18n/ko";
|
|
1227
|
+
export { default as lt, countryTranslations as ltCountryTranslations, interfaceTranslations as ltInterfaceTranslations } from "intl-tel-input/i18n/lt";
|
|
1152
1228
|
export { default as mr, countryTranslations as mrCountryTranslations, interfaceTranslations as mrInterfaceTranslations } from "intl-tel-input/i18n/mr";
|
|
1153
1229
|
export { default as nl, countryTranslations as nlCountryTranslations, interfaceTranslations as nlInterfaceTranslations } from "intl-tel-input/i18n/nl";
|
|
1154
1230
|
export { default as no, countryTranslations as noCountryTranslations, interfaceTranslations as noInterfaceTranslations } from "intl-tel-input/i18n/no";
|
|
@@ -1157,6 +1233,9 @@ declare module "intl-tel-input/i18n" {
|
|
|
1157
1233
|
export { default as ro, countryTranslations as roCountryTranslations, interfaceTranslations as roInterfaceTranslations } from "intl-tel-input/i18n/ro";
|
|
1158
1234
|
export { default as ru, countryTranslations as ruCountryTranslations, interfaceTranslations as ruInterfaceTranslations } from "intl-tel-input/i18n/ru";
|
|
1159
1235
|
export { default as sk, countryTranslations as skCountryTranslations, interfaceTranslations as skInterfaceTranslations } from "intl-tel-input/i18n/sk";
|
|
1236
|
+
export { default as sl, countryTranslations as slCountryTranslations, interfaceTranslations as slInterfaceTranslations } from "intl-tel-input/i18n/sl";
|
|
1237
|
+
export { default as sq, countryTranslations as sqCountryTranslations, interfaceTranslations as sqInterfaceTranslations } from "intl-tel-input/i18n/sq";
|
|
1238
|
+
export { default as sr, countryTranslations as srCountryTranslations, interfaceTranslations as srInterfaceTranslations } from "intl-tel-input/i18n/sr";
|
|
1160
1239
|
export { default as sv, countryTranslations as svCountryTranslations, interfaceTranslations as svInterfaceTranslations } from "intl-tel-input/i18n/sv";
|
|
1161
1240
|
export { default as te, countryTranslations as teCountryTranslations, interfaceTranslations as teInterfaceTranslations } from "intl-tel-input/i18n/te";
|
|
1162
1241
|
export { default as th, countryTranslations as thCountryTranslations, interfaceTranslations as thInterfaceTranslations } from "intl-tel-input/i18n/th";
|