intl-tel-input 23.6.1 → 23.7.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 +6 -6
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/i18n/bs/countries.js +252 -0
- package/build/js/i18n/bs/index.js +6 -0
- package/build/js/i18n/bs/interface.js +14 -0
- package/build/js/i18n/hr/countries.js +252 -0
- package/build/js/i18n/hr/index.js +6 -0
- package/build/js/i18n/hr/interface.js +14 -0
- package/build/js/i18n/index.js +2 -0
- package/build/js/intlTelInput.js +2 -2
- package/build/js/intlTelInput.min.js +2 -2
- package/build/js/intlTelInputWithUtils.js +2 -2
- package/build/js/intlTelInputWithUtils.min.js +2 -2
- package/package.json +1 -1
- package/react/README.md +1 -1
- package/react/build/IntlTelInput.cjs +1 -1
- package/react/build/IntlTelInput.js +1 -1
- package/react/build/IntlTelInputWithUtils.cjs +1 -1
- package/react/build/IntlTelInputWithUtils.js +1 -1
package/README.md
CHANGED
|
@@ -73,16 +73,16 @@ _Note: We have now dropped support for all versions of Internet Explorer because
|
|
|
73
73
|
## Getting Started (Using a CDN)
|
|
74
74
|
1. Add the CSS
|
|
75
75
|
```html
|
|
76
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@23.
|
|
76
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@23.7.0/build/css/intlTelInput.css">
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
2. Add the plugin script and initialise it on your input element
|
|
80
80
|
```html
|
|
81
|
-
<script src="https://cdn.jsdelivr.net/npm/intl-tel-input@23.
|
|
81
|
+
<script src="https://cdn.jsdelivr.net/npm/intl-tel-input@23.7.0/build/js/intlTelInput.min.js"></script>
|
|
82
82
|
<script>
|
|
83
83
|
const input = document.querySelector("#phone");
|
|
84
84
|
window.intlTelInput(input, {
|
|
85
|
-
utilsScript: "https://cdn.jsdelivr.net/npm/intl-tel-input@23.
|
|
85
|
+
utilsScript: "https://cdn.jsdelivr.net/npm/intl-tel-input@23.7.0/build/js/utils.js",
|
|
86
86
|
});
|
|
87
87
|
</script>
|
|
88
88
|
```
|
|
@@ -329,7 +329,7 @@ Control when the country list appears as a fullscreen popup vs an inline dropdow
|
|
|
329
329
|
|
|
330
330
|
**utilsScript**
|
|
331
331
|
Type: `String` Default: `""` Example: `"/build/js/utils.js"`
|
|
332
|
-
This is one way to (lazy) load the included utils.js (to enable formatting/validation etc) - see [Loading The Utilities Script](#loading-the-utilities-script) for more options. You will need to host the [utils.js](https://github.com/jackocnr/intl-tel-input/blob/master/build/js/utils.js) file, and then set the `utilsScript` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@23.
|
|
332
|
+
This is one way to (lazy) load the included utils.js (to enable formatting/validation etc) - see [Loading The Utilities Script](#loading-the-utilities-script) for more options. You will need to host the [utils.js](https://github.com/jackocnr/intl-tel-input/blob/master/build/js/utils.js) file, and then set the `utilsScript` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@23.7.0/build/js/utils.js"`. The script is loaded via a [dynamic import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import) statement, which means the URL cannot be relative - it must be absolute. The script is only fetched when you initialise the plugin, and additionally, only when the page has finished loading (on the window load event) to prevent blocking (the script is ~260KB). When instantiating the plugin, a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) object is returned under the `promise` instance property, so you can do something like `iti.promise.then(callback)` to know when initialisation requests like this have finished. See [Utilities Script](#utilities-script) for more information.
|
|
333
333
|
|
|
334
334
|
**validationNumberType**
|
|
335
335
|
Type: `String` Default: `"MOBILE"`
|
|
@@ -538,7 +538,7 @@ The utils script provides lots of great functionality (see above section), but c
|
|
|
538
538
|
If you're not concerned about filesize (e.g. you're lazy loading this script), the easiest thing to do is to just use the full bundle /build/js/intlTelInputWithUtils.js, which comes with the utils script included. This script can be used exactly like the main intlTelInput.js - so it can either be loaded directly onto the page (which defines `window.intlTelInput` like usual), or it can be imported like so: `import intlTelInput from "intl-tel-input/intlTelInputWithUtils"`.
|
|
539
539
|
|
|
540
540
|
**Option 2: utilsScript**
|
|
541
|
-
If you *are* concerned about filesize, you can lazy load the utils script when the plugin intitialises, using the `utilsScript` initialisation option. You will need to host the [utils.js](https://github.com/jackocnr/intl-tel-input/blob/master/build/js/utils.js) file, and then set the `utilsScript` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@23.
|
|
541
|
+
If you *are* concerned about filesize, you can lazy load the utils script when the plugin intitialises, using the `utilsScript` initialisation option. You will need to host the [utils.js](https://github.com/jackocnr/intl-tel-input/blob/master/build/js/utils.js) file, and then set the `utilsScript` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@23.7.0/build/js/utils.js"`. If you want more control over when this file is lazy loaded, you can manually invoke the `loadUtils` static method, instead of using `utilsScript`.
|
|
542
542
|
|
|
543
543
|
## Troubleshooting
|
|
544
544
|
|
|
@@ -581,7 +581,7 @@ _Note: there is currently [a bug](https://bugs.webkit.org/show_bug.cgi?id=141822
|
|
|
581
581
|
```
|
|
582
582
|
|
|
583
583
|
## Contributing
|
|
584
|
-
See the [contributing guide](https://github.com/jackocnr/intl-tel-input/blob/master/.github/CONTRIBUTING.md) for instructions on setting up the project and making changes, and also for how to update to a new version of libphonenumber,
|
|
584
|
+
See the [contributing guide](https://github.com/jackocnr/intl-tel-input/blob/master/.github/CONTRIBUTING.md) for instructions on setting up the project and making changes, and also for how to update to a new version of libphonenumber, how to update the flag images, or how to add a new translation.
|
|
585
585
|
|
|
586
586
|
## Attributions
|
|
587
587
|
* Flag images from [region-flags](https://github.com/behdad/region-flags)
|
package/build/js/data.js
CHANGED
package/build/js/data.min.js
CHANGED
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
//* THIS FILE IS AUTO-GENERATED. DO NOT EDIT.
|
|
2
|
+
export default {
|
|
3
|
+
ad: "Andora",
|
|
4
|
+
ae: "Ujedinjeni Arapski Emirati",
|
|
5
|
+
af: "Afganistan",
|
|
6
|
+
ag: "Antigva i Barbuda",
|
|
7
|
+
ai: "Angvila",
|
|
8
|
+
al: "Albanija",
|
|
9
|
+
am: "Armenija",
|
|
10
|
+
ao: "Angola",
|
|
11
|
+
aq: "Antarktika",
|
|
12
|
+
ar: "Argentina",
|
|
13
|
+
as: "Američka Samoa",
|
|
14
|
+
at: "Austrija",
|
|
15
|
+
au: "Australija",
|
|
16
|
+
aw: "Aruba",
|
|
17
|
+
ax: "Olandska ostrva",
|
|
18
|
+
az: "Azerbejdžan",
|
|
19
|
+
ba: "Bosna i Hercegovina",
|
|
20
|
+
bb: "Barbados",
|
|
21
|
+
bd: "Bangladeš",
|
|
22
|
+
be: "Belgija",
|
|
23
|
+
bf: "Burkina Faso",
|
|
24
|
+
bg: "Bugarska",
|
|
25
|
+
bh: "Bahrein",
|
|
26
|
+
bi: "Burundi",
|
|
27
|
+
bj: "Benin",
|
|
28
|
+
bl: "Sveti Bartolomej",
|
|
29
|
+
bm: "Bermuda",
|
|
30
|
+
bn: "Brunej",
|
|
31
|
+
bo: "Bolivija",
|
|
32
|
+
bq: "Karipska Holandija",
|
|
33
|
+
br: "Brazil",
|
|
34
|
+
bs: "Bahami",
|
|
35
|
+
bt: "Butan",
|
|
36
|
+
bv: "Ostrvo Buve",
|
|
37
|
+
bw: "Bocvana",
|
|
38
|
+
by: "Bjelorusija",
|
|
39
|
+
bz: "Belize",
|
|
40
|
+
ca: "Kanada",
|
|
41
|
+
cc: "Kokosova (Keelingova) ostrva",
|
|
42
|
+
cd: "Demokratska Republika Kongo",
|
|
43
|
+
cf: "Centralnoafrička Republika",
|
|
44
|
+
cg: "Kongo",
|
|
45
|
+
ch: "Švicarska",
|
|
46
|
+
ci: "Obala Slonovače",
|
|
47
|
+
ck: "Kukova ostrva",
|
|
48
|
+
cl: "Čile",
|
|
49
|
+
cm: "Kamerun",
|
|
50
|
+
cn: "Kina",
|
|
51
|
+
co: "Kolumbija",
|
|
52
|
+
cr: "Kostarika",
|
|
53
|
+
cu: "Kuba",
|
|
54
|
+
cv: "Kape Verde",
|
|
55
|
+
cw: "Kurasao",
|
|
56
|
+
cx: "Božićno ostrvo",
|
|
57
|
+
cy: "Kipar",
|
|
58
|
+
cz: "Češka",
|
|
59
|
+
de: "Njemačka",
|
|
60
|
+
dj: "Džibuti",
|
|
61
|
+
dk: "Danska",
|
|
62
|
+
dm: "Dominika",
|
|
63
|
+
do: "Dominikanska Republika",
|
|
64
|
+
dz: "Alžir",
|
|
65
|
+
ec: "Ekvador",
|
|
66
|
+
ee: "Estonija",
|
|
67
|
+
eg: "Egipat",
|
|
68
|
+
eh: "Zapadna Sahara",
|
|
69
|
+
er: "Eritreja",
|
|
70
|
+
es: "Španija",
|
|
71
|
+
et: "Etiopija",
|
|
72
|
+
fi: "Finska",
|
|
73
|
+
fj: "Fidži",
|
|
74
|
+
fk: "Folklandska ostrva",
|
|
75
|
+
fm: "Mikronezija",
|
|
76
|
+
fo: "Farska ostrva",
|
|
77
|
+
fr: "Francuska",
|
|
78
|
+
ga: "Gabon",
|
|
79
|
+
gb: "Ujedinjeno Kraljevstvo",
|
|
80
|
+
gd: "Grenada",
|
|
81
|
+
ge: "Gruzija",
|
|
82
|
+
gf: "Francuska Gvajana",
|
|
83
|
+
gg: "Gernzi",
|
|
84
|
+
gh: "Gana",
|
|
85
|
+
gi: "Gibraltar",
|
|
86
|
+
gl: "Grenland",
|
|
87
|
+
gm: "Gambija",
|
|
88
|
+
gn: "Gvineja",
|
|
89
|
+
gp: "Gvadalupe",
|
|
90
|
+
gq: "Ekvatorijalna Gvineja",
|
|
91
|
+
gr: "Grčka",
|
|
92
|
+
gs: "Južna Džordžija i Južna Sendvič ostrva",
|
|
93
|
+
gt: "Gvatemala",
|
|
94
|
+
gu: "Guam",
|
|
95
|
+
gw: "Gvineja-Bisao",
|
|
96
|
+
gy: "Gvajana",
|
|
97
|
+
hk: "Hong Kong (SAR Kina)",
|
|
98
|
+
hm: "Herd i arhipelag MekDonald",
|
|
99
|
+
hn: "Honduras",
|
|
100
|
+
hr: "Hrvatska",
|
|
101
|
+
ht: "Haiti",
|
|
102
|
+
hu: "Mađarska",
|
|
103
|
+
id: "Indonezija",
|
|
104
|
+
ie: "Irska",
|
|
105
|
+
il: "Izrael",
|
|
106
|
+
im: "Ostrvo Man",
|
|
107
|
+
in: "Indija",
|
|
108
|
+
io: "Britanska Teritorija u Indijskom Okeanu",
|
|
109
|
+
iq: "Irak",
|
|
110
|
+
ir: "Iran",
|
|
111
|
+
is: "Island",
|
|
112
|
+
it: "Italija",
|
|
113
|
+
je: "Jersey",
|
|
114
|
+
jm: "Jamajka",
|
|
115
|
+
jo: "Jordan",
|
|
116
|
+
jp: "Japan",
|
|
117
|
+
ke: "Kenija",
|
|
118
|
+
kg: "Kirgistan",
|
|
119
|
+
kh: "Kambodža",
|
|
120
|
+
ki: "Kiribati",
|
|
121
|
+
km: "Komori",
|
|
122
|
+
kn: "Sveti Kits i Nevis",
|
|
123
|
+
kp: "Sjeverna Koreja",
|
|
124
|
+
kr: "Južna Koreja",
|
|
125
|
+
kw: "Kuvajt",
|
|
126
|
+
ky: "Kajmanska ostrva",
|
|
127
|
+
kz: "Kazahstan",
|
|
128
|
+
la: "Laos",
|
|
129
|
+
lb: "Liban",
|
|
130
|
+
lc: "Sveta Lucija",
|
|
131
|
+
li: "Lihtenštajn",
|
|
132
|
+
lk: "Šri Lanka",
|
|
133
|
+
lr: "Liberija",
|
|
134
|
+
ls: "Lesoto",
|
|
135
|
+
lt: "Litvanija",
|
|
136
|
+
lu: "Luksemburg",
|
|
137
|
+
lv: "Latvija",
|
|
138
|
+
ly: "Libija",
|
|
139
|
+
ma: "Maroko",
|
|
140
|
+
mc: "Monako",
|
|
141
|
+
md: "Moldavija",
|
|
142
|
+
me: "Crna Gora",
|
|
143
|
+
mf: "Sveti Martin",
|
|
144
|
+
mg: "Madagaskar",
|
|
145
|
+
mh: "Maršalova ostrva",
|
|
146
|
+
mk: "Sjeverna Makedonija",
|
|
147
|
+
ml: "Mali",
|
|
148
|
+
mm: "Mjanmar",
|
|
149
|
+
mn: "Mongolija",
|
|
150
|
+
mo: "Makao (SAR Kina)",
|
|
151
|
+
mp: "Sjeverna Marijanska ostrva",
|
|
152
|
+
mq: "Martinik",
|
|
153
|
+
mr: "Mauritanija",
|
|
154
|
+
ms: "Monserat",
|
|
155
|
+
mt: "Malta",
|
|
156
|
+
mu: "Mauricijus",
|
|
157
|
+
mv: "Maldivi",
|
|
158
|
+
mw: "Malavi",
|
|
159
|
+
mx: "Meksiko",
|
|
160
|
+
my: "Malezija",
|
|
161
|
+
mz: "Mozambik",
|
|
162
|
+
na: "Namibija",
|
|
163
|
+
nc: "Nova Kaledonija",
|
|
164
|
+
ne: "Niger",
|
|
165
|
+
nf: "Ostrvo Norfolk",
|
|
166
|
+
ng: "Nigerija",
|
|
167
|
+
ni: "Nikaragva",
|
|
168
|
+
nl: "Holandija",
|
|
169
|
+
no: "Norveška",
|
|
170
|
+
np: "Nepal",
|
|
171
|
+
nr: "Nauru",
|
|
172
|
+
nu: "Niue",
|
|
173
|
+
nz: "Novi Zeland",
|
|
174
|
+
om: "Oman",
|
|
175
|
+
pa: "Panama",
|
|
176
|
+
pe: "Peru",
|
|
177
|
+
pf: "Francuska Polinezija",
|
|
178
|
+
pg: "Papua Nova Gvineja",
|
|
179
|
+
ph: "Filipini",
|
|
180
|
+
pk: "Pakistan",
|
|
181
|
+
pl: "Poljska",
|
|
182
|
+
pm: "Sveti Petar i Mikelon",
|
|
183
|
+
pn: "Pitkernska Ostrva",
|
|
184
|
+
pr: "Porto Riko",
|
|
185
|
+
ps: "Palestinska Teritorija",
|
|
186
|
+
pt: "Portugal",
|
|
187
|
+
pw: "Palau",
|
|
188
|
+
py: "Paragvaj",
|
|
189
|
+
qa: "Katar",
|
|
190
|
+
re: "Reunion",
|
|
191
|
+
ro: "Rumunija",
|
|
192
|
+
rs: "Srbija",
|
|
193
|
+
ru: "Rusija",
|
|
194
|
+
rw: "Ruanda",
|
|
195
|
+
sa: "Saudijska Arabija",
|
|
196
|
+
sb: "Solomonska Ostrva",
|
|
197
|
+
sc: "Sejšeli",
|
|
198
|
+
sd: "Sudan",
|
|
199
|
+
se: "Švedska",
|
|
200
|
+
sg: "Singapur",
|
|
201
|
+
sh: "Sveta Helena",
|
|
202
|
+
si: "Slovenija",
|
|
203
|
+
sj: "Svalbard i Jan Majen",
|
|
204
|
+
sk: "Slovačka",
|
|
205
|
+
sl: "Sijera Leone",
|
|
206
|
+
sm: "San Marino",
|
|
207
|
+
sn: "Senegal",
|
|
208
|
+
so: "Somalija",
|
|
209
|
+
sr: "Surinam",
|
|
210
|
+
ss: "Južni Sudan",
|
|
211
|
+
st: "Sao Tome i Principe",
|
|
212
|
+
sv: "Salvador",
|
|
213
|
+
sx: "Sint Marten",
|
|
214
|
+
sy: "Sirija",
|
|
215
|
+
sz: "Esvatini",
|
|
216
|
+
tc: "Ostrva Turks i Kaikos",
|
|
217
|
+
td: "Čad",
|
|
218
|
+
tf: "Francuske Južne Teritorije",
|
|
219
|
+
tg: "Togo",
|
|
220
|
+
th: "Tajland",
|
|
221
|
+
tj: "Tadžikistan",
|
|
222
|
+
tk: "Tokelau",
|
|
223
|
+
tl: "Istočni Timor",
|
|
224
|
+
tm: "Turkmenistan",
|
|
225
|
+
tn: "Tunis",
|
|
226
|
+
to: "Tonga",
|
|
227
|
+
tr: "Turska",
|
|
228
|
+
tt: "Trinidad i Tobago",
|
|
229
|
+
tv: "Tuvalu",
|
|
230
|
+
tw: "Tajvan",
|
|
231
|
+
tz: "Tanzanija",
|
|
232
|
+
ua: "Ukrajina",
|
|
233
|
+
ug: "Uganda",
|
|
234
|
+
um: "Američka Vanjska Ostrva",
|
|
235
|
+
us: "Sjedinjene Države",
|
|
236
|
+
uy: "Urugvaj",
|
|
237
|
+
uz: "Uzbekistan",
|
|
238
|
+
va: "Vatikan",
|
|
239
|
+
vc: "Sveti Vinsent i Grenadin",
|
|
240
|
+
ve: "Venecuela",
|
|
241
|
+
vg: "Britanska Djevičanska ostrva",
|
|
242
|
+
vi: "Američka Djevičanska ostrva",
|
|
243
|
+
vn: "Vijetnam",
|
|
244
|
+
vu: "Vanuatu",
|
|
245
|
+
wf: "Ostrva Valis i Futuna",
|
|
246
|
+
ws: "Samoa",
|
|
247
|
+
ye: "Jemen",
|
|
248
|
+
yt: "Majote",
|
|
249
|
+
za: "Južnoafrička Republika",
|
|
250
|
+
zm: "Zambija",
|
|
251
|
+
zw: "Zimbabve",
|
|
252
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//* THIS FILE IS AUTO-GENERATED. DO NOT EDIT.
|
|
2
|
+
import countryTranslations from "./countries.js";
|
|
3
|
+
import interfaceTranslations from "./interface.js";
|
|
4
|
+
|
|
5
|
+
export { countryTranslations, interfaceTranslations };
|
|
6
|
+
export default { ...countryTranslations, ...interfaceTranslations };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//* Bosnian. Translated by: Harun Sabljaković (sabljak) */
|
|
2
|
+
export default {
|
|
3
|
+
selectedCountryAriaLabel: "Odabrana zemlja",
|
|
4
|
+
noCountrySelected: "Zemlja nije odabrana",
|
|
5
|
+
countryListAriaLabel: "Lista zemalja",
|
|
6
|
+
searchPlaceholder: "Pretraži",
|
|
7
|
+
zeroSearchResults: "Nema pronađenih rezultata",
|
|
8
|
+
oneSearchResult: "Pronađen 1 rezultat",
|
|
9
|
+
multipleSearchResults: "${count} rezultata pronađeno",
|
|
10
|
+
|
|
11
|
+
// additional countries (not supported by country-list library)
|
|
12
|
+
ac: "Ascension",
|
|
13
|
+
xk: "Kosovo",
|
|
14
|
+
};
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
//* THIS FILE IS AUTO-GENERATED. DO NOT EDIT.
|
|
2
|
+
export default {
|
|
3
|
+
ad: "Andora",
|
|
4
|
+
ae: "Ujedinjeni Arapski Emirati",
|
|
5
|
+
af: "Afganistan",
|
|
6
|
+
ag: "Antigva i Barbuda",
|
|
7
|
+
ai: "Angvila",
|
|
8
|
+
al: "Albanija",
|
|
9
|
+
am: "Armenija",
|
|
10
|
+
ao: "Angola",
|
|
11
|
+
aq: "Antarktika",
|
|
12
|
+
ar: "Argentina",
|
|
13
|
+
as: "Američka Samoa",
|
|
14
|
+
at: "Austrija",
|
|
15
|
+
au: "Australija",
|
|
16
|
+
aw: "Aruba",
|
|
17
|
+
ax: "Ålandski otoci",
|
|
18
|
+
az: "Azerbajdžan",
|
|
19
|
+
ba: "Bosna i Hercegovina",
|
|
20
|
+
bb: "Barbados",
|
|
21
|
+
bd: "Bangladeš",
|
|
22
|
+
be: "Belgija",
|
|
23
|
+
bf: "Burkina Faso",
|
|
24
|
+
bg: "Bugarska",
|
|
25
|
+
bh: "Bahrein",
|
|
26
|
+
bi: "Burundi",
|
|
27
|
+
bj: "Benin",
|
|
28
|
+
bl: "Saint Barthélemy",
|
|
29
|
+
bm: "Bermudi",
|
|
30
|
+
bn: "Brunej",
|
|
31
|
+
bo: "Bolivija",
|
|
32
|
+
bq: "Karipski otoci Nizozemske",
|
|
33
|
+
br: "Brazil",
|
|
34
|
+
bs: "Bahami",
|
|
35
|
+
bt: "Butan",
|
|
36
|
+
bv: "Otok Bouvet",
|
|
37
|
+
bw: "Bocvana",
|
|
38
|
+
by: "Bjelorusija",
|
|
39
|
+
bz: "Belize",
|
|
40
|
+
ca: "Kanada",
|
|
41
|
+
cc: "Kokosovi (Keelingovi) otoci",
|
|
42
|
+
cd: "Kongo - Kinshasa",
|
|
43
|
+
cf: "Srednjoafrička Republika",
|
|
44
|
+
cg: "Kongo - Brazzaville",
|
|
45
|
+
ch: "Švicarska",
|
|
46
|
+
ci: "Obala Bjelokosti",
|
|
47
|
+
ck: "Cookovi Otoci",
|
|
48
|
+
cl: "Čile",
|
|
49
|
+
cm: "Kamerun",
|
|
50
|
+
cn: "Kina",
|
|
51
|
+
co: "Kolumbija",
|
|
52
|
+
cr: "Kostarika",
|
|
53
|
+
cu: "Kuba",
|
|
54
|
+
cv: "Zelenortska Republika",
|
|
55
|
+
cw: "Curaçao",
|
|
56
|
+
cx: "Božićni otok",
|
|
57
|
+
cy: "Cipar",
|
|
58
|
+
cz: "Češka",
|
|
59
|
+
de: "Njemačka",
|
|
60
|
+
dj: "Džibuti",
|
|
61
|
+
dk: "Danska",
|
|
62
|
+
dm: "Dominika",
|
|
63
|
+
do: "Dominikanska Republika",
|
|
64
|
+
dz: "Alžir",
|
|
65
|
+
ec: "Ekvador",
|
|
66
|
+
ee: "Estonija",
|
|
67
|
+
eg: "Egipat",
|
|
68
|
+
eh: "Zapadna Sahara",
|
|
69
|
+
er: "Eritreja",
|
|
70
|
+
es: "Španjolska",
|
|
71
|
+
et: "Etiopija",
|
|
72
|
+
fi: "Finska",
|
|
73
|
+
fj: "Fidži",
|
|
74
|
+
fk: "Falklandski otoci",
|
|
75
|
+
fm: "Mikronezija",
|
|
76
|
+
fo: "Farski otoci",
|
|
77
|
+
fr: "Francuska",
|
|
78
|
+
ga: "Gabon",
|
|
79
|
+
gb: "Ujedinjeno Kraljevstvo",
|
|
80
|
+
gd: "Grenada",
|
|
81
|
+
ge: "Gruzija",
|
|
82
|
+
gf: "Francuska Gijana",
|
|
83
|
+
gg: "Guernsey",
|
|
84
|
+
gh: "Gana",
|
|
85
|
+
gi: "Gibraltar",
|
|
86
|
+
gl: "Grenland",
|
|
87
|
+
gm: "Gambija",
|
|
88
|
+
gn: "Gvineja",
|
|
89
|
+
gp: "Guadalupe",
|
|
90
|
+
gq: "Ekvatorska Gvineja",
|
|
91
|
+
gr: "Grčka",
|
|
92
|
+
gs: "Južna Georgija i Južni Sendvički Otoci",
|
|
93
|
+
gt: "Gvatemala",
|
|
94
|
+
gu: "Guam",
|
|
95
|
+
gw: "Gvineja Bisau",
|
|
96
|
+
gy: "Gvajana",
|
|
97
|
+
hk: "PUP Hong Kong Kina",
|
|
98
|
+
hm: "Otoci Heard i McDonald",
|
|
99
|
+
hn: "Honduras",
|
|
100
|
+
hr: "Hrvatska",
|
|
101
|
+
ht: "Haiti",
|
|
102
|
+
hu: "Mađarska",
|
|
103
|
+
id: "Indonezija",
|
|
104
|
+
ie: "Irska",
|
|
105
|
+
il: "Izrael",
|
|
106
|
+
im: "Otok Man",
|
|
107
|
+
in: "Indija",
|
|
108
|
+
io: "Britanski Indijskooceanski teritorij",
|
|
109
|
+
iq: "Irak",
|
|
110
|
+
ir: "Iran",
|
|
111
|
+
is: "Island",
|
|
112
|
+
it: "Italija",
|
|
113
|
+
je: "Jersey",
|
|
114
|
+
jm: "Jamajka",
|
|
115
|
+
jo: "Jordan",
|
|
116
|
+
jp: "Japan",
|
|
117
|
+
ke: "Kenija",
|
|
118
|
+
kg: "Kirgistan",
|
|
119
|
+
kh: "Kambodža",
|
|
120
|
+
ki: "Kiribati",
|
|
121
|
+
km: "Komori",
|
|
122
|
+
kn: "Sveti Kristofor i Nevis",
|
|
123
|
+
kp: "Sjeverna Koreja",
|
|
124
|
+
kr: "Južna Koreja",
|
|
125
|
+
kw: "Kuvajt",
|
|
126
|
+
ky: "Kajmanski otoci",
|
|
127
|
+
kz: "Kazahstan",
|
|
128
|
+
la: "Laos",
|
|
129
|
+
lb: "Libanon",
|
|
130
|
+
lc: "Sveta Lucija",
|
|
131
|
+
li: "Lihtenštajn",
|
|
132
|
+
lk: "Šri Lanka",
|
|
133
|
+
lr: "Liberija",
|
|
134
|
+
ls: "Lesoto",
|
|
135
|
+
lt: "Litva",
|
|
136
|
+
lu: "Luksemburg",
|
|
137
|
+
lv: "Latvija",
|
|
138
|
+
ly: "Libija",
|
|
139
|
+
ma: "Maroko",
|
|
140
|
+
mc: "Monako",
|
|
141
|
+
md: "Moldavija",
|
|
142
|
+
me: "Crna Gora",
|
|
143
|
+
mf: "Saint Martin",
|
|
144
|
+
mg: "Madagaskar",
|
|
145
|
+
mh: "Maršalovi Otoci",
|
|
146
|
+
mk: "Sjeverna Makedonija",
|
|
147
|
+
ml: "Mali",
|
|
148
|
+
mm: "Mjanmar (Burma)",
|
|
149
|
+
mn: "Mongolija",
|
|
150
|
+
mo: "PUP Makao Kina",
|
|
151
|
+
mp: "Sjevernomarijanski otoci",
|
|
152
|
+
mq: "Martinique",
|
|
153
|
+
mr: "Mauretanija",
|
|
154
|
+
ms: "Montserrat",
|
|
155
|
+
mt: "Malta",
|
|
156
|
+
mu: "Mauricijus",
|
|
157
|
+
mv: "Maldivi",
|
|
158
|
+
mw: "Malavi",
|
|
159
|
+
mx: "Meksiko",
|
|
160
|
+
my: "Malezija",
|
|
161
|
+
mz: "Mozambik",
|
|
162
|
+
na: "Namibija",
|
|
163
|
+
nc: "Nova Kaledonija",
|
|
164
|
+
ne: "Niger",
|
|
165
|
+
nf: "Otok Norfolk",
|
|
166
|
+
ng: "Nigerija",
|
|
167
|
+
ni: "Nikaragva",
|
|
168
|
+
nl: "Nizozemska",
|
|
169
|
+
no: "Norveška",
|
|
170
|
+
np: "Nepal",
|
|
171
|
+
nr: "Nauru",
|
|
172
|
+
nu: "Niue",
|
|
173
|
+
nz: "Novi Zeland",
|
|
174
|
+
om: "Oman",
|
|
175
|
+
pa: "Panama",
|
|
176
|
+
pe: "Peru",
|
|
177
|
+
pf: "Francuska Polinezija",
|
|
178
|
+
pg: "Papua Nova Gvineja",
|
|
179
|
+
ph: "Filipini",
|
|
180
|
+
pk: "Pakistan",
|
|
181
|
+
pl: "Poljska",
|
|
182
|
+
pm: "Saint-Pierre-et-Miquelon",
|
|
183
|
+
pn: "Otoci Pitcairn",
|
|
184
|
+
pr: "Portoriko",
|
|
185
|
+
ps: "Palestinsko područje",
|
|
186
|
+
pt: "Portugal",
|
|
187
|
+
pw: "Palau",
|
|
188
|
+
py: "Paragvaj",
|
|
189
|
+
qa: "Katar",
|
|
190
|
+
re: "Réunion",
|
|
191
|
+
ro: "Rumunjska",
|
|
192
|
+
rs: "Srbija",
|
|
193
|
+
ru: "Rusija",
|
|
194
|
+
rw: "Ruanda",
|
|
195
|
+
sa: "Saudijska Arabija",
|
|
196
|
+
sb: "Salomonski Otoci",
|
|
197
|
+
sc: "Sejšeli",
|
|
198
|
+
sd: "Sudan",
|
|
199
|
+
se: "Švedska",
|
|
200
|
+
sg: "Singapur",
|
|
201
|
+
sh: "Sveta Helena",
|
|
202
|
+
si: "Slovenija",
|
|
203
|
+
sj: "Svalbard i Jan Mayen",
|
|
204
|
+
sk: "Slovačka",
|
|
205
|
+
sl: "Sijera Leone",
|
|
206
|
+
sm: "San Marino",
|
|
207
|
+
sn: "Senegal",
|
|
208
|
+
so: "Somalija",
|
|
209
|
+
sr: "Surinam",
|
|
210
|
+
ss: "Južni Sudan",
|
|
211
|
+
st: "Sveti Toma i Princip",
|
|
212
|
+
sv: "Salvador",
|
|
213
|
+
sx: "Sint Maarten",
|
|
214
|
+
sy: "Sirija",
|
|
215
|
+
sz: "Esvatini",
|
|
216
|
+
tc: "Otoci Turks i Caicos",
|
|
217
|
+
td: "Čad",
|
|
218
|
+
tf: "Francuski južni i antarktički teritoriji",
|
|
219
|
+
tg: "Togo",
|
|
220
|
+
th: "Tajland",
|
|
221
|
+
tj: "Tadžikistan",
|
|
222
|
+
tk: "Tokelau",
|
|
223
|
+
tl: "Timor-Leste",
|
|
224
|
+
tm: "Turkmenistan",
|
|
225
|
+
tn: "Tunis",
|
|
226
|
+
to: "Tonga",
|
|
227
|
+
tr: "Turska",
|
|
228
|
+
tt: "Trinidad i Tobago",
|
|
229
|
+
tv: "Tuvalu",
|
|
230
|
+
tw: "Tajvan",
|
|
231
|
+
tz: "Tanzanija",
|
|
232
|
+
ua: "Ukrajina",
|
|
233
|
+
ug: "Uganda",
|
|
234
|
+
um: "Mali udaljeni otoci SAD-a",
|
|
235
|
+
us: "Sjedinjene Američke Države",
|
|
236
|
+
uy: "Urugvaj",
|
|
237
|
+
uz: "Uzbekistan",
|
|
238
|
+
va: "Vatikanski Grad",
|
|
239
|
+
vc: "Sveti Vincent i Grenadini",
|
|
240
|
+
ve: "Venezuela",
|
|
241
|
+
vg: "Britanski Djevičanski otoci",
|
|
242
|
+
vi: "Američki Djevičanski otoci",
|
|
243
|
+
vn: "Vijetnam",
|
|
244
|
+
vu: "Vanuatu",
|
|
245
|
+
wf: "Wallis i Futuna",
|
|
246
|
+
ws: "Samoa",
|
|
247
|
+
ye: "Jemen",
|
|
248
|
+
yt: "Mayotte",
|
|
249
|
+
za: "Južnoafrička Republika",
|
|
250
|
+
zm: "Zambija",
|
|
251
|
+
zw: "Zimbabve",
|
|
252
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//* THIS FILE IS AUTO-GENERATED. DO NOT EDIT.
|
|
2
|
+
import countryTranslations from "./countries.js";
|
|
3
|
+
import interfaceTranslations from "./interface.js";
|
|
4
|
+
|
|
5
|
+
export { countryTranslations, interfaceTranslations };
|
|
6
|
+
export default { ...countryTranslations, ...interfaceTranslations };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//* Croatian. Translated by: Harun Sabljaković (sabljak) */
|
|
2
|
+
export default {
|
|
3
|
+
selectedCountryAriaLabel: "Odabrana zemlja",
|
|
4
|
+
noCountrySelected: "Zemlja nije odabrana",
|
|
5
|
+
countryListAriaLabel: "Lista zemalja",
|
|
6
|
+
searchPlaceholder: "Pretraži",
|
|
7
|
+
zeroSearchResults: "Nema pronađenih rezultata",
|
|
8
|
+
oneSearchResult: "Pronađen 1 rezultat",
|
|
9
|
+
multipleSearchResults: "${count} rezultata pronađeno",
|
|
10
|
+
|
|
11
|
+
// additional countries (not supported by country-list library)
|
|
12
|
+
ac: "Ascension",
|
|
13
|
+
xk: "Kosovo",
|
|
14
|
+
};
|
package/build/js/i18n/index.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
export { default as ar, countryTranslations as arCountryTranslations, interfaceTranslations as arInterfaceTranslations } from "./ar";
|
|
3
3
|
export { default as bg, countryTranslations as bgCountryTranslations, interfaceTranslations as bgInterfaceTranslations } from "./bg";
|
|
4
4
|
export { default as bn, countryTranslations as bnCountryTranslations, interfaceTranslations as bnInterfaceTranslations } from "./bn";
|
|
5
|
+
export { default as bs, countryTranslations as bsCountryTranslations, interfaceTranslations as bsInterfaceTranslations } from "./bs";
|
|
5
6
|
export { default as ca, countryTranslations as caCountryTranslations, interfaceTranslations as caInterfaceTranslations } from "./ca";
|
|
6
7
|
export { default as cs, countryTranslations as csCountryTranslations, interfaceTranslations as csInterfaceTranslations } from "./cs";
|
|
7
8
|
export { default as de, countryTranslations as deCountryTranslations, interfaceTranslations as deInterfaceTranslations } from "./de";
|
|
@@ -12,6 +13,7 @@ export { default as fa, countryTranslations as faCountryTranslations, interfaceT
|
|
|
12
13
|
export { default as fi, countryTranslations as fiCountryTranslations, interfaceTranslations as fiInterfaceTranslations } from "./fi";
|
|
13
14
|
export { default as fr, countryTranslations as frCountryTranslations, interfaceTranslations as frInterfaceTranslations } from "./fr";
|
|
14
15
|
export { default as hi, countryTranslations as hiCountryTranslations, interfaceTranslations as hiInterfaceTranslations } from "./hi";
|
|
16
|
+
export { default as hr, countryTranslations as hrCountryTranslations, interfaceTranslations as hrInterfaceTranslations } from "./hr";
|
|
15
17
|
export { default as hu, countryTranslations as huCountryTranslations, interfaceTranslations as huInterfaceTranslations } from "./hu";
|
|
16
18
|
export { default as id, countryTranslations as idCountryTranslations, interfaceTranslations as idInterfaceTranslations } from "./id";
|
|
17
19
|
export { default as it, countryTranslations as itCountryTranslations, interfaceTranslations as itInterfaceTranslations } from "./it";
|
package/build/js/intlTelInput.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* International Telephone Input v23.
|
|
2
|
+
* International Telephone Input v23.7.0
|
|
3
3
|
* https://github.com/jackocnr/intl-tel-input.git
|
|
4
4
|
* Licensed under the MIT license
|
|
5
5
|
*/
|
|
@@ -2822,7 +2822,7 @@ var factoryOutput = (() => {
|
|
|
2822
2822
|
//* A map from instance ID to instance object.
|
|
2823
2823
|
instances: {},
|
|
2824
2824
|
loadUtils,
|
|
2825
|
-
version: "23.
|
|
2825
|
+
version: "23.7.0"
|
|
2826
2826
|
}
|
|
2827
2827
|
);
|
|
2828
2828
|
var intl_tel_input_default = intlTelInput;
|