@alfalab/core-components-international-phone-input 1.0.1 → 1.0.3
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/{esm/Component-dd8ca091.d.ts → Component-0f4b9bed.d.ts} +1 -1
- package/{esm/Component-9211a437.d.ts → Component-89f0cb07.d.ts} +2 -2
- package/{esm/Component-d078a845.d.ts → Component-9cded6b9.d.ts} +1 -1
- package/Component-c44170fe.d.ts +1 -1
- package/Component.desktop-0aa4e915.d.ts +5 -0
- package/{cssm/Component.desktop-d078a845.d.ts → Component.desktop-9cded6b9.d.ts} +3 -3
- package/Component.mobile-16b1285a.d.ts +5 -0
- package/Component.mobile-4cd3936b.d.ts +3 -3
- package/{cssm/Component.mobile-ade26e99.d.ts → Component.mobile-f28cbba0.d.ts} +1 -1
- package/{esm/Component.modal.mobile-dd8ca091.d.ts → Component.modal.mobile-0f4b9bed.d.ts} +1 -1
- package/Component.modal.mobile-4cd3936b.d.ts +2 -2
- package/Component.responsive.d.ts +5 -5
- package/components/base-international-phone-input/Component.d.ts +1 -1
- package/components/base-international-phone-input/Component.js +1 -1
- package/components/base-international-phone-input/index.css +2 -2
- package/components/country-select/Component.js +1 -1
- package/components/country-select/index.css +8 -8
- package/components/flag-icon/component.js +1 -1
- package/components/flag-icon/index.css +3 -3
- package/components/select-field/component.js +1 -1
- package/components/select-field/index.css +9 -9
- package/{modern/Component-dd8ca091.d.ts → cssm/Component-0f4b9bed.d.ts} +1 -1
- package/{Component-9211a437.d.ts → cssm/Component-89f0cb07.d.ts} +2 -2
- package/{Component-d078a845.d.ts → cssm/Component-9cded6b9.d.ts} +1 -1
- package/cssm/Component-c44170fe.d.ts +1 -1
- package/cssm/Component.desktop-0aa4e915.d.ts +5 -0
- package/{Component.desktop-d078a845.d.ts → cssm/Component.desktop-9cded6b9.d.ts} +3 -3
- package/cssm/Component.mobile-16b1285a.d.ts +5 -0
- package/cssm/Component.mobile-4cd3936b.d.ts +3 -3
- package/{esm/Component.mobile-ade26e99.d.ts → cssm/Component.mobile-f28cbba0.d.ts} +1 -1
- package/{Component.modal.mobile-dd8ca091.d.ts → cssm/Component.modal.mobile-0f4b9bed.d.ts} +1 -1
- package/cssm/Component.modal.mobile-4cd3936b.d.ts +2 -2
- package/cssm/Component.responsive.d.ts +5 -5
- package/cssm/components/base-international-phone-input/Component.d.ts +1 -1
- package/cssm/data/country-data.js +23 -23
- package/cssm/desktop-232828f7.d.ts +1 -1
- package/cssm/desktop-89f0cb07.d.ts +2 -0
- package/cssm/hook-8abfea97.d.ts +8 -8
- package/cssm/index-8b2c2707.d.ts +2 -2
- package/cssm/index-c76d6398.d.ts +1 -1
- package/cssm/mobile-89f0cb07.d.ts +2 -0
- package/cssm/mobile-f28cbba0.d.ts +5 -0
- package/cssm/shared-4cd3936b.d.ts +5 -5
- package/cssm/types.d.ts +1 -1
- package/cssm/{typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
- package/{esm/typings-9211a437.d.ts → cssm/typings-89f0cb07.d.ts} +5 -7
- package/{esm/utils-dd8ca091.d.ts → cssm/utils-0f4b9bed.d.ts} +1 -1
- package/data/country-data.js +23 -23
- package/desktop-232828f7.d.ts +1 -1
- package/desktop-89f0cb07.d.ts +2 -0
- package/{cssm/Component-dd8ca091.d.ts → esm/Component-0f4b9bed.d.ts} +1 -1
- package/{cssm/Component-9211a437.d.ts → esm/Component-89f0cb07.d.ts} +2 -2
- package/{cssm/Component-d078a845.d.ts → esm/Component-9cded6b9.d.ts} +1 -1
- package/esm/Component-c44170fe.d.ts +1 -1
- package/esm/Component.desktop-0aa4e915.d.ts +5 -0
- package/esm/{Component.desktop-d078a845.d.ts → Component.desktop-9cded6b9.d.ts} +3 -3
- package/esm/Component.mobile-16b1285a.d.ts +5 -0
- package/esm/Component.mobile-4cd3936b.d.ts +3 -3
- package/{Component.mobile-ade26e99.d.ts → esm/Component.mobile-f28cbba0.d.ts} +1 -1
- package/{cssm/Component.modal.mobile-dd8ca091.d.ts → esm/Component.modal.mobile-0f4b9bed.d.ts} +1 -1
- package/esm/Component.modal.mobile-4cd3936b.d.ts +2 -2
- package/esm/Component.responsive.d.ts +5 -5
- package/esm/components/base-international-phone-input/Component.d.ts +1 -1
- package/esm/components/base-international-phone-input/Component.js +1 -1
- package/esm/components/base-international-phone-input/index.css +2 -2
- package/esm/components/country-select/Component.js +1 -1
- package/esm/components/country-select/index.css +8 -8
- package/esm/components/flag-icon/component.js +1 -1
- package/esm/components/flag-icon/index.css +3 -3
- package/esm/components/select-field/component.js +1 -1
- package/esm/components/select-field/index.css +9 -9
- package/esm/data/country-data.js +23 -23
- package/esm/desktop-232828f7.d.ts +1 -1
- package/esm/desktop-89f0cb07.d.ts +2 -0
- package/esm/hook-8abfea97.d.ts +8 -8
- package/esm/index-8b2c2707.d.ts +2 -2
- package/esm/index-c76d6398.d.ts +1 -1
- package/esm/mobile-89f0cb07.d.ts +2 -0
- package/esm/mobile-f28cbba0.d.ts +5 -0
- package/esm/shared-4cd3936b.d.ts +5 -5
- package/esm/types.d.ts +1 -1
- package/esm/{typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
- package/{modern/typings-9211a437.d.ts → esm/typings-89f0cb07.d.ts} +5 -7
- package/{cssm/utils-dd8ca091.d.ts → esm/utils-0f4b9bed.d.ts} +1 -1
- package/hook-8abfea97.d.ts +8 -8
- package/index-8b2c2707.d.ts +2 -2
- package/index-c76d6398.d.ts +1 -1
- package/mobile-89f0cb07.d.ts +2 -0
- package/mobile-f28cbba0.d.ts +5 -0
- package/{Component-dd8ca091.d.ts → modern/Component-0f4b9bed.d.ts} +1 -1
- package/modern/Component-4cd3936b.d.ts +1 -1
- package/modern/Component-89f0cb07.d.ts +38 -0
- package/modern/Component-8b2c2707.d.ts +71 -0
- package/modern/Component-9cded6b9.d.ts +7 -0
- package/modern/Component-c44170fe.d.ts +6 -289
- package/modern/Component.desktop-0aa4e915.d.ts +5 -0
- package/modern/Component.desktop-785df74d.d.ts +1 -1
- package/modern/{Component.desktop-4cd3936b.d.ts → Component.desktop-9cded6b9.d.ts} +3 -3
- package/modern/Component.mobile-16b1285a.d.ts +5 -0
- package/modern/Component.mobile-4cd3936b.d.ts +3 -3
- package/modern/Component.mobile-d7e9f69d.d.ts +1 -1
- package/modern/{Component.mobile-ade26e99.d.ts → Component.mobile-f28cbba0.d.ts} +1 -1
- package/modern/{Component.modal.mobile-dd8ca091.d.ts → Component.modal.mobile-0f4b9bed.d.ts} +1 -1
- package/modern/Component.modal.mobile-4cd3936b.d.ts +3 -3
- package/modern/Component.responsive-785df74d.d.ts +26 -0
- package/modern/Component.responsive.d.ts +11 -11
- package/modern/components/base-international-phone-input/Component.d.ts +3 -3
- package/modern/components/base-international-phone-input/Component.js +1 -1
- package/modern/components/base-international-phone-input/index.css +2 -2
- package/modern/components/country-select/Component.js +1 -1
- package/modern/components/country-select/index.css +8 -8
- package/modern/components/flag-icon/component.js +1 -1
- package/modern/components/flag-icon/index.css +3 -3
- package/modern/components/select-field/component.js +1 -1
- package/modern/components/select-field/index.css +9 -9
- package/modern/data/country-data.js +23 -23
- package/modern/desktop-232828f7.d.ts +1 -1
- package/modern/desktop-63dec22f.d.ts +1 -1
- package/modern/desktop-89f0cb07.d.ts +2 -0
- package/modern/hook-8abfea97.d.ts +8 -8
- package/modern/index-8b2c2707.d.ts +6 -2
- package/modern/index-c44170fe.d.ts +2 -131
- package/modern/index-c76d6398.d.ts +4 -48
- package/modern/mobile-89f0cb07.d.ts +2 -0
- package/modern/mobile-96988a65.d.ts +1 -1
- package/modern/mobile-f28cbba0.d.ts +5 -0
- package/modern/shared-4cd3936b.d.ts +5 -5
- package/modern/types.d.ts +1 -1
- package/modern/{typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
- package/{cssm/typings-9211a437.d.ts → modern/typings-89f0cb07.d.ts} +5 -7
- package/modern/{utils-dd8ca091.d.ts → utils-0f4b9bed.d.ts} +1 -1
- package/package.json +5 -5
- package/shared-4cd3936b.d.ts +5 -5
- package/src/data/country-data.ts +23 -23
- package/types.d.ts +1 -1
- package/{typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
- package/{typings-9211a437.d.ts → typings-89f0cb07.d.ts} +5 -7
- package/{utils-dd8ca091.d.ts → utils-0f4b9bed.d.ts} +1 -1
- package/Component.desktop-2e2b2125.d.ts +0 -6
- package/Component.mobile-755fbaa3.d.ts +0 -6
- package/cssm/Component.desktop-2e2b2125.d.ts +0 -6
- package/cssm/Component.mobile-755fbaa3.d.ts +0 -6
- package/cssm/desktop-2e2b2125.d.ts +0 -2
- package/cssm/mobile-755fbaa3.d.ts +0 -2
- package/cssm/mobile-ade26e99.d.ts +0 -5
- package/desktop-2e2b2125.d.ts +0 -2
- package/esm/Component.desktop-2e2b2125.d.ts +0 -6
- package/esm/Component.mobile-755fbaa3.d.ts +0 -6
- package/esm/desktop-2e2b2125.d.ts +0 -2
- package/esm/mobile-755fbaa3.d.ts +0 -2
- package/esm/mobile-ade26e99.d.ts +0 -5
- package/mobile-755fbaa3.d.ts +0 -2
- package/mobile-ade26e99.d.ts +0 -5
- package/modern/Component.desktop-2e2b2125.d.ts +0 -6
- package/modern/Component.desktop-dd8ca091.d.ts +0 -18
- package/modern/Component.mobile-755fbaa3.d.ts +0 -6
- package/modern/Component.responsive-2e2b2125.d.ts +0 -5
- package/modern/mobile-755fbaa3.d.ts +0 -2
- package/modern/mobile-ade26e99.d.ts +0 -5
- package/modern/mobile-d7e9f69d.d.ts +0 -2
- /package/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
- /package/cssm/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
- /package/esm/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
- /package/modern/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
- /package/modern/{Component.mobile-96988a65.d.ts → Component.mobile-ebda875c.d.ts} +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { BottomSheetProps } from "./index-f12ee135";
|
|
5
|
-
import { BaseSelectProps } from "./typings-
|
|
5
|
+
import { BaseSelectProps } from "./typings-0f4b9bed";
|
|
6
6
|
type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Футер
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { FC } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { CommonButtonProps, PrivateButtonProps } from "./typings-89f0cb07";
|
|
5
5
|
type SpinnerProps = {
|
|
6
6
|
/**
|
|
7
7
|
* Управление видимостью компонента
|
|
@@ -34,5 +34,5 @@ declare const Spinner: FC<SpinnerProps>;
|
|
|
34
34
|
* чтобы при быстрых ответах от сервера кнопка не «моргала».
|
|
35
35
|
*/
|
|
36
36
|
declare const LOADER_MIN_DISPLAY_INTERVAL = 500;
|
|
37
|
-
declare const BaseButton: React.ForwardRefExoticComponent<
|
|
37
|
+
declare const BaseButton: React.ForwardRefExoticComponent<(CommonButtonProps & PrivateButtonProps) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
38
38
|
export { SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { FieldProps } from "./shared-4cd3936b";
|
|
4
|
-
import { InputAutocompleteDesktopProps } from "./Component.desktop-
|
|
4
|
+
import { InputAutocompleteDesktopProps } from "./Component.desktop-9cded6b9";
|
|
5
5
|
type AutocompleteFieldProps = FieldProps & Pick<InputAutocompleteDesktopProps, 'Input' | 'inputProps' | 'value' | 'onInput' | 'readOnly'>;
|
|
6
6
|
declare const AutocompleteField: ({ label, labelView, placeholder, size, Arrow, Input, value, error, success, hint, disabled, readOnly, onInput, inputProps, innerProps, }: AutocompleteFieldProps) => React.JSX.Element;
|
|
7
7
|
export { AutocompleteFieldProps, AutocompleteField };
|
package/Component-c44170fe.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ElementType } from "react";
|
|
4
4
|
import { FormControlProps } from "./index-c44170fe";
|
|
5
|
-
import { FieldProps as BaseFieldProps } from "./typings-
|
|
5
|
+
import { FieldProps as BaseFieldProps } from "./typings-0f4b9bed";
|
|
6
6
|
type FieldProps = {
|
|
7
7
|
/**
|
|
8
8
|
* Компонент FormControl
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { CommonButtonProps } from "./typings-89f0cb07";
|
|
4
|
+
declare const ButtonDesktop: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
5
|
+
export { ButtonDesktop };
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { ChangeEvent, FC, RefAttributes } from "react";
|
|
4
4
|
import { InputProps } from "@alfalab/core-components-input";
|
|
5
5
|
import { BaseSelectProps } from "./shared-4cd3936b";
|
|
6
|
-
type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSelect'> & {
|
|
6
|
+
type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSelect' | 'searchProps' | 'showSearch' | 'Search'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Компонент ввода значения
|
|
9
9
|
*/
|
|
@@ -33,7 +33,7 @@ type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSele
|
|
|
33
33
|
*/
|
|
34
34
|
updatePopover?: BaseSelectProps['updatePopover'];
|
|
35
35
|
};
|
|
36
|
-
declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "Field"> & {
|
|
36
|
+
declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "searchProps" | "showSearch" | "Field" | "Search"> & {
|
|
37
37
|
/**
|
|
38
38
|
* Компонент ввода значения
|
|
39
39
|
*/
|
|
@@ -69,5 +69,5 @@ declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<Bas
|
|
|
69
69
|
*/
|
|
70
70
|
updatePopover?: BaseSelectProps['updatePopover'];
|
|
71
71
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
72
|
-
export * from "./Component-
|
|
72
|
+
export * from "./Component-9cded6b9";
|
|
73
73
|
export { InputAutocompleteDesktopProps, InputAutocompleteDesktop };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { CommonButtonProps } from "./typings-89f0cb07";
|
|
4
|
+
declare const ButtonMobile: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
5
|
+
export { ButtonMobile };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ChangeEvent, ElementType } from "react";
|
|
4
|
-
import { ButtonMobileProps } from "./mobile-
|
|
4
|
+
import { ButtonMobileProps } from "./mobile-89f0cb07";
|
|
5
5
|
import { AdditionalMobileProps, BaseSelectChangePayload, BaseSelectProps } from "./shared-4cd3936b";
|
|
6
|
-
type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer'> & {
|
|
6
|
+
type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer' | 'searchProps' | 'showSearch' | 'Search'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Обработчик выбора
|
|
9
9
|
*/
|
|
@@ -49,7 +49,7 @@ type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Check
|
|
|
49
49
|
*/
|
|
50
50
|
Input?: ElementType;
|
|
51
51
|
};
|
|
52
|
-
declare const InputAutocompleteMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "autocomplete" | "valueRenderer" | "nativeSelect" | "OptionsList" | "Checkmark"> & {
|
|
52
|
+
declare const InputAutocompleteMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "autocomplete" | "valueRenderer" | "nativeSelect" | "searchProps" | "showSearch" | "OptionsList" | "Search" | "Checkmark"> & {
|
|
53
53
|
/**
|
|
54
54
|
* Обработчик выбора
|
|
55
55
|
*/
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { BottomSheetProps } from "./index-f12ee135";
|
|
5
5
|
import { UseSelectWithApplyProps } from "./hook-8abfea97";
|
|
6
|
-
import { BaseSelectProps } from "./typings-
|
|
6
|
+
import { BaseSelectProps } from "./typings-0f4b9bed";
|
|
7
7
|
type AdditionalMobileProps = {
|
|
8
8
|
/**
|
|
9
9
|
* Футер
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ModalMobile } from "./Component.mobile-f1f15074";
|
|
4
4
|
import { UseSelectWithApplyProps } from "./hook-8abfea97";
|
|
5
|
-
import { BaseSelectProps } from "./typings-
|
|
5
|
+
import { BaseSelectProps } from "./typings-0f4b9bed";
|
|
6
6
|
type SelectModalMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Показывать кнопку очистки
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ChangeEvent, ElementType } from "react";
|
|
4
|
-
import { ButtonMobileProps } from "./mobile-
|
|
5
|
-
import { SelectModalMobileProps } from "./mobile-
|
|
4
|
+
import { ButtonMobileProps } from "./mobile-89f0cb07";
|
|
5
|
+
import { SelectModalMobileProps } from "./mobile-f28cbba0";
|
|
6
6
|
import { BaseSelectChangePayload } from "./shared-4cd3936b";
|
|
7
7
|
type InputAutocompleteModalMobileProps = Omit<SelectModalMobileProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer'> & {
|
|
8
8
|
/**
|
|
@@ -7,7 +7,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
7
7
|
clearableCountryCode?: boolean | undefined;
|
|
8
8
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
9
9
|
clear?: boolean | undefined;
|
|
10
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
10
|
+
filterFn?: ((value: string | undefined, option: import("./typings-0f4b9bed").OptionShape) => boolean) | undefined;
|
|
11
11
|
onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
|
|
12
12
|
onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
|
|
13
13
|
value: string;
|
|
@@ -28,7 +28,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
28
28
|
clearableCountryCode?: boolean | undefined;
|
|
29
29
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
30
30
|
clear?: boolean | undefined;
|
|
31
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
31
|
+
filterFn?: ((value: string | undefined, option: import("./typings-0f4b9bed").OptionShape) => boolean) | undefined;
|
|
32
32
|
onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
|
|
33
33
|
onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
|
|
34
34
|
value: string;
|
|
@@ -36,9 +36,9 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
36
36
|
onBlur?: ((event: React.FocusEvent<HTMLInputElement | HTMLDivElement, Element>) => void) | undefined;
|
|
37
37
|
onFocus?: ((event: React.FocusEvent<HTMLInputElement | HTMLDivElement, Element>) => void) | undefined;
|
|
38
38
|
} & {
|
|
39
|
-
options: (import("./typings-
|
|
40
|
-
} & Omit<import("./Component.desktop-
|
|
41
|
-
options: (import("./typings-
|
|
39
|
+
options: (import("./typings-0f4b9bed").OptionShape | import("./typings-0f4b9bed").GroupShape)[];
|
|
40
|
+
} & Omit<import("./Component.desktop-9cded6b9").InputAutocompleteDesktopProps, "onChange"> & {
|
|
41
|
+
options: (import("./typings-0f4b9bed").OptionShape | import("./typings-0f4b9bed").GroupShape)[];
|
|
42
42
|
} & Omit<import("./Component.mobile-4cd3936b").InputAutocompleteMobileProps, "onChange" | "filter" | "onFilter" | "onClearFilter"> & {
|
|
43
43
|
breakpoint?: number | undefined;
|
|
44
44
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
@@ -9,7 +9,7 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
|
|
|
9
9
|
clearableCountryCode?: boolean | undefined;
|
|
10
10
|
countrySelectProps?: import("../country-select/index").SharedCountrySelectProps | undefined;
|
|
11
11
|
clear?: boolean | undefined;
|
|
12
|
-
filterFn?: ((value: string | undefined, option: import("../../typings-
|
|
12
|
+
filterFn?: ((value: string | undefined, option: import("../../typings-0f4b9bed").OptionShape) => boolean) | undefined;
|
|
13
13
|
onCountryChange?: ((country?: Country | undefined) => void) | undefined;
|
|
14
14
|
onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
|
|
15
15
|
value: string;
|
|
@@ -25,7 +25,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
25
25
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
26
26
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
27
27
|
|
|
28
|
-
var styles = {"component":"international-phone-
|
|
28
|
+
var styles = {"component":"international-phone-input__component_1n025","addons":"international-phone-input__addons_1n025"};
|
|
29
29
|
require('./index.css')
|
|
30
30
|
|
|
31
31
|
var BaseInternationalPhoneInput = React.forwardRef(function (_a, ref) {
|
|
@@ -18,7 +18,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
18
18
|
|
|
19
19
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
20
20
|
|
|
21
|
-
var styles = {"component":"international-phone-
|
|
21
|
+
var styles = {"component":"international-phone-input__component_1r31o","option":"international-phone-input__option_1r31o","flag":"international-phone-input__flag_1r31o","countryName":"international-phone-input__countryName_1r31o","dialCode":"international-phone-input__dialCode_1r31o","flagIconWrapper":"international-phone-input__flagIconWrapper_1r31o","emptyCountryIcon":"international-phone-input__emptyCountryIcon_1r31o"};
|
|
22
22
|
require('./index.css')
|
|
23
23
|
|
|
24
24
|
var CountrySelect = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 52546 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-graphic-secondary: #86868a;
|
|
@@ -19,29 +19,29 @@
|
|
|
19
19
|
} :root {
|
|
20
20
|
} :root {
|
|
21
21
|
--text-secondary-color: var(--color-light-text-secondary);
|
|
22
|
-
} .international-phone-
|
|
22
|
+
} .international-phone-input__component_1r31o {
|
|
23
23
|
position: static;
|
|
24
24
|
display: flex;
|
|
25
25
|
min-width: initial;
|
|
26
26
|
height: 100%;
|
|
27
|
-
} .international-phone-
|
|
27
|
+
} .international-phone-input__option_1r31o {
|
|
28
28
|
display: flex;
|
|
29
29
|
align-items: flex-start;
|
|
30
30
|
padding: var(--gap-s);
|
|
31
|
-
} .international-phone-
|
|
31
|
+
} .international-phone-input__flag_1r31o {
|
|
32
32
|
flex-shrink: 0;
|
|
33
33
|
margin-right: var(--gap-xs);
|
|
34
|
-
} .international-phone-
|
|
34
|
+
} .international-phone-input__countryName_1r31o {
|
|
35
35
|
margin-right: var(--gap-xs);
|
|
36
|
-
} .international-phone-
|
|
36
|
+
} .international-phone-input__dialCode_1r31o {
|
|
37
37
|
color: var(--text-secondary-color);
|
|
38
|
-
} .international-phone-
|
|
38
|
+
} .international-phone-input__flagIconWrapper_1r31o {
|
|
39
39
|
display: flex;
|
|
40
40
|
justify-content: center;
|
|
41
41
|
align-items: center;
|
|
42
42
|
width: 24px;
|
|
43
43
|
height: 24px;
|
|
44
44
|
margin-left: var(--gap-s);
|
|
45
|
-
} .international-phone-
|
|
45
|
+
} .international-phone-input__emptyCountryIcon_1r31o {
|
|
46
46
|
color: var(--color-light-graphic-secondary);
|
|
47
47
|
}
|
|
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
12
12
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
13
13
|
|
|
14
|
-
var styles = {"flagIcon":"international-phone-
|
|
14
|
+
var styles = {"flagIcon":"international-phone-input__flagIcon_52jpv","flagPlaceholder":"international-phone-input__flagPlaceholder_52jpv"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: xisrv */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-specialbg-tertiary-transparent: rgba(11, 31, 53, 0.1); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
--gap-3xs: 2px;
|
|
18
18
|
} :root {
|
|
19
19
|
} :root {
|
|
20
|
-
} .international-phone-
|
|
20
|
+
} .international-phone-input__flagIcon_52jpv {
|
|
21
21
|
max-width: 24px;
|
|
22
22
|
max-height: 24px;
|
|
23
|
-
} .international-phone-
|
|
23
|
+
} .international-phone-input__flagPlaceholder_52jpv {
|
|
24
24
|
width: 24px;
|
|
25
25
|
height: 16px;
|
|
26
26
|
max-height: 16px;
|
|
@@ -17,7 +17,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
17
17
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
18
18
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
19
19
|
|
|
20
|
-
var styles = {"component":"international-phone-
|
|
20
|
+
var styles = {"component":"international-phone-input__component_1f5zn","flagIconContainer":"international-phone-input__flagIconContainer_1f5zn","emptyCountryIcon":"international-phone-input__emptyCountryIcon_1f5zn","disabled":"international-phone-input__disabled_1f5zn","inner":"international-phone-input__inner_1f5zn","l":"international-phone-input__l_1f5zn","xl":"international-phone-input__xl_1f5zn","focusVisible":"international-phone-input__focusVisible_1f5zn"};
|
|
21
21
|
require('./index.css')
|
|
22
22
|
|
|
23
23
|
var EMPTY_COUNTRY_SELECT_FIELD = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: lad2z */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-link: #0072ef;
|
|
@@ -21,33 +21,33 @@
|
|
|
21
21
|
} :root {
|
|
22
22
|
--focus-color: var(--color-light-border-link);
|
|
23
23
|
--disabled-cursor: not-allowed;
|
|
24
|
-
} .international-phone-
|
|
24
|
+
} .international-phone-input__component_1f5zn {
|
|
25
25
|
height: 100%;
|
|
26
26
|
cursor: pointer;
|
|
27
27
|
outline: none;
|
|
28
28
|
position: relative;
|
|
29
|
-
} .international-phone-
|
|
29
|
+
} .international-phone-input__flagIconContainer_1f5zn {
|
|
30
30
|
display: flex;
|
|
31
31
|
justify-content: center;
|
|
32
32
|
align-items: center;
|
|
33
33
|
width: 24px;
|
|
34
34
|
height: 24px;
|
|
35
35
|
margin-right: var(--gap-2xs);
|
|
36
|
-
} .international-phone-
|
|
36
|
+
} .international-phone-input__emptyCountryIcon_1f5zn {
|
|
37
37
|
color: var(--color-light-graphic-secondary);
|
|
38
|
-
} .international-phone-
|
|
38
|
+
} .international-phone-input__disabled_1f5zn {
|
|
39
39
|
cursor: var(--disabled-cursor);
|
|
40
|
-
} .international-phone-
|
|
40
|
+
} .international-phone-input__inner_1f5zn {
|
|
41
41
|
position: relative;
|
|
42
42
|
display: flex;
|
|
43
43
|
align-items: center;
|
|
44
44
|
height: 100%;
|
|
45
45
|
padding-left: var(--gap-s);
|
|
46
46
|
outline: none;
|
|
47
|
-
} .international-phone-
|
|
48
|
-
.international-phone-
|
|
47
|
+
} .international-phone-input__l_1f5zn .international-phone-input__inner_1f5zn,
|
|
48
|
+
.international-phone-input__xl_1f5zn .international-phone-input__inner_1f5zn {
|
|
49
49
|
padding-left: var(--gap-m);
|
|
50
|
-
} .international-phone-
|
|
50
|
+
} .international-phone-input__focusVisible_1f5zn {
|
|
51
51
|
outline: 2px solid var(--focus-color);
|
|
52
52
|
outline-offset: 2px;
|
|
53
53
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { BottomSheetProps } from "./index-f12ee135";
|
|
5
|
-
import { BaseSelectProps } from "./typings-
|
|
5
|
+
import { BaseSelectProps } from "./typings-0f4b9bed";
|
|
6
6
|
type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Футер
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { FC } from "react";
|
|
4
|
-
import {
|
|
4
|
+
import { CommonButtonProps, PrivateButtonProps } from "./typings-89f0cb07";
|
|
5
5
|
type SpinnerProps = {
|
|
6
6
|
/**
|
|
7
7
|
* Управление видимостью компонента
|
|
@@ -34,5 +34,5 @@ declare const Spinner: FC<SpinnerProps>;
|
|
|
34
34
|
* чтобы при быстрых ответах от сервера кнопка не «моргала».
|
|
35
35
|
*/
|
|
36
36
|
declare const LOADER_MIN_DISPLAY_INTERVAL = 500;
|
|
37
|
-
declare const BaseButton: React.ForwardRefExoticComponent<
|
|
37
|
+
declare const BaseButton: React.ForwardRefExoticComponent<(CommonButtonProps & PrivateButtonProps) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
38
38
|
export { SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { FieldProps } from "./shared-4cd3936b";
|
|
4
|
-
import { InputAutocompleteDesktopProps } from "./Component.desktop-
|
|
4
|
+
import { InputAutocompleteDesktopProps } from "./Component.desktop-9cded6b9";
|
|
5
5
|
type AutocompleteFieldProps = FieldProps & Pick<InputAutocompleteDesktopProps, 'Input' | 'inputProps' | 'value' | 'onInput' | 'readOnly'>;
|
|
6
6
|
declare const AutocompleteField: ({ label, labelView, placeholder, size, Arrow, Input, value, error, success, hint, disabled, readOnly, onInput, inputProps, innerProps, }: AutocompleteFieldProps) => React.JSX.Element;
|
|
7
7
|
export { AutocompleteFieldProps, AutocompleteField };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ElementType } from "react";
|
|
4
4
|
import { FormControlProps } from "./index-c44170fe";
|
|
5
|
-
import { FieldProps as BaseFieldProps } from "./typings-
|
|
5
|
+
import { FieldProps as BaseFieldProps } from "./typings-0f4b9bed";
|
|
6
6
|
type FieldProps = {
|
|
7
7
|
/**
|
|
8
8
|
* Компонент FormControl
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { CommonButtonProps } from "./typings-89f0cb07";
|
|
4
|
+
declare const ButtonDesktop: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
5
|
+
export { ButtonDesktop };
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { ChangeEvent, FC, RefAttributes } from "react";
|
|
4
4
|
import { InputProps } from "@alfalab/core-components-input";
|
|
5
5
|
import { BaseSelectProps } from "./shared-4cd3936b";
|
|
6
|
-
type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSelect'> & {
|
|
6
|
+
type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSelect' | 'searchProps' | 'showSearch' | 'Search'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Компонент ввода значения
|
|
9
9
|
*/
|
|
@@ -33,7 +33,7 @@ type InputAutocompleteDesktopProps = Omit<BaseSelectProps, 'Field' | 'nativeSele
|
|
|
33
33
|
*/
|
|
34
34
|
updatePopover?: BaseSelectProps['updatePopover'];
|
|
35
35
|
};
|
|
36
|
-
declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "Field"> & {
|
|
36
|
+
declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "nativeSelect" | "searchProps" | "showSearch" | "Field" | "Search"> & {
|
|
37
37
|
/**
|
|
38
38
|
* Компонент ввода значения
|
|
39
39
|
*/
|
|
@@ -69,5 +69,5 @@ declare const InputAutocompleteDesktop: React.ForwardRefExoticComponent<Omit<Bas
|
|
|
69
69
|
*/
|
|
70
70
|
updatePopover?: BaseSelectProps['updatePopover'];
|
|
71
71
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
72
|
-
export * from "./Component-
|
|
72
|
+
export * from "./Component-9cded6b9";
|
|
73
73
|
export { InputAutocompleteDesktopProps, InputAutocompleteDesktop };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { CommonButtonProps } from "./typings-89f0cb07";
|
|
4
|
+
declare const ButtonMobile: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
5
|
+
export { ButtonMobile };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ChangeEvent, ElementType } from "react";
|
|
4
|
-
import { ButtonMobileProps } from "./mobile-
|
|
4
|
+
import { ButtonMobileProps } from "./mobile-89f0cb07";
|
|
5
5
|
import { AdditionalMobileProps, BaseSelectChangePayload, BaseSelectProps } from "./shared-4cd3936b";
|
|
6
|
-
type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer'> & {
|
|
6
|
+
type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer' | 'searchProps' | 'showSearch' | 'Search'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Обработчик выбора
|
|
9
9
|
*/
|
|
@@ -49,7 +49,7 @@ type InputAutocompleteMobileProps = Omit<BaseSelectProps, 'OptionsList' | 'Check
|
|
|
49
49
|
*/
|
|
50
50
|
Input?: ElementType;
|
|
51
51
|
};
|
|
52
|
-
declare const InputAutocompleteMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "autocomplete" | "valueRenderer" | "nativeSelect" | "OptionsList" | "Checkmark"> & {
|
|
52
|
+
declare const InputAutocompleteMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "autocomplete" | "valueRenderer" | "nativeSelect" | "searchProps" | "showSearch" | "OptionsList" | "Search" | "Checkmark"> & {
|
|
53
53
|
/**
|
|
54
54
|
* Обработчик выбора
|
|
55
55
|
*/
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { BottomSheetProps } from "./index-f12ee135";
|
|
5
5
|
import { UseSelectWithApplyProps } from "./hook-8abfea97";
|
|
6
|
-
import { BaseSelectProps } from "./typings-
|
|
6
|
+
import { BaseSelectProps } from "./typings-0f4b9bed";
|
|
7
7
|
type AdditionalMobileProps = {
|
|
8
8
|
/**
|
|
9
9
|
* Футер
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ModalMobile } from "./Component.mobile-f1f15074";
|
|
4
4
|
import { UseSelectWithApplyProps } from "./hook-8abfea97";
|
|
5
|
-
import { BaseSelectProps } from "./typings-
|
|
5
|
+
import { BaseSelectProps } from "./typings-0f4b9bed";
|
|
6
6
|
type SelectModalMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
|
|
7
7
|
/**
|
|
8
8
|
* Показывать кнопку очистки
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ChangeEvent, ElementType } from "react";
|
|
4
|
-
import { ButtonMobileProps } from "./mobile-
|
|
5
|
-
import { SelectModalMobileProps } from "./mobile-
|
|
4
|
+
import { ButtonMobileProps } from "./mobile-89f0cb07";
|
|
5
|
+
import { SelectModalMobileProps } from "./mobile-f28cbba0";
|
|
6
6
|
import { BaseSelectChangePayload } from "./shared-4cd3936b";
|
|
7
7
|
type InputAutocompleteModalMobileProps = Omit<SelectModalMobileProps, 'OptionsList' | 'Checkmark' | 'onScroll' | 'nativeSelect' | 'autocomplete' | 'valueRenderer'> & {
|
|
8
8
|
/**
|
|
@@ -7,7 +7,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
7
7
|
clearableCountryCode?: boolean | undefined;
|
|
8
8
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
9
9
|
clear?: boolean | undefined;
|
|
10
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
10
|
+
filterFn?: ((value: string | undefined, option: import("./typings-0f4b9bed").OptionShape) => boolean) | undefined;
|
|
11
11
|
onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
|
|
12
12
|
onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
|
|
13
13
|
value: string;
|
|
@@ -28,7 +28,7 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
28
28
|
clearableCountryCode?: boolean | undefined;
|
|
29
29
|
countrySelectProps?: import("./components/country-select/index").SharedCountrySelectProps | undefined;
|
|
30
30
|
clear?: boolean | undefined;
|
|
31
|
-
filterFn?: ((value: string | undefined, option: import("./typings-
|
|
31
|
+
filterFn?: ((value: string | undefined, option: import("./typings-0f4b9bed").OptionShape) => boolean) | undefined;
|
|
32
32
|
onCountryChange?: ((country?: import("./types").Country | undefined) => void) | undefined;
|
|
33
33
|
onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
|
|
34
34
|
value: string;
|
|
@@ -36,9 +36,9 @@ declare const InternationalPhoneInput: React.ForwardRefExoticComponent<(({
|
|
|
36
36
|
onBlur?: ((event: React.FocusEvent<HTMLInputElement | HTMLDivElement, Element>) => void) | undefined;
|
|
37
37
|
onFocus?: ((event: React.FocusEvent<HTMLInputElement | HTMLDivElement, Element>) => void) | undefined;
|
|
38
38
|
} & {
|
|
39
|
-
options: (import("./typings-
|
|
40
|
-
} & Omit<import("./Component.desktop-
|
|
41
|
-
options: (import("./typings-
|
|
39
|
+
options: (import("./typings-0f4b9bed").OptionShape | import("./typings-0f4b9bed").GroupShape)[];
|
|
40
|
+
} & Omit<import("./Component.desktop-9cded6b9").InputAutocompleteDesktopProps, "onChange"> & {
|
|
41
|
+
options: (import("./typings-0f4b9bed").OptionShape | import("./typings-0f4b9bed").GroupShape)[];
|
|
42
42
|
} & Omit<import("./Component.mobile-4cd3936b").InputAutocompleteMobileProps, "onChange" | "filter" | "onFilter" | "onClearFilter"> & {
|
|
43
43
|
breakpoint?: number | undefined;
|
|
44
44
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
@@ -9,7 +9,7 @@ declare const BaseInternationalPhoneInput: React.ForwardRefExoticComponent<{
|
|
|
9
9
|
clearableCountryCode?: boolean | undefined;
|
|
10
10
|
countrySelectProps?: import("../country-select/index").SharedCountrySelectProps | undefined;
|
|
11
11
|
clear?: boolean | undefined;
|
|
12
|
-
filterFn?: ((value: string | undefined, option: import("../../typings-
|
|
12
|
+
filterFn?: ((value: string | undefined, option: import("../../typings-0f4b9bed").OptionShape) => boolean) | undefined;
|
|
13
13
|
onCountryChange?: ((country?: Country | undefined) => void) | undefined;
|
|
14
14
|
onChange?: ((e: React.ChangeEvent<HTMLInputElement> | null, { value }: {
|
|
15
15
|
value: string;
|