intl-tel-input 25.15.0 → 26.0.0-beta.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 +26 -38
- package/angular/build/IntlTelInput.js +78 -324
- package/angular/build/IntlTelInputWithUtils.js +78 -324
- package/angular/build/types/intl-tel-input/i18n/ar/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/bg/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/bn/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/bs/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/ca/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/cs/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/da/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/de/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/ee/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/el/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/en/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/es/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/fa/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/fi/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/fr/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/hi/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/hr/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/hu/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/id/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/index.d.ts +43 -43
- package/angular/build/types/intl-tel-input/i18n/it/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/ja/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/ko/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/lt/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/mr/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/nl/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/no/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/pl/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/pt/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/ro/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/ru/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/sk/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/sl/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/sq/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/sr/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/sv/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/te/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/th/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/tr/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/types.d.ts +2 -4
- package/angular/build/types/intl-tel-input/i18n/uk/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/ur/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/uz/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/vi/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input/i18n/zh/index.d.ts +3 -6
- package/angular/build/types/intl-tel-input.d.ts +1 -1
- package/angular/build/types/modules/constants.d.ts +1 -1
- package/angular/build/types/modules/core/icons.d.ts +2 -0
- package/angular/build/types/modules/core/options.d.ts +1 -2
- package/angular/build/types/modules/core/ui.d.ts +2 -3
- package/angular/build/types/modules/data/country-data.d.ts +2 -2
- package/angular/build/types/modules/format/formatting.d.ts +2 -2
- package/angular/build/types/modules/types/public-api.d.ts +3 -1
- package/build/css/demo.css +1 -3
- package/build/css/intlTelInput-no-assets.css +17 -19
- package/build/css/intlTelInput-no-assets.min.css +1 -1
- package/build/css/intlTelInput.css +18 -21
- 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/ar/index.js +23 -5
- package/build/js/i18n/bg/index.js +17 -5
- package/build/js/i18n/bn/index.js +17 -5
- package/build/js/i18n/bs/index.js +23 -5
- package/build/js/i18n/ca/index.js +17 -5
- package/build/js/i18n/cs/index.js +20 -5
- package/build/js/i18n/da/index.js +17 -5
- package/build/js/i18n/de/index.js +17 -5
- package/build/js/i18n/ee/index.js +17 -5
- package/build/js/i18n/el/index.js +17 -5
- package/build/js/i18n/en/index.js +18 -5
- package/build/js/i18n/es/index.js +17 -5
- package/build/js/i18n/fa/index.js +17 -5
- package/build/js/i18n/fi/index.js +17 -5
- package/build/js/i18n/fr/index.js +17 -5
- package/build/js/i18n/hi/index.js +17 -5
- package/build/js/i18n/hr/index.js +23 -5
- package/build/js/i18n/hu/index.js +17 -5
- package/build/js/i18n/id/index.js +17 -5
- package/build/js/i18n/index.js +43 -43
- package/build/js/i18n/it/index.js +17 -5
- package/build/js/i18n/ja/index.js +17 -5
- package/build/js/i18n/ko/index.js +17 -5
- package/build/js/i18n/lt/index.js +26 -5
- package/build/js/i18n/mr/index.js +17 -5
- package/build/js/i18n/nl/index.js +17 -5
- package/build/js/i18n/no/index.js +17 -5
- package/build/js/i18n/pl/index.js +21 -5
- package/build/js/i18n/pt/index.js +17 -5
- package/build/js/i18n/ro/index.js +21 -5
- package/build/js/i18n/ru/index.js +23 -5
- package/build/js/i18n/sk/index.js +23 -5
- package/build/js/i18n/sl/index.js +25 -5
- package/build/js/i18n/sq/index.js +18 -5
- package/build/js/i18n/sr/index.js +24 -5
- package/build/js/i18n/sv/index.js +17 -5
- package/build/js/i18n/te/index.js +17 -5
- package/build/js/i18n/th/index.js +17 -5
- package/build/js/i18n/tr/index.js +17 -5
- package/build/js/i18n/uk/index.js +23 -5
- package/build/js/i18n/ur/index.js +17 -5
- package/build/js/i18n/uz/index.js +17 -5
- package/build/js/i18n/vi/index.js +17 -5
- package/build/js/i18n/zh/index.js +17 -5
- package/build/js/intlTelInput.d.ts +118 -677
- package/build/js/intlTelInput.js +79 -329
- package/build/js/intlTelInput.min.js +8 -4
- package/build/js/intlTelInputWithUtils.js +79 -329
- package/build/js/intlTelInputWithUtils.min.js +7 -3
- package/package.json +10 -4
- package/react/build/IntlTelInput.cjs +78 -328
- package/react/build/IntlTelInput.d.ts +118 -677
- package/react/build/IntlTelInput.js +78 -328
- package/react/build/IntlTelInputWithUtils.cjs +78 -328
- package/react/build/IntlTelInputWithUtils.js +78 -328
- package/svelte/build/IntlTelInput.mjs +1170 -1413
- package/svelte/build/IntlTelInputWithUtils.mjs +935 -1178
- package/vue/build/exports/IntlTelInput.mjs +1 -1
- package/vue/build/exports/IntlTelInputWithUtils.mjs +1 -1
- 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-Db39yQmC.mjs → intl-tel-input-f0-6rrpA.mjs} +136 -138
- package/vue/build/modules/core/ui.d.ts +0 -1
- package/vue/build/modules/format/formatting.d.ts +1 -1
- package/vue/build/modules/types/public-api.d.ts +2 -1
- package/build/js/i18n/ar/countries.js +0 -245
- package/build/js/i18n/ar/interface.js +0 -23
- package/build/js/i18n/bg/countries.js +0 -245
- package/build/js/i18n/bg/interface.js +0 -13
- package/build/js/i18n/bn/countries.js +0 -245
- package/build/js/i18n/bn/interface.js +0 -13
- package/build/js/i18n/bs/countries.js +0 -245
- package/build/js/i18n/bs/interface.js +0 -20
- package/build/js/i18n/ca/countries.js +0 -245
- package/build/js/i18n/ca/interface.js +0 -13
- package/build/js/i18n/cs/countries.js +0 -245
- package/build/js/i18n/cs/interface.js +0 -20
- package/build/js/i18n/da/countries.js +0 -245
- package/build/js/i18n/da/interface.js +0 -13
- package/build/js/i18n/de/countries.js +0 -245
- package/build/js/i18n/de/interface.js +0 -13
- package/build/js/i18n/ee/countries.js +0 -245
- package/build/js/i18n/ee/interface.js +0 -13
- package/build/js/i18n/el/countries.js +0 -245
- package/build/js/i18n/el/interface.js +0 -13
- package/build/js/i18n/en/countries.js +0 -245
- package/build/js/i18n/en/interface.js +0 -14
- package/build/js/i18n/es/countries.js +0 -245
- package/build/js/i18n/es/interface.js +0 -13
- package/build/js/i18n/fa/countries.js +0 -245
- package/build/js/i18n/fa/interface.js +0 -13
- package/build/js/i18n/fi/countries.js +0 -245
- package/build/js/i18n/fi/interface.js +0 -13
- package/build/js/i18n/fr/countries.js +0 -245
- package/build/js/i18n/fr/interface.js +0 -13
- package/build/js/i18n/hi/countries.js +0 -245
- package/build/js/i18n/hi/interface.js +0 -13
- package/build/js/i18n/hr/countries.js +0 -245
- package/build/js/i18n/hr/interface.js +0 -20
- package/build/js/i18n/hu/countries.js +0 -245
- package/build/js/i18n/hu/interface.js +0 -13
- package/build/js/i18n/id/countries.js +0 -245
- package/build/js/i18n/id/interface.js +0 -13
- package/build/js/i18n/it/countries.js +0 -245
- package/build/js/i18n/it/interface.js +0 -13
- package/build/js/i18n/ja/countries.js +0 -245
- package/build/js/i18n/ja/interface.js +0 -13
- package/build/js/i18n/ko/countries.js +0 -245
- package/build/js/i18n/ko/interface.js +0 -13
- package/build/js/i18n/lt/countries.js +0 -245
- package/build/js/i18n/lt/interface.js +0 -26
- package/build/js/i18n/mr/countries.js +0 -245
- package/build/js/i18n/mr/interface.js +0 -13
- package/build/js/i18n/nl/countries.js +0 -245
- package/build/js/i18n/nl/interface.js +0 -13
- package/build/js/i18n/no/countries.js +0 -245
- package/build/js/i18n/no/interface.js +0 -13
- package/build/js/i18n/pl/countries.js +0 -245
- package/build/js/i18n/pl/interface.js +0 -19
- package/build/js/i18n/pt/countries.js +0 -245
- package/build/js/i18n/pt/interface.js +0 -13
- package/build/js/i18n/ro/countries.js +0 -245
- package/build/js/i18n/ro/interface.js +0 -18
- package/build/js/i18n/ru/countries.js +0 -245
- package/build/js/i18n/ru/interface.js +0 -20
- package/build/js/i18n/sk/countries.js +0 -245
- package/build/js/i18n/sk/interface.js +0 -20
- package/build/js/i18n/sl/countries.js +0 -245
- package/build/js/i18n/sl/interface.js +0 -25
- package/build/js/i18n/sq/countries.js +0 -245
- package/build/js/i18n/sq/interface.js +0 -14
- package/build/js/i18n/sr/countries.js +0 -245
- package/build/js/i18n/sr/interface.js +0 -21
- package/build/js/i18n/sv/countries.js +0 -245
- package/build/js/i18n/sv/interface.js +0 -13
- package/build/js/i18n/te/countries.js +0 -245
- package/build/js/i18n/te/interface.js +0 -13
- package/build/js/i18n/th/countries.js +0 -245
- package/build/js/i18n/th/interface.js +0 -13
- package/build/js/i18n/tr/countries.js +0 -245
- package/build/js/i18n/tr/interface.js +0 -13
- package/build/js/i18n/uk/countries.js +0 -245
- package/build/js/i18n/uk/interface.js +0 -20
- package/build/js/i18n/ur/countries.js +0 -245
- package/build/js/i18n/ur/interface.js +0 -13
- package/build/js/i18n/uz/countries.js +0 -245
- package/build/js/i18n/uz/interface.js +0 -13
- package/build/js/i18n/vi/countries.js +0 -245
- package/build/js/i18n/vi/interface.js +0 -13
- package/build/js/i18n/zh/countries.js +0 -245
- package/build/js/i18n/zh/interface.js +0 -13
- package/vue/build/IntlTelInput.mjs +0 -3398
- package/vue/build/IntlTelInputWithUtils.mjs +0 -9540
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
export { default as ar
|
|
2
|
-
export { default as bg
|
|
3
|
-
export { default as bn
|
|
4
|
-
export { default as bs
|
|
5
|
-
export { default as ca
|
|
6
|
-
export { default as cs
|
|
7
|
-
export { default as da
|
|
8
|
-
export { default as de
|
|
9
|
-
export { default as ee
|
|
10
|
-
export { default as el
|
|
11
|
-
export { default as en
|
|
12
|
-
export { default as es
|
|
13
|
-
export { default as fa
|
|
14
|
-
export { default as fi
|
|
15
|
-
export { default as fr
|
|
16
|
-
export { default as hi
|
|
17
|
-
export { default as hr
|
|
18
|
-
export { default as hu
|
|
19
|
-
export { default as id
|
|
20
|
-
export { default as it
|
|
21
|
-
export { default as ja
|
|
22
|
-
export { default as ko
|
|
23
|
-
export { default as lt
|
|
24
|
-
export { default as mr
|
|
25
|
-
export { default as nl
|
|
26
|
-
export { default as no
|
|
27
|
-
export { default as pl
|
|
28
|
-
export { default as pt
|
|
29
|
-
export { default as ro
|
|
30
|
-
export { default as ru
|
|
31
|
-
export { default as sk
|
|
32
|
-
export { default as sl
|
|
33
|
-
export { default as sq
|
|
34
|
-
export { default as sr
|
|
35
|
-
export { default as sv
|
|
36
|
-
export { default as te
|
|
37
|
-
export { default as th
|
|
38
|
-
export { default as tr
|
|
39
|
-
export { default as uk
|
|
40
|
-
export { default as ur
|
|
41
|
-
export { default as uz
|
|
42
|
-
export { default as vi
|
|
43
|
-
export { default as zh
|
|
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";
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -4,9 +4,7 @@ export type I18n = Partial<Record<Iso2, string>> & {
|
|
|
4
4
|
searchPlaceholder?: string;
|
|
5
5
|
clearSearchAriaLabel?: string;
|
|
6
6
|
countryListAriaLabel?: string;
|
|
7
|
-
oneSearchResult?: string;
|
|
8
|
-
multipleSearchResults?: string;
|
|
9
7
|
noCountrySelected?: string;
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
searchEmptyState?: string;
|
|
9
|
+
searchSummaryAria?: (count: number) => string;
|
|
12
10
|
};
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../types";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { countryTranslations, interfaceTranslations };
|
|
5
|
-
declare const allTranslations: I18n;
|
|
6
|
-
export default allTranslations;
|
|
1
|
+
import type { I18n } from "../types";
|
|
2
|
+
declare const interfaceTranslations: I18n;
|
|
3
|
+
export default interfaceTranslations;
|
|
@@ -5,3 +5,5 @@ export declare const buildSearchIcon: () => string;
|
|
|
5
5
|
* @param id Instance id used to create a unique mask id.
|
|
6
6
|
*/
|
|
7
7
|
export declare const buildClearIcon: (id: number) => string;
|
|
8
|
+
/** Globe icon used when no country is selected */
|
|
9
|
+
export declare const buildGlobeIcon: () => string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { I18n } from "../../intl-tel-input/i18n/types";
|
|
2
1
|
import type { AllOptions } from "../types/public-api";
|
|
3
2
|
export declare const defaults: AllOptions;
|
|
4
|
-
export declare const applyOptionSideEffects: (o: AllOptions
|
|
3
|
+
export declare const applyOptionSideEffects: (o: AllOptions) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Country, Iso2 } from "../../intl-tel-input/data";
|
|
2
|
-
import { AllOptions } from "../types/public-api";
|
|
1
|
+
import type { Country, Iso2 } from "../../intl-tel-input/data";
|
|
2
|
+
import type { AllOptions } from "../types/public-api";
|
|
3
3
|
export default class UI {
|
|
4
4
|
private readonly options;
|
|
5
5
|
private readonly id;
|
|
@@ -27,7 +27,6 @@ export default class UI {
|
|
|
27
27
|
readonly hadInitialPlaceholder: boolean;
|
|
28
28
|
constructor(input: HTMLInputElement, options: AllOptions, id: number);
|
|
29
29
|
generateMarkup(countries: Country[]): void;
|
|
30
|
-
private _prepareTelInput;
|
|
31
30
|
private _createWrapperAndInsert;
|
|
32
31
|
private _maybeBuildCountryContainer;
|
|
33
32
|
private _buildDropdownContent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Country, Iso2 } from "../../intl-tel-input/data";
|
|
1
|
+
import { type Country, type Iso2 } from "../../intl-tel-input/data";
|
|
2
2
|
import type { AllOptions } from "../types/public-api";
|
|
3
3
|
export interface DialCodeProcessingResult {
|
|
4
4
|
dialCodes: Set<string>;
|
|
@@ -6,7 +6,7 @@ export interface DialCodeProcessingResult {
|
|
|
6
6
|
dialCodeToIso2Map: Record<string, Iso2[]>;
|
|
7
7
|
}
|
|
8
8
|
export declare const processAllCountries: (options: AllOptions) => Country[];
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const generateCountryNames: (countries: Country[], options: AllOptions) => void;
|
|
10
10
|
export declare const processDialCodes: (countries: Country[]) => DialCodeProcessingResult;
|
|
11
11
|
export declare const sortCountries: (countries: Country[], options: AllOptions) => void;
|
|
12
12
|
export declare const cacheSearchTokens: (countries: Country[]) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { SelectedCountryData } from "../types/public-api";
|
|
2
|
-
export declare const beforeSetNumber: (fullNumber: string,
|
|
1
|
+
import type { SelectedCountryData } from "../types/public-api";
|
|
2
|
+
export declare const beforeSetNumber: (fullNumber: string, hasValidDialCode: boolean, separateDialCode: boolean, selectedCountryData: SelectedCountryData) => string;
|
|
3
3
|
export declare const formatNumberAsYouType: (fullNumber: string, telInputValue: string, utils: any, selectedCountryData: SelectedCountryData, separateDialCode: boolean) => string;
|
|
@@ -27,11 +27,13 @@ export type NumberType = "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAG
|
|
|
27
27
|
type ValueOf<T> = T[keyof T];
|
|
28
28
|
export interface AllOptions {
|
|
29
29
|
allowDropdown: boolean;
|
|
30
|
+
allowNumberExtensions: boolean;
|
|
30
31
|
allowPhonewords: boolean;
|
|
31
32
|
autoPlaceholder: ValueOf<typeof PLACEHOLDER_MODES>;
|
|
32
33
|
containerClass: string;
|
|
33
34
|
countryOrder: Iso2[] | null;
|
|
34
35
|
countrySearch: boolean;
|
|
36
|
+
countryNameLocale: string;
|
|
35
37
|
customPlaceholder: ((selectedCountryPlaceholder: string, selectedCountryData: SelectedCountryData) => string) | null;
|
|
36
38
|
dropdownContainer: HTMLElement | null;
|
|
37
39
|
excludeCountries: Iso2[];
|
|
@@ -53,7 +55,7 @@ export interface AllOptions {
|
|
|
53
55
|
separateDialCode: boolean;
|
|
54
56
|
strictMode: boolean;
|
|
55
57
|
useFullscreenPopup: boolean;
|
|
56
|
-
|
|
58
|
+
allowedNumberTypes: NumberType[] | null;
|
|
57
59
|
}
|
|
58
60
|
export type SomeOptions = Partial<AllOptions>;
|
|
59
61
|
export interface IntlTelInputInterface {
|
package/build/css/demo.css
CHANGED
|
@@ -69,10 +69,8 @@ input::placeholder {
|
|
|
69
69
|
--iti-border-color: #5b5b5b;
|
|
70
70
|
--iti-dialcode-color: #999999;
|
|
71
71
|
--iti-dropdown-bg: #0d1117;
|
|
72
|
-
--iti-arrow-color: #aaaaaa;
|
|
73
72
|
--iti-hover-color: #30363d;
|
|
74
|
-
--iti-
|
|
75
|
-
--iti-path-globe-2x: url("../img/globe_light@2x.webp");
|
|
73
|
+
--iti-icon-color: #aaa;
|
|
76
74
|
}
|
|
77
75
|
}
|
|
78
76
|
#error-msg {
|