intl-tel-input 24.6.1 → 24.8.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 +15 -7
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/i18n/da/countries.js +245 -0
- package/build/js/i18n/da/index.js +5 -0
- package/build/js/i18n/da/interface.js +13 -0
- package/build/js/i18n/index.js +1 -0
- package/build/js/intlTelInput.d.ts +19 -0
- package/build/js/intlTelInput.js +2 -2
- package/build/js/intlTelInput.min.js +2 -2
- package/build/js/intlTelInputWithUtils.js +266 -339
- package/build/js/intlTelInputWithUtils.min.js +2 -2
- package/build/js/utils.js +50 -51
- package/package.json +1 -1
- package/react/README.md +1 -1
- package/react/build/IntlTelInput.cjs +1 -1
- package/react/build/IntlTelInput.d.ts +19 -0
- package/react/build/IntlTelInput.js +1 -1
- package/react/build/IntlTelInputWithUtils.cjs +265 -338
- package/react/build/IntlTelInputWithUtils.js +265 -338
- package/vue/README.md +1 -1
- package/vue/build/IntlTelInput.mjs +1 -1
- package/vue/build/IntlTelInputWithUtils.mjs +265 -338
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<img src="https://raw.github.com/jackocnr/intl-tel-input/master/screenshots/react.webp" alt="React logo" width="16px" /> NEWS: we now have our own <a href="https://github.com/jackocnr/intl-tel-input/tree/master/react">React component</a>! Play with it on <a href="https://intl-tel-input.com/storybook/?path=/docs/intltelinput--vanilla">Storybook</a>.
|
|
6
6
|
|
|
7
|
-
🗣️ NEWS: we now provide [translations](
|
|
7
|
+
🗣️ NEWS: we now provide [translations](#translations) in over 30 languages! [See them in action](https://intl-tel-input.com/storybook/?path=/docs/intltelinput--i18n).
|
|
8
8
|
|
|
9
9
|
International Telephone Input is a JavaScript plugin for entering and validating international telephone numbers. It takes a regular input field, adds a searchable country dropdown, auto-detects the user's country, displays a relevant placeholder number, formats the number as you type, and provides comprehensive validation methods. React and Vue components are also included.
|
|
10
10
|
|
|
@@ -31,6 +31,7 @@ Use [Twilio's API to build phone verification, SMS 2FA, appointment reminders, m
|
|
|
31
31
|
- [Static Methods](#static-methods)
|
|
32
32
|
- [Events](#events)
|
|
33
33
|
- [Theming / Dark Mode](#theming--dark-mode)
|
|
34
|
+
- [Translations](#translations)
|
|
34
35
|
- [Utilities Script](#utilities-script)
|
|
35
36
|
- [Loading The Utilities Script](#loading-the-utilities-script)
|
|
36
37
|
- [Troubleshooting](#troubleshooting)
|
|
@@ -74,16 +75,16 @@ _Note: We have now dropped support for all versions of Internet Explorer because
|
|
|
74
75
|
## Getting Started (Using a CDN)
|
|
75
76
|
1. Add the CSS
|
|
76
77
|
```html
|
|
77
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@24.
|
|
78
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@24.8.0/build/css/intlTelInput.css">
|
|
78
79
|
```
|
|
79
80
|
|
|
80
81
|
2. Add the plugin script and initialise it on your input element
|
|
81
82
|
```html
|
|
82
|
-
<script src="https://cdn.jsdelivr.net/npm/intl-tel-input@24.
|
|
83
|
+
<script src="https://cdn.jsdelivr.net/npm/intl-tel-input@24.8.0/build/js/intlTelInput.min.js"></script>
|
|
83
84
|
<script>
|
|
84
85
|
const input = document.querySelector("#phone");
|
|
85
86
|
window.intlTelInput(input, {
|
|
86
|
-
loadUtilsOnInit: "https://cdn.jsdelivr.net/npm/intl-tel-input@24.
|
|
87
|
+
loadUtilsOnInit: "https://cdn.jsdelivr.net/npm/intl-tel-input@24.8.0/build/js/utils.js",
|
|
87
88
|
});
|
|
88
89
|
</script>
|
|
89
90
|
```
|
|
@@ -318,7 +319,7 @@ Set the initial country selection by specifying its country code e.g. `"us"` for
|
|
|
318
319
|
**loadUtilsOnInit** (see [v25 discussion](https://github.com/jackocnr/intl-tel-input/discussions/1842))
|
|
319
320
|
Type: `String` or `() => Promise<module>` Default: `""` Example: `"/build/js/utils.js"`
|
|
320
321
|
|
|
321
|
-
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 `loadUtilsOnInit` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@24.
|
|
322
|
+
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 `loadUtilsOnInit` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@24.8.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.
|
|
322
323
|
|
|
323
324
|
Alternatively, this can be a function that returns a promise for the utils module. When using a bundler like Webpack, this can be used to tell the bundler that the utils script should be kept in a separate file from the rest of your code. For example: `{ loadUtilsOnInit: () => import("intl-tel-input/utils") }`.
|
|
324
325
|
|
|
@@ -564,6 +565,13 @@ NOTE: this assumes you already have your own dark mode styling in place for gene
|
|
|
564
565
|
Example:
|
|
565
566
|
<img src="https://raw.github.com/jackocnr/intl-tel-input/master/screenshots/dark-mode2.png" alt="Screenshot" width="264px" height="272px" />
|
|
566
567
|
|
|
568
|
+
## Translations
|
|
569
|
+
We provide [translations](https://github.com/jackocnr/intl-tel-input/tree/master/build/js/i18n) for the 200+ country names, as well as other user interface text (e.g. the placeholder text for the country search input) in over 30 languages. See the `i18n` option for details on how to use them. [See them in action](https://intl-tel-input.com/storybook/?path=/docs/intltelinput--i18n).
|
|
570
|
+
|
|
571
|
+
Supported languages: Arabic, Bengali, Bosnian, Bulgarian, Catalan, Chinese, Croatian, Czech, Danish, Dutch, Norwegian, English, Farsi, Finnish, French, German, Greek, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Marathi, Polish, Portuguese, Romanian, Russian, Slovak, Spanish, Swedish, Telugu, Thai, Turkish, Urdu, Vietnamese.
|
|
572
|
+
|
|
573
|
+
If we don't currently support a language you need, it's easy to [contribute this](https://github.com/jackocnr/intl-tel-input/blob/master/.github/CONTRIBUTING.md#adding-a-new-translation) yourself - you only need to provide a handful of UI translation strings, as we automatically pull in the country names from the country-list project.
|
|
574
|
+
|
|
567
575
|
## Utilities Script
|
|
568
576
|
The utilities script ([build/js/utils.js](build/js/utils.js)) is a custom build of Google's [libphonenumber](https://github.com/googlei18n/libphonenumber) which enables the following features:
|
|
569
577
|
|
|
@@ -585,7 +593,7 @@ The utils script provides lots of great functionality (see above section), but c
|
|
|
585
593
|
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"`.
|
|
586
594
|
|
|
587
595
|
**Option 2: loadUtilsOnInit**
|
|
588
|
-
If you *are* concerned about filesize, you can lazy load the utils script when the plugin initialises, using the `loadUtilsOnInit` 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 `loadUtilsOnInit` option to that URL, or just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@24.
|
|
596
|
+
If you *are* concerned about filesize, you can lazy load the utils script when the plugin initialises, using the `loadUtilsOnInit` 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 `loadUtilsOnInit` option to that URL, or just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@24.8.0/build/js/utils.js"`.
|
|
589
597
|
|
|
590
598
|
Alternatively, you can set the `loadUtilsOnInit` option to a function that returns a promise for the utils script as a JS module object. If you use a bundler like Webpack, Vite, or Parcel to build your app, you can use it like this automatically separate the utils into a different bundle:
|
|
591
599
|
|
|
@@ -648,4 +656,4 @@ See the [contributing guide](https://github.com/jackocnr/intl-tel-input/blob/mas
|
|
|
648
656
|
|
|
649
657
|
User testing powered by [BrowserStack Open-Source Program](https://www.browserstack.com/open-source)
|
|
650
658
|
|
|
651
|
-
Browser testing via <a href="https://www.lambdatest.com/" target="_blank"><img src="https://raw.
|
|
659
|
+
Browser testing via <a href="https://www.lambdatest.com/" target="_blank"><img src="https://raw.githubusercontent.com/jackocnr/intl-tel-input/44e0e66d01e260a7c39b3405c3229b9446882cba/screenshots/LambdaTest%20logo%20-blue.svg" style="vertical-align: middle;margin-left:5px" width="147" height="26" /></a>
|
package/build/js/data.js
CHANGED
package/build/js/data.min.js
CHANGED
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
const countryTranslations = {
|
|
2
|
+
ad: "Andorra",
|
|
3
|
+
ae: "De Forenede Arabiske Emirater",
|
|
4
|
+
af: "Afghanistan",
|
|
5
|
+
ag: "Antigua og Barbuda",
|
|
6
|
+
ai: "Anguilla",
|
|
7
|
+
al: "Albanien",
|
|
8
|
+
am: "Armenien",
|
|
9
|
+
ao: "Angola",
|
|
10
|
+
ar: "Argentina",
|
|
11
|
+
as: "Amerikansk Samoa",
|
|
12
|
+
at: "Østrig",
|
|
13
|
+
au: "Australien",
|
|
14
|
+
aw: "Aruba",
|
|
15
|
+
ax: "Åland",
|
|
16
|
+
az: "Aserbajdsjan",
|
|
17
|
+
ba: "Bosnien-Hercegovina",
|
|
18
|
+
bb: "Barbados",
|
|
19
|
+
bd: "Bangladesh",
|
|
20
|
+
be: "Belgien",
|
|
21
|
+
bf: "Burkina Faso",
|
|
22
|
+
bg: "Bulgarien",
|
|
23
|
+
bh: "Bahrain",
|
|
24
|
+
bi: "Burundi",
|
|
25
|
+
bj: "Benin",
|
|
26
|
+
bl: "Saint Barthélemy",
|
|
27
|
+
bm: "Bermuda",
|
|
28
|
+
bn: "Brunei",
|
|
29
|
+
bo: "Bolivia",
|
|
30
|
+
bq: "De tidligere Nederlandske Antiller",
|
|
31
|
+
br: "Brasilien",
|
|
32
|
+
bs: "Bahamas",
|
|
33
|
+
bt: "Bhutan",
|
|
34
|
+
bw: "Botswana",
|
|
35
|
+
by: "Hviderusland",
|
|
36
|
+
bz: "Belize",
|
|
37
|
+
ca: "Canada",
|
|
38
|
+
cc: "Cocosøerne",
|
|
39
|
+
cd: "Congo-Kinshasa",
|
|
40
|
+
cf: "Den Centralafrikanske Republik",
|
|
41
|
+
cg: "Congo-Brazzaville",
|
|
42
|
+
ch: "Schweiz",
|
|
43
|
+
ci: "Elfenbenskysten",
|
|
44
|
+
ck: "Cookøerne",
|
|
45
|
+
cl: "Chile",
|
|
46
|
+
cm: "Cameroun",
|
|
47
|
+
cn: "Kina",
|
|
48
|
+
co: "Colombia",
|
|
49
|
+
cr: "Costa Rica",
|
|
50
|
+
cu: "Cuba",
|
|
51
|
+
cv: "Kap Verde",
|
|
52
|
+
cw: "Curaçao",
|
|
53
|
+
cx: "Juleøen",
|
|
54
|
+
cy: "Cypern",
|
|
55
|
+
cz: "Tjekkiet",
|
|
56
|
+
de: "Tyskland",
|
|
57
|
+
dj: "Djibouti",
|
|
58
|
+
dk: "Danmark",
|
|
59
|
+
dm: "Dominica",
|
|
60
|
+
do: "Den Dominikanske Republik",
|
|
61
|
+
dz: "Algeriet",
|
|
62
|
+
ec: "Ecuador",
|
|
63
|
+
ee: "Estland",
|
|
64
|
+
eg: "Egypten",
|
|
65
|
+
eh: "Vestsahara",
|
|
66
|
+
er: "Eritrea",
|
|
67
|
+
es: "Spanien",
|
|
68
|
+
et: "Etiopien",
|
|
69
|
+
fi: "Finland",
|
|
70
|
+
fj: "Fiji",
|
|
71
|
+
fk: "Falklandsøerne",
|
|
72
|
+
fm: "Mikronesien",
|
|
73
|
+
fo: "Færøerne",
|
|
74
|
+
fr: "Frankrig",
|
|
75
|
+
ga: "Gabon",
|
|
76
|
+
gb: "Storbritannien",
|
|
77
|
+
gd: "Grenada",
|
|
78
|
+
ge: "Georgien",
|
|
79
|
+
gf: "Fransk Guyana",
|
|
80
|
+
gg: "Guernsey",
|
|
81
|
+
gh: "Ghana",
|
|
82
|
+
gi: "Gibraltar",
|
|
83
|
+
gl: "Grønland",
|
|
84
|
+
gm: "Gambia",
|
|
85
|
+
gn: "Guinea",
|
|
86
|
+
gp: "Guadeloupe",
|
|
87
|
+
gq: "Ækvatorialguinea",
|
|
88
|
+
gr: "Grækenland",
|
|
89
|
+
gt: "Guatemala",
|
|
90
|
+
gu: "Guam",
|
|
91
|
+
gw: "Guinea-Bissau",
|
|
92
|
+
gy: "Guyana",
|
|
93
|
+
hk: "SAR Hongkong",
|
|
94
|
+
hn: "Honduras",
|
|
95
|
+
hr: "Kroatien",
|
|
96
|
+
ht: "Haiti",
|
|
97
|
+
hu: "Ungarn",
|
|
98
|
+
id: "Indonesien",
|
|
99
|
+
ie: "Irland",
|
|
100
|
+
il: "Israel",
|
|
101
|
+
im: "Isle of Man",
|
|
102
|
+
in: "Indien",
|
|
103
|
+
io: "Det Britiske Territorium i Det Indiske Ocean",
|
|
104
|
+
iq: "Irak",
|
|
105
|
+
ir: "Iran",
|
|
106
|
+
is: "Island",
|
|
107
|
+
it: "Italien",
|
|
108
|
+
je: "Jersey",
|
|
109
|
+
jm: "Jamaica",
|
|
110
|
+
jo: "Jordan",
|
|
111
|
+
jp: "Japan",
|
|
112
|
+
ke: "Kenya",
|
|
113
|
+
kg: "Kirgisistan",
|
|
114
|
+
kh: "Cambodja",
|
|
115
|
+
ki: "Kiribati",
|
|
116
|
+
km: "Comorerne",
|
|
117
|
+
kn: "Saint Kitts og Nevis",
|
|
118
|
+
kp: "Nordkorea",
|
|
119
|
+
kr: "Sydkorea",
|
|
120
|
+
kw: "Kuwait",
|
|
121
|
+
ky: "Caymanøerne",
|
|
122
|
+
kz: "Kasakhstan",
|
|
123
|
+
la: "Laos",
|
|
124
|
+
lb: "Libanon",
|
|
125
|
+
lc: "Saint Lucia",
|
|
126
|
+
li: "Liechtenstein",
|
|
127
|
+
lk: "Sri Lanka",
|
|
128
|
+
lr: "Liberia",
|
|
129
|
+
ls: "Lesotho",
|
|
130
|
+
lt: "Litauen",
|
|
131
|
+
lu: "Luxembourg",
|
|
132
|
+
lv: "Letland",
|
|
133
|
+
ly: "Libyen",
|
|
134
|
+
ma: "Marokko",
|
|
135
|
+
mc: "Monaco",
|
|
136
|
+
md: "Moldova",
|
|
137
|
+
me: "Montenegro",
|
|
138
|
+
mf: "Saint Martin",
|
|
139
|
+
mg: "Madagaskar",
|
|
140
|
+
mh: "Marshalløerne",
|
|
141
|
+
mk: "Nordmakedonien",
|
|
142
|
+
ml: "Mali",
|
|
143
|
+
mm: "Myanmar (Burma)",
|
|
144
|
+
mn: "Mongoliet",
|
|
145
|
+
mo: "SAR Macao",
|
|
146
|
+
mp: "Nordmarianerne",
|
|
147
|
+
mq: "Martinique",
|
|
148
|
+
mr: "Mauretanien",
|
|
149
|
+
ms: "Montserrat",
|
|
150
|
+
mt: "Malta",
|
|
151
|
+
mu: "Mauritius",
|
|
152
|
+
mv: "Maldiverne",
|
|
153
|
+
mw: "Malawi",
|
|
154
|
+
mx: "Mexico",
|
|
155
|
+
my: "Malaysia",
|
|
156
|
+
mz: "Mozambique",
|
|
157
|
+
na: "Namibia",
|
|
158
|
+
nc: "Ny Kaledonien",
|
|
159
|
+
ne: "Niger",
|
|
160
|
+
nf: "Norfolk Island",
|
|
161
|
+
ng: "Nigeria",
|
|
162
|
+
ni: "Nicaragua",
|
|
163
|
+
nl: "Holland",
|
|
164
|
+
no: "Norge",
|
|
165
|
+
np: "Nepal",
|
|
166
|
+
nr: "Nauru",
|
|
167
|
+
nu: "Niue",
|
|
168
|
+
nz: "New Zealand",
|
|
169
|
+
om: "Oman",
|
|
170
|
+
pa: "Panama",
|
|
171
|
+
pe: "Peru",
|
|
172
|
+
pf: "Fransk Polynesien",
|
|
173
|
+
pg: "Papua Ny Guinea",
|
|
174
|
+
ph: "Filippinerne",
|
|
175
|
+
pk: "Pakistan",
|
|
176
|
+
pl: "Polen",
|
|
177
|
+
pm: "Saint Pierre og Miquelon",
|
|
178
|
+
pr: "Puerto Rico",
|
|
179
|
+
ps: "De palæstinensiske områder",
|
|
180
|
+
pt: "Portugal",
|
|
181
|
+
pw: "Palau",
|
|
182
|
+
py: "Paraguay",
|
|
183
|
+
qa: "Qatar",
|
|
184
|
+
re: "Réunion",
|
|
185
|
+
ro: "Rumænien",
|
|
186
|
+
rs: "Serbien",
|
|
187
|
+
ru: "Rusland",
|
|
188
|
+
rw: "Rwanda",
|
|
189
|
+
sa: "Saudi-Arabien",
|
|
190
|
+
sb: "Salomonøerne",
|
|
191
|
+
sc: "Seychellerne",
|
|
192
|
+
sd: "Sudan",
|
|
193
|
+
se: "Sverige",
|
|
194
|
+
sg: "Singapore",
|
|
195
|
+
sh: "St. Helena",
|
|
196
|
+
si: "Slovenien",
|
|
197
|
+
sj: "Svalbard og Jan Mayen",
|
|
198
|
+
sk: "Slovakiet",
|
|
199
|
+
sl: "Sierra Leone",
|
|
200
|
+
sm: "San Marino",
|
|
201
|
+
sn: "Senegal",
|
|
202
|
+
so: "Somalia",
|
|
203
|
+
sr: "Surinam",
|
|
204
|
+
ss: "Sydsudan",
|
|
205
|
+
st: "São Tomé og Príncipe",
|
|
206
|
+
sv: "El Salvador",
|
|
207
|
+
sx: "Sint Maarten",
|
|
208
|
+
sy: "Syrien",
|
|
209
|
+
sz: "Eswatini",
|
|
210
|
+
tc: "Turks- og Caicosøerne",
|
|
211
|
+
td: "Tchad",
|
|
212
|
+
tg: "Togo",
|
|
213
|
+
th: "Thailand",
|
|
214
|
+
tj: "Tadsjikistan",
|
|
215
|
+
tk: "Tokelau",
|
|
216
|
+
tl: "Timor-Leste",
|
|
217
|
+
tm: "Turkmenistan",
|
|
218
|
+
tn: "Tunesien",
|
|
219
|
+
to: "Tonga",
|
|
220
|
+
tr: "Tyrkiet",
|
|
221
|
+
tt: "Trinidad og Tobago",
|
|
222
|
+
tv: "Tuvalu",
|
|
223
|
+
tw: "Taiwan",
|
|
224
|
+
tz: "Tanzania",
|
|
225
|
+
ua: "Ukraine",
|
|
226
|
+
ug: "Uganda",
|
|
227
|
+
us: "USA",
|
|
228
|
+
uy: "Uruguay",
|
|
229
|
+
uz: "Usbekistan",
|
|
230
|
+
va: "Vatikanstaten",
|
|
231
|
+
vc: "Saint Vincent og Grenadinerne",
|
|
232
|
+
ve: "Venezuela",
|
|
233
|
+
vg: "De Britiske Jomfruøer",
|
|
234
|
+
vi: "De Amerikanske Jomfruøer",
|
|
235
|
+
vn: "Vietnam",
|
|
236
|
+
vu: "Vanuatu",
|
|
237
|
+
wf: "Wallis og Futuna",
|
|
238
|
+
ws: "Samoa",
|
|
239
|
+
ye: "Yemen",
|
|
240
|
+
yt: "Mayotte",
|
|
241
|
+
za: "Sydafrika",
|
|
242
|
+
zm: "Zambia",
|
|
243
|
+
zw: "Zimbabwe"
|
|
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,13 @@
|
|
|
1
|
+
const interfaceTranslations = {
|
|
2
|
+
selectedCountryAriaLabel: "Valgt land",
|
|
3
|
+
noCountrySelected: "Intet land er valgt",
|
|
4
|
+
countryListAriaLabel: "Liste over lande",
|
|
5
|
+
searchPlaceholder: "Søge",
|
|
6
|
+
zeroSearchResults: "Ingen resultater fundet",
|
|
7
|
+
oneSearchResult: "1 resultat fundet",
|
|
8
|
+
multipleSearchResults: "${count} resultater fundet",
|
|
9
|
+
// additional countries (not supported by country-list library)
|
|
10
|
+
ac: "Ascension",
|
|
11
|
+
xk: "Kosovo"
|
|
12
|
+
};
|
|
13
|
+
export default interfaceTranslations;
|
package/build/js/i18n/index.js
CHANGED
|
@@ -4,6 +4,7 @@ export { default as bn, countryTranslations as bnCountryTranslations, interfaceT
|
|
|
4
4
|
export { default as bs, countryTranslations as bsCountryTranslations, interfaceTranslations as bsInterfaceTranslations } from "./bs";
|
|
5
5
|
export { default as ca, countryTranslations as caCountryTranslations, interfaceTranslations as caInterfaceTranslations } from "./ca";
|
|
6
6
|
export { default as cs, countryTranslations as csCountryTranslations, interfaceTranslations as csInterfaceTranslations } from "./cs";
|
|
7
|
+
export { default as da, countryTranslations as daCountryTranslations, interfaceTranslations as daInterfaceTranslations } from "./da";
|
|
7
8
|
export { default as de, countryTranslations as deCountryTranslations, interfaceTranslations as deInterfaceTranslations } from "./de";
|
|
8
9
|
export { default as el, countryTranslations as elCountryTranslations, interfaceTranslations as elInterfaceTranslations } from "./el";
|
|
9
10
|
export { default as en, countryTranslations as enCountryTranslations, interfaceTranslations as enInterfaceTranslations } from "./en";
|
|
@@ -594,6 +594,24 @@ declare module "intl-tel-input/i18n/cs" {
|
|
|
594
594
|
const allTranslations: I18n;
|
|
595
595
|
export default allTranslations;
|
|
596
596
|
}
|
|
597
|
+
declare module "intl-tel-input/i18n/da/countries" {
|
|
598
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
599
|
+
const countryTranslations: I18n;
|
|
600
|
+
export default countryTranslations;
|
|
601
|
+
}
|
|
602
|
+
declare module "intl-tel-input/i18n/da/interface" {
|
|
603
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
604
|
+
const interfaceTranslations: I18n;
|
|
605
|
+
export default interfaceTranslations;
|
|
606
|
+
}
|
|
607
|
+
declare module "intl-tel-input/i18n/da" {
|
|
608
|
+
import { I18n } from "intl-tel-input/i18n/types";
|
|
609
|
+
import countryTranslations from "intl-tel-input/i18n/da/countries";
|
|
610
|
+
import interfaceTranslations from "intl-tel-input/i18n/da/interface";
|
|
611
|
+
export { countryTranslations, interfaceTranslations };
|
|
612
|
+
const allTranslations: I18n;
|
|
613
|
+
export default allTranslations;
|
|
614
|
+
}
|
|
597
615
|
declare module "intl-tel-input/i18n/de/countries" {
|
|
598
616
|
import { I18n } from "intl-tel-input/i18n/types";
|
|
599
617
|
const countryTranslations: I18n;
|
|
@@ -1105,6 +1123,7 @@ declare module "intl-tel-input/i18n" {
|
|
|
1105
1123
|
export { default as bs, countryTranslations as bsCountryTranslations, interfaceTranslations as bsInterfaceTranslations } from "intl-tel-input/i18n/bs";
|
|
1106
1124
|
export { default as ca, countryTranslations as caCountryTranslations, interfaceTranslations as caInterfaceTranslations } from "intl-tel-input/i18n/ca";
|
|
1107
1125
|
export { default as cs, countryTranslations as csCountryTranslations, interfaceTranslations as csInterfaceTranslations } from "intl-tel-input/i18n/cs";
|
|
1126
|
+
export { default as da, countryTranslations as daCountryTranslations, interfaceTranslations as daInterfaceTranslations } from "intl-tel-input/i18n/da";
|
|
1108
1127
|
export { default as de, countryTranslations as deCountryTranslations, interfaceTranslations as deInterfaceTranslations } from "intl-tel-input/i18n/de";
|
|
1109
1128
|
export { default as el, countryTranslations as elCountryTranslations, interfaceTranslations as elInterfaceTranslations } from "intl-tel-input/i18n/el";
|
|
1110
1129
|
export { default as en, countryTranslations as enCountryTranslations, interfaceTranslations as enInterfaceTranslations } from "intl-tel-input/i18n/en";
|
package/build/js/intlTelInput.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* International Telephone Input v24.
|
|
2
|
+
* International Telephone Input v24.8.0
|
|
3
3
|
* https://github.com/jackocnr/intl-tel-input.git
|
|
4
4
|
* Licensed under the MIT license
|
|
5
5
|
*/
|
|
@@ -3153,7 +3153,7 @@ var factoryOutput = (() => {
|
|
|
3153
3153
|
loadUtils,
|
|
3154
3154
|
startedLoadingUtilsScript: false,
|
|
3155
3155
|
startedLoadingAutoCountry: false,
|
|
3156
|
-
version: "24.
|
|
3156
|
+
version: "24.8.0"
|
|
3157
3157
|
}
|
|
3158
3158
|
);
|
|
3159
3159
|
var intl_tel_input_default = intlTelInput;
|