@alfalab/core-components-intl-phone-input 6.5.1 → 6.6.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/CHANGELOG.md +30 -0
- package/dist/{component-2792ba97.d.ts → component-aed93486.d.ts} +0 -0
- package/dist/{component-2792ba97.js → component-aed93486.js} +1 -1
- package/dist/component.d.ts +3 -3
- package/dist/component.js +34 -68
- package/dist/components/flag-icon/component.js +1 -1
- package/dist/components/flag-icon/index.css +261 -261
- package/dist/components/index.js +1 -1
- package/dist/components/select/component.js +2 -2
- package/dist/components/select/index.css +6 -6
- package/dist/components/select/index.js +1 -1
- package/dist/components/select-field/component.js +1 -1
- package/dist/components/select-field/index.css +8 -8
- package/dist/components/select-field/index.d.ts +1 -1
- package/dist/components/select-field/index.js +1 -1
- package/dist/cssm/component.d.ts +3 -3
- package/dist/cssm/component.js +31 -65
- package/dist/cssm/index.js +1 -0
- package/dist/cssm/useCaretAvoidCountryCode.js +24 -20
- package/dist/cssm/utils/calculateCaretPos.d.ts +7 -0
- package/dist/cssm/utils/calculateCaretPos.js +27 -0
- package/dist/esm/{component-982261f5.d.ts → component-7a53d858.d.ts} +0 -0
- package/dist/esm/{component-982261f5.js → component-7a53d858.js} +1 -1
- package/dist/esm/component.d.ts +3 -3
- package/dist/esm/component.js +34 -68
- package/dist/esm/components/flag-icon/component.js +1 -1
- package/dist/esm/components/flag-icon/index.css +261 -261
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/select/component.js +2 -2
- package/dist/esm/components/select/index.css +6 -6
- package/dist/esm/components/select/index.js +1 -1
- package/dist/esm/components/select-field/component.js +1 -1
- package/dist/esm/components/select-field/index.css +8 -8
- package/dist/esm/components/select-field/index.d.ts +1 -1
- package/dist/esm/components/select-field/index.js +1 -1
- package/dist/esm/index.css +3 -3
- package/dist/esm/index.js +2 -1
- package/dist/esm/{libphonenumber-js.min-265908f3.d.ts → libphonenumber-js.min-bede26de.d.ts} +0 -0
- package/dist/esm/{libphonenumber-js.min-265908f3.js → libphonenumber-js.min-bede26de.js} +0 -0
- package/dist/esm/useCaretAvoidCountryCode.js +25 -21
- package/dist/esm/utils/calculateCaretPos.d.ts +7 -0
- package/dist/esm/utils/calculateCaretPos.js +23 -0
- package/dist/index.css +3 -3
- package/dist/index.js +2 -1
- package/dist/{libphonenumber-js.min-f76d88ab.d.ts → libphonenumber-js.min-ab66ec65.d.ts} +0 -0
- package/dist/{libphonenumber-js.min-f76d88ab.js → libphonenumber-js.min-ab66ec65.js} +0 -0
- package/dist/modern/component.d.ts +3 -3
- package/dist/modern/component.js +33 -67
- package/dist/modern/components/flag-icon/component.js +1 -1
- package/dist/modern/components/flag-icon/index.css +261 -261
- package/dist/modern/components/select/component.js +1 -1
- package/dist/modern/components/select/index.css +6 -6
- package/dist/modern/components/select-field/component.js +1 -1
- package/dist/modern/components/select-field/index.css +8 -8
- package/dist/modern/index.css +3 -3
- package/dist/modern/index.js +1 -0
- package/dist/modern/{libphonenumber-js.min-265908f3.d.ts → libphonenumber-js.min-bede26de.d.ts} +0 -0
- package/dist/modern/{libphonenumber-js.min-265908f3.js → libphonenumber-js.min-bede26de.js} +0 -0
- package/dist/modern/useCaretAvoidCountryCode.js +25 -21
- package/dist/modern/utils/calculateCaretPos.d.ts +7 -0
- package/dist/modern/utils/calculateCaretPos.js +23 -0
- package/dist/useCaretAvoidCountryCode.js +24 -20
- package/dist/utils/calculateCaretPos.d.ts +7 -0
- package/dist/utils/calculateCaretPos.js +27 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [6.6.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-intl-phone-input@6.6.0...@alfalab/core-components-intl-phone-input@6.6.1) (2022-07-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @alfalab/core-components-intl-phone-input
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [6.6.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-intl-phone-input@6.5.2...@alfalab/core-components-intl-phone-input@6.6.0) (2022-07-01)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **select:** add select-modal-mobile ([#47](https://github.com/core-ds/core-components/issues/47)) ([5ec4268](https://github.com/core-ds/core-components/commit/5ec42688065bb279d721541ec21bde242675ab8a))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [6.5.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-intl-phone-input@6.5.1...@alfalab/core-components-intl-phone-input@6.5.2) (2022-06-30)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **intl-phone-input:** fixed caret jumps ([#112](https://github.com/core-ds/core-components/issues/112)) ([1d219e7](https://github.com/core-ds/core-components/commit/1d219e7663b8b19d64d3f099bbea01cf76defcd8))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## [6.5.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-intl-phone-input@6.5.0...@alfalab/core-components-intl-phone-input@6.5.1) (2022-06-29)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @alfalab/core-components-intl-phone-input
|
|
File without changes
|
|
@@ -51,7 +51,7 @@ function __rest(s, e) {
|
|
|
51
51
|
return t;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
var styles = {"component":"intl-phone-
|
|
54
|
+
var styles = {"component":"intl-phone-input__component_zoihn","flagIconContainer":"intl-phone-input__flagIconContainer_zoihn","disabled":"intl-phone-input__disabled_zoihn","inner":"intl-phone-input__inner_zoihn","l":"intl-phone-input__l_zoihn","xl":"intl-phone-input__xl_zoihn","focusVisible":"intl-phone-input__focusVisible_zoihn"};
|
|
55
55
|
require('./components/select-field/index.css')
|
|
56
56
|
|
|
57
57
|
var SelectField = function (_a) {
|
package/dist/component.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { CountryCode } from 'libphonenumber-js';
|
|
|
4
4
|
import { SelectProps } from "@alfalab/core-components-select";
|
|
5
5
|
import { Country } from '@alfalab/utils';
|
|
6
6
|
import { InputAutocompleteProps } from "@alfalab/core-components-input-autocomplete";
|
|
7
|
-
type
|
|
7
|
+
type MaxPhoneLenByCountry = Record<string, number>;
|
|
8
8
|
type IntlPhoneInputProps = Partial<Omit<InputAutocompleteProps, 'onChange'>> & Pick<SelectProps, 'preventFlip'> & {
|
|
9
9
|
/**
|
|
10
10
|
* Значение
|
|
@@ -37,9 +37,9 @@ type IntlPhoneInputProps = Partial<Omit<InputAutocompleteProps, 'onChange'>> & P
|
|
|
37
37
|
/**
|
|
38
38
|
* Ограничение длин вводимых номеров по странам.
|
|
39
39
|
*/
|
|
40
|
-
maxPhoneLen?:
|
|
40
|
+
maxPhoneLen?: MaxPhoneLenByCountry;
|
|
41
41
|
};
|
|
42
|
-
declare const IntlPhoneInput: React.ForwardRefExoticComponent<Partial<Pick<InputAutocompleteProps, "
|
|
42
|
+
declare const IntlPhoneInput: React.ForwardRefExoticComponent<Partial<Pick<InputAutocompleteProps, "block" | "size" | "className" | "fieldClassName" | "disabled" | "error" | "hint" | "label" | "dataTestId" | "id" | "placeholder" | "onFocus" | "onBlur" | "onInput" | "onScroll" | "value" | "preventFlip" | "popperClassName" | "open" | "name" | "options" | "multiple" | "readOnly" | "success" | "selected" | "valueRenderer" | "Optgroup" | "optionsListWidth" | "visibleOptions" | "Arrow" | "optionGroupClassName" | "Option" | "inputProps" | "optionsListClassName" | "optionClassName" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "circularNavigation" | "defaultOpen" | "popoverPosition" | "optionsSize" | "fieldProps" | "optionsListProps" | "optionProps" | "onOpen" | "OptionsList" | "updatePopover" | "zIndexPopover" | "showEmptyOptionsList" | "Input">> & Pick<SelectProps, "preventFlip"> & {
|
|
43
43
|
/**
|
|
44
44
|
* Значение
|
|
45
45
|
*/
|
package/dist/component.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var components_selectField_component = require('./component-
|
|
5
|
+
var components_selectField_component = require('./component-aed93486.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
var utils = require('@alfalab/utils');
|
|
@@ -13,6 +13,7 @@ require('./components/flag-icon/component.js');
|
|
|
13
13
|
require('@alfalab/core-components-select');
|
|
14
14
|
var components_select_component = require('./components/select/component.js');
|
|
15
15
|
var utils_formatPhoneWithUnclearableCountryCode = require('./utils/format-phone-with-unclearable-country-code.js');
|
|
16
|
+
var utils_calculateCaretPos = require('./utils/calculateCaretPos.js');
|
|
16
17
|
var useCaretAvoidCountryCode = require('./useCaretAvoidCountryCode.js');
|
|
17
18
|
|
|
18
19
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -20,15 +21,16 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
20
21
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
21
22
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
22
23
|
|
|
23
|
-
var styles = {"addons":"intl-phone-
|
|
24
|
+
var styles = {"addons":"intl-phone-input__addons_c4x4a","l":"intl-phone-input__l_c4x4a","xl":"intl-phone-input__xl_c4x4a"};
|
|
24
25
|
require('./index.css')
|
|
25
26
|
|
|
26
27
|
var countriesHash = utils.getCountriesHash();
|
|
27
28
|
var MAX_DIAL_CODE_LENGTH = 4;
|
|
28
29
|
var MASK_SYMBOLS = [' ', '-', '(', ')'];
|
|
29
|
-
var
|
|
30
|
+
var MAX_PHONE_LEN = 15;
|
|
31
|
+
var DEFAULT_MAX_PHONE_LEN_BY_COUNTRY = { RU: 11 };
|
|
30
32
|
var IntlPhoneInput = React.forwardRef(function (_a, ref) {
|
|
31
|
-
var _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.readOnly, readOnly = _c === void 0 ? false : _c, _d = _a.size, size = _d === void 0 ? 'm' : _d, _e = _a.colors, colors = _e === void 0 ? 'default' : _e, _f = _a.options, options = _f === void 0 ? [] : _f, _g = _a.countries, countries = _g === void 0 ? utils.getCountries() : _g, _h = _a.clearableCountryCode, clearableCountryCode = _h === void 0 ? true : _h, className = _a.className, value = _a.value, onChange = _a.onChange, onCountryChange = _a.onCountryChange, _j = _a.defaultCountryIso2, defaultCountryIso2 = _j === void 0 ? 'ru' : _j, preventFlip = _a.preventFlip, inputProps = _a.inputProps, _k = _a.maxPhoneLen, maxPhoneLen = _k === void 0 ?
|
|
33
|
+
var _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.readOnly, readOnly = _c === void 0 ? false : _c, _d = _a.size, size = _d === void 0 ? 'm' : _d, _e = _a.colors, colors = _e === void 0 ? 'default' : _e, _f = _a.options, options = _f === void 0 ? [] : _f, _g = _a.countries, countries = _g === void 0 ? utils.getCountries() : _g, _h = _a.clearableCountryCode, clearableCountryCode = _h === void 0 ? true : _h, className = _a.className, value = _a.value, onChange = _a.onChange, onCountryChange = _a.onCountryChange, _j = _a.defaultCountryIso2, defaultCountryIso2 = _j === void 0 ? 'ru' : _j, preventFlip = _a.preventFlip, inputProps = _a.inputProps, _k = _a.maxPhoneLen, maxPhoneLen = _k === void 0 ? DEFAULT_MAX_PHONE_LEN_BY_COUNTRY : _k, restProps = components_selectField_component.__rest(_a, ["disabled", "readOnly", "size", "colors", "options", "countries", "clearableCountryCode", "className", "value", "onChange", "onCountryChange", "defaultCountryIso2", "preventFlip", "inputProps", "maxPhoneLen"]);
|
|
32
34
|
var _l = React.useState(defaultCountryIso2.toLowerCase()), countryIso2 = _l[0], setCountryIso2 = _l[1];
|
|
33
35
|
var inputRef = React.useRef(null);
|
|
34
36
|
var _m = React.useState(null), inputWrapperRef = _m[0], setInputWrapperRef = _m[1];
|
|
@@ -125,9 +127,9 @@ var IntlPhoneInput = React.forwardRef(function (_a, ref) {
|
|
|
125
127
|
var handleInputNewChar = function (event, caretPosition) {
|
|
126
128
|
var input = event.target;
|
|
127
129
|
var currentValue = input.value;
|
|
128
|
-
var
|
|
129
|
-
// Если
|
|
130
|
-
var shouldReplace =
|
|
130
|
+
var maxPhoneLength = (maxPhoneLen === null || maxPhoneLen === void 0 ? void 0 : maxPhoneLen[countryIso2.toUpperCase()]) || MAX_PHONE_LEN;
|
|
131
|
+
// Если номер полностью заполнен, то перезатираем цифры, если каретка не в самом конце.
|
|
132
|
+
var shouldReplace = maxPhoneLength === currentValue.replace(/\D/g, '').length;
|
|
131
133
|
var endPhonePart = currentValue.slice(caretPosition);
|
|
132
134
|
if (shouldReplace) {
|
|
133
135
|
var cursor = 0;
|
|
@@ -137,45 +139,16 @@ var IntlPhoneInput = React.forwardRef(function (_a, ref) {
|
|
|
137
139
|
endPhonePart = endPhonePart.slice(cursor + 1);
|
|
138
140
|
}
|
|
139
141
|
var newValue = currentValue.slice(0, caretPosition) + event.key + endPhonePart;
|
|
140
|
-
// Запрещаем ввод, если
|
|
141
|
-
if (
|
|
142
|
+
// Запрещаем ввод, если номер уже заполнен.
|
|
143
|
+
if (newValue.replace(/\D/g, '').length > maxPhoneLength) {
|
|
142
144
|
newValue = newValue.slice(0, -1);
|
|
143
145
|
}
|
|
144
146
|
newValue = formatPhone(addCountryCode(newValue));
|
|
145
|
-
var
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
if (isFormatJumps) {
|
|
149
|
-
var phonePart = currentValue.slice(0, caretPosition) + event.key;
|
|
150
|
-
var cursor = 0;
|
|
151
|
-
while (cursor < phonePart.length && cursor <= newValue.length) {
|
|
152
|
-
var currChar = phonePart.charAt(cursor);
|
|
153
|
-
var newValChar = newValue.charAt(cursor);
|
|
154
|
-
if (currChar !== newValChar) {
|
|
155
|
-
if (MASK_SYMBOLS.includes(currChar)) {
|
|
156
|
-
phonePart = phonePart.slice(0, cursor) + phonePart.slice(cursor + 1);
|
|
157
|
-
// eslint-disable-next-line no-continue
|
|
158
|
-
continue;
|
|
159
|
-
}
|
|
160
|
-
else {
|
|
161
|
-
phonePart =
|
|
162
|
-
phonePart.slice(0, cursor) + newValChar + phonePart.slice(cursor);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
cursor += 1;
|
|
166
|
-
}
|
|
167
|
-
newCaretPosition = cursor;
|
|
168
|
-
}
|
|
169
|
-
else {
|
|
170
|
-
var cursor = 0;
|
|
171
|
-
while (newValue.charAt(caretPosition + cursor) &&
|
|
172
|
-
newValue.charAt(caretPosition + cursor) !== event.key) {
|
|
173
|
-
cursor += 1;
|
|
174
|
-
}
|
|
175
|
-
cursor += 1;
|
|
176
|
-
newCaretPosition = caretPosition + cursor;
|
|
147
|
+
var phonePartWithoutMask = currentValue.slice(0, caretPosition).replace(/\D/g, '') + event.key;
|
|
148
|
+
if (shouldReplace && phonePartWithoutMask.length > maxPhoneLength) {
|
|
149
|
+
phonePartWithoutMask = phonePartWithoutMask.slice(0, -1);
|
|
177
150
|
}
|
|
178
|
-
setCaretPos(
|
|
151
|
+
setCaretPos(utils_calculateCaretPos.calculateCaretPos(phonePartWithoutMask, newValue));
|
|
179
152
|
setCountryByDialCodeWithLengthCheck(newValue);
|
|
180
153
|
onChange(newValue);
|
|
181
154
|
};
|
|
@@ -184,39 +157,32 @@ var IntlPhoneInput = React.forwardRef(function (_a, ref) {
|
|
|
184
157
|
if (!clearableCountryCode && caretPosition <= countryCodeLength)
|
|
185
158
|
return;
|
|
186
159
|
var currentValue = input.value;
|
|
160
|
+
var isMaskSymbol = function (count) {
|
|
161
|
+
var isMask = MASK_SYMBOLS.includes(currentValue.charAt(caretPosition - count));
|
|
162
|
+
var isPossibleToRemove = clearableCountryCode
|
|
163
|
+
? caretPosition - count > 0
|
|
164
|
+
: caretPosition - count > countryCodeLength;
|
|
165
|
+
return isMask && isPossibleToRemove;
|
|
166
|
+
};
|
|
187
167
|
var deletedCharsCount = 1;
|
|
188
|
-
// Высчитываем
|
|
189
|
-
while (
|
|
190
|
-
MASK_SYMBOLS.includes(currentValue.charAt(caretPosition - deletedCharsCount))) {
|
|
168
|
+
// Высчитываем кол-во символов, которые нужно удалить.
|
|
169
|
+
while (isMaskSymbol(deletedCharsCount)) {
|
|
191
170
|
deletedCharsCount += 1;
|
|
192
171
|
}
|
|
193
|
-
var
|
|
194
|
-
var newValue = formatPhone(addCountryCode(
|
|
195
|
-
var
|
|
196
|
-
|
|
197
|
-
if (isFormatJumps) {
|
|
198
|
-
var phonePart = currentValue.slice(0, newCaretPosition);
|
|
199
|
-
var cursor = 0;
|
|
200
|
-
while (cursor < phonePart.length) {
|
|
201
|
-
var currChar = newValue.charAt(cursor);
|
|
202
|
-
if (currChar !== phonePart.charAt(cursor)) {
|
|
203
|
-
phonePart = phonePart.slice(0, cursor) + currChar + phonePart.slice(cursor);
|
|
204
|
-
}
|
|
205
|
-
cursor += 1;
|
|
206
|
-
}
|
|
207
|
-
newCaretPosition = cursor;
|
|
208
|
-
}
|
|
209
|
-
setCaretPos(newCaretPosition);
|
|
172
|
+
var phonePart = currentValue.slice(0, caretPosition - deletedCharsCount);
|
|
173
|
+
var newValue = formatPhone(addCountryCode(phonePart + currentValue.slice(caretPosition)));
|
|
174
|
+
var phonePartWithoutMask = phonePart.replace(/[^0-9+]+/g, '');
|
|
175
|
+
setCaretPos(utils_calculateCaretPos.calculateCaretPos(phonePartWithoutMask, newValue));
|
|
210
176
|
setCountryByDialCodeWithLengthCheck(newValue);
|
|
211
177
|
onChange(newValue);
|
|
212
178
|
};
|
|
213
179
|
var handleKeyDown = function (event) {
|
|
214
180
|
var input = event.target;
|
|
215
|
-
var caretPosition = input.selectionStart;
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
181
|
+
var caretPosition = input.selectionStart || 0;
|
|
182
|
+
// Нажат только Backspace, не сочетание клавиш с ним.
|
|
183
|
+
if (!event.shiftKey && !event.ctrlKey && !event.metaKey && event.key === 'Backspace') {
|
|
184
|
+
if (!caretPosition)
|
|
185
|
+
return;
|
|
220
186
|
event.preventDefault();
|
|
221
187
|
handleDeleteChar(event, caretPosition);
|
|
222
188
|
}
|
|
@@ -235,7 +201,7 @@ var IntlPhoneInput = React.forwardRef(function (_a, ref) {
|
|
|
235
201
|
if (phoneLibUtils.current)
|
|
236
202
|
return;
|
|
237
203
|
Promise.resolve().then(function () { return require(
|
|
238
|
-
/* webpackChunkName: "libphonenumber" */ './libphonenumber-js.min-
|
|
204
|
+
/* webpackChunkName: "libphonenumber" */ './libphonenumber-js.min-ab66ec65.js'); })
|
|
239
205
|
.then(function (utils) {
|
|
240
206
|
phoneLibUtils.current = utils.AsYouType;
|
|
241
207
|
setCountryByDialCode(value);
|
|
@@ -10,7 +10,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
10
10
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
11
11
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
12
12
|
|
|
13
|
-
var styles = {"flagIcon":"intl-phone-
|
|
13
|
+
var styles = {"flagIcon":"intl-phone-input__flagIcon_6h10k","ac":"intl-phone-input__ac_6h10k","ad":"intl-phone-input__ad_6h10k","ae":"intl-phone-input__ae_6h10k","af":"intl-phone-input__af_6h10k","ag":"intl-phone-input__ag_6h10k","ai":"intl-phone-input__ai_6h10k","al":"intl-phone-input__al_6h10k","am":"intl-phone-input__am_6h10k","ao":"intl-phone-input__ao_6h10k","aq":"intl-phone-input__aq_6h10k","ar":"intl-phone-input__ar_6h10k","as":"intl-phone-input__as_6h10k","at":"intl-phone-input__at_6h10k","au":"intl-phone-input__au_6h10k","aw":"intl-phone-input__aw_6h10k","ax":"intl-phone-input__ax_6h10k","az":"intl-phone-input__az_6h10k","ba":"intl-phone-input__ba_6h10k","bb":"intl-phone-input__bb_6h10k","bd":"intl-phone-input__bd_6h10k","be":"intl-phone-input__be_6h10k","bf":"intl-phone-input__bf_6h10k","bg":"intl-phone-input__bg_6h10k","bh":"intl-phone-input__bh_6h10k","bi":"intl-phone-input__bi_6h10k","bj":"intl-phone-input__bj_6h10k","bl":"intl-phone-input__bl_6h10k","bm":"intl-phone-input__bm_6h10k","bn":"intl-phone-input__bn_6h10k","bo":"intl-phone-input__bo_6h10k","bq":"intl-phone-input__bq_6h10k","br":"intl-phone-input__br_6h10k","bs":"intl-phone-input__bs_6h10k","bt":"intl-phone-input__bt_6h10k","bv":"intl-phone-input__bv_6h10k","bw":"intl-phone-input__bw_6h10k","by":"intl-phone-input__by_6h10k","bz":"intl-phone-input__bz_6h10k","ca":"intl-phone-input__ca_6h10k","cc":"intl-phone-input__cc_6h10k","cd":"intl-phone-input__cd_6h10k","cf":"intl-phone-input__cf_6h10k","cg":"intl-phone-input__cg_6h10k","ch":"intl-phone-input__ch_6h10k","ci":"intl-phone-input__ci_6h10k","ck":"intl-phone-input__ck_6h10k","cl":"intl-phone-input__cl_6h10k","cm":"intl-phone-input__cm_6h10k","cn":"intl-phone-input__cn_6h10k","co":"intl-phone-input__co_6h10k","cp":"intl-phone-input__cp_6h10k","cr":"intl-phone-input__cr_6h10k","cu":"intl-phone-input__cu_6h10k","cv":"intl-phone-input__cv_6h10k","cw":"intl-phone-input__cw_6h10k","cx":"intl-phone-input__cx_6h10k","cy":"intl-phone-input__cy_6h10k","cz":"intl-phone-input__cz_6h10k","de":"intl-phone-input__de_6h10k","dg":"intl-phone-input__dg_6h10k","dj":"intl-phone-input__dj_6h10k","dk":"intl-phone-input__dk_6h10k","dm":"intl-phone-input__dm_6h10k","do":"intl-phone-input__do_6h10k","dz":"intl-phone-input__dz_6h10k","ea":"intl-phone-input__ea_6h10k","ec":"intl-phone-input__ec_6h10k","ee":"intl-phone-input__ee_6h10k","eg":"intl-phone-input__eg_6h10k","eh":"intl-phone-input__eh_6h10k","er":"intl-phone-input__er_6h10k","es":"intl-phone-input__es_6h10k","et":"intl-phone-input__et_6h10k","eu":"intl-phone-input__eu_6h10k","fi":"intl-phone-input__fi_6h10k","fj":"intl-phone-input__fj_6h10k","fk":"intl-phone-input__fk_6h10k","fm":"intl-phone-input__fm_6h10k","fo":"intl-phone-input__fo_6h10k","fr":"intl-phone-input__fr_6h10k","ga":"intl-phone-input__ga_6h10k","gb":"intl-phone-input__gb_6h10k","gd":"intl-phone-input__gd_6h10k","ge":"intl-phone-input__ge_6h10k","gf":"intl-phone-input__gf_6h10k","gg":"intl-phone-input__gg_6h10k","gh":"intl-phone-input__gh_6h10k","gi":"intl-phone-input__gi_6h10k","gl":"intl-phone-input__gl_6h10k","gm":"intl-phone-input__gm_6h10k","gn":"intl-phone-input__gn_6h10k","gp":"intl-phone-input__gp_6h10k","gq":"intl-phone-input__gq_6h10k","gr":"intl-phone-input__gr_6h10k","gs":"intl-phone-input__gs_6h10k","gt":"intl-phone-input__gt_6h10k","gu":"intl-phone-input__gu_6h10k","gw":"intl-phone-input__gw_6h10k","gy":"intl-phone-input__gy_6h10k","hk":"intl-phone-input__hk_6h10k","hm":"intl-phone-input__hm_6h10k","hn":"intl-phone-input__hn_6h10k","hr":"intl-phone-input__hr_6h10k","ht":"intl-phone-input__ht_6h10k","hu":"intl-phone-input__hu_6h10k","ic":"intl-phone-input__ic_6h10k","id":"intl-phone-input__id_6h10k","ie":"intl-phone-input__ie_6h10k","il":"intl-phone-input__il_6h10k","im":"intl-phone-input__im_6h10k","in":"intl-phone-input__in_6h10k","io":"intl-phone-input__io_6h10k","iq":"intl-phone-input__iq_6h10k","ir":"intl-phone-input__ir_6h10k","is":"intl-phone-input__is_6h10k","it":"intl-phone-input__it_6h10k","je":"intl-phone-input__je_6h10k","jm":"intl-phone-input__jm_6h10k","jo":"intl-phone-input__jo_6h10k","jp":"intl-phone-input__jp_6h10k","ke":"intl-phone-input__ke_6h10k","kg":"intl-phone-input__kg_6h10k","kh":"intl-phone-input__kh_6h10k","ki":"intl-phone-input__ki_6h10k","km":"intl-phone-input__km_6h10k","kn":"intl-phone-input__kn_6h10k","kp":"intl-phone-input__kp_6h10k","kr":"intl-phone-input__kr_6h10k","kw":"intl-phone-input__kw_6h10k","ky":"intl-phone-input__ky_6h10k","kz":"intl-phone-input__kz_6h10k","la":"intl-phone-input__la_6h10k","lb":"intl-phone-input__lb_6h10k","lc":"intl-phone-input__lc_6h10k","li":"intl-phone-input__li_6h10k","lk":"intl-phone-input__lk_6h10k","lr":"intl-phone-input__lr_6h10k","ls":"intl-phone-input__ls_6h10k","lt":"intl-phone-input__lt_6h10k","lu":"intl-phone-input__lu_6h10k","lv":"intl-phone-input__lv_6h10k","ly":"intl-phone-input__ly_6h10k","ma":"intl-phone-input__ma_6h10k","mc":"intl-phone-input__mc_6h10k","md":"intl-phone-input__md_6h10k","me":"intl-phone-input__me_6h10k","mf":"intl-phone-input__mf_6h10k","mg":"intl-phone-input__mg_6h10k","mh":"intl-phone-input__mh_6h10k","mk":"intl-phone-input__mk_6h10k","ml":"intl-phone-input__ml_6h10k","mm":"intl-phone-input__mm_6h10k","mn":"intl-phone-input__mn_6h10k","mo":"intl-phone-input__mo_6h10k","mp":"intl-phone-input__mp_6h10k","mq":"intl-phone-input__mq_6h10k","mr":"intl-phone-input__mr_6h10k","ms":"intl-phone-input__ms_6h10k","mt":"intl-phone-input__mt_6h10k","mu":"intl-phone-input__mu_6h10k","mv":"intl-phone-input__mv_6h10k","mw":"intl-phone-input__mw_6h10k","mx":"intl-phone-input__mx_6h10k","my":"intl-phone-input__my_6h10k","mz":"intl-phone-input__mz_6h10k","na":"intl-phone-input__na_6h10k","nc":"intl-phone-input__nc_6h10k","ne":"intl-phone-input__ne_6h10k","nf":"intl-phone-input__nf_6h10k","ng":"intl-phone-input__ng_6h10k","ni":"intl-phone-input__ni_6h10k","nl":"intl-phone-input__nl_6h10k","no":"intl-phone-input__no_6h10k","np":"intl-phone-input__np_6h10k","nr":"intl-phone-input__nr_6h10k","nu":"intl-phone-input__nu_6h10k","nz":"intl-phone-input__nz_6h10k","om":"intl-phone-input__om_6h10k","pa":"intl-phone-input__pa_6h10k","pe":"intl-phone-input__pe_6h10k","pf":"intl-phone-input__pf_6h10k","pg":"intl-phone-input__pg_6h10k","ph":"intl-phone-input__ph_6h10k","pk":"intl-phone-input__pk_6h10k","pl":"intl-phone-input__pl_6h10k","pm":"intl-phone-input__pm_6h10k","pn":"intl-phone-input__pn_6h10k","pr":"intl-phone-input__pr_6h10k","ps":"intl-phone-input__ps_6h10k","pt":"intl-phone-input__pt_6h10k","pw":"intl-phone-input__pw_6h10k","py":"intl-phone-input__py_6h10k","qa":"intl-phone-input__qa_6h10k","re":"intl-phone-input__re_6h10k","ro":"intl-phone-input__ro_6h10k","rs":"intl-phone-input__rs_6h10k","ru":"intl-phone-input__ru_6h10k","rw":"intl-phone-input__rw_6h10k","sa":"intl-phone-input__sa_6h10k","sb":"intl-phone-input__sb_6h10k","sc":"intl-phone-input__sc_6h10k","sd":"intl-phone-input__sd_6h10k","se":"intl-phone-input__se_6h10k","sg":"intl-phone-input__sg_6h10k","sh":"intl-phone-input__sh_6h10k","si":"intl-phone-input__si_6h10k","sj":"intl-phone-input__sj_6h10k","sk":"intl-phone-input__sk_6h10k","sl":"intl-phone-input__sl_6h10k","sm":"intl-phone-input__sm_6h10k","sn":"intl-phone-input__sn_6h10k","so":"intl-phone-input__so_6h10k","sr":"intl-phone-input__sr_6h10k","ss":"intl-phone-input__ss_6h10k","st":"intl-phone-input__st_6h10k","sv":"intl-phone-input__sv_6h10k","sx":"intl-phone-input__sx_6h10k","sy":"intl-phone-input__sy_6h10k","sz":"intl-phone-input__sz_6h10k","ta":"intl-phone-input__ta_6h10k","tc":"intl-phone-input__tc_6h10k","td":"intl-phone-input__td_6h10k","tf":"intl-phone-input__tf_6h10k","tg":"intl-phone-input__tg_6h10k","th":"intl-phone-input__th_6h10k","tj":"intl-phone-input__tj_6h10k","tk":"intl-phone-input__tk_6h10k","tl":"intl-phone-input__tl_6h10k","tm":"intl-phone-input__tm_6h10k","tn":"intl-phone-input__tn_6h10k","to":"intl-phone-input__to_6h10k","tr":"intl-phone-input__tr_6h10k","tt":"intl-phone-input__tt_6h10k","tv":"intl-phone-input__tv_6h10k","tw":"intl-phone-input__tw_6h10k","tz":"intl-phone-input__tz_6h10k","ua":"intl-phone-input__ua_6h10k","ug":"intl-phone-input__ug_6h10k","um":"intl-phone-input__um_6h10k","un":"intl-phone-input__un_6h10k","us":"intl-phone-input__us_6h10k","uy":"intl-phone-input__uy_6h10k","uz":"intl-phone-input__uz_6h10k","va":"intl-phone-input__va_6h10k","vc":"intl-phone-input__vc_6h10k","ve":"intl-phone-input__ve_6h10k","vg":"intl-phone-input__vg_6h10k","vi":"intl-phone-input__vi_6h10k","vn":"intl-phone-input__vn_6h10k","vu":"intl-phone-input__vu_6h10k","wf":"intl-phone-input__wf_6h10k","ws":"intl-phone-input__ws_6h10k","xk":"intl-phone-input__xk_6h10k","ye":"intl-phone-input__ye_6h10k","yt":"intl-phone-input__yt_6h10k","za":"intl-phone-input__za_6h10k","zm":"intl-phone-input__zm_6h10k","zw":"intl-phone-input__zw_6h10k"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
/**
|