@goodhood-web/nebenan-base 3.4.0-next.1 → 3.5.0-development.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/index.d.ts +5 -4
- package/index.js +80 -91
- package/index.mjs +24097 -20914
- package/lib/ComplaintModal/ComplaintModal.types.d.ts +1 -1
- package/lib/DesktopLayoutTwoColumn/DesktopLayoutTwoColumn.types.d.ts +4 -1
- package/lib/Feed/FeedItem/Marketplace/InteractiveElements/InteractiveCardHeader.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceActions/MarketplaceActions.types.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceActions/components/BuyerActions/BuyerActions.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceBody/MarketplaceBody.types.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceDetailPage/MarketplaceDetailPage.types.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceDetailPage/components/CardAggregator/CardAggregator.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceMoreOptions/ComplaintModalComponent/ComplaintModalComponent.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceMoreOptions/InteractivePostInfo/utils.d.ts +1 -1
- package/lib/Feed/FeedItem/Marketplace/MarketplaceMoreOptions/MarketplaceMoreOptions.types.d.ts +1 -1
- package/lib/Feed/FeedItem/Reactions/PostReactions/PostReactions.d.ts +3 -0
- package/lib/Feed/FeedItem/Reactions/PostReactions/PostReactions.types.d.ts +13 -0
- package/lib/Feed/FeedItem/Reactions/PostReactions/utils.d.ts +8 -0
- package/lib/Feed/FeedItem/Reactions/ReplyReactions/Like/Like.d.ts +3 -0
- package/lib/Feed/FeedItem/Reactions/ReplyReactions/Like/Like.types.d.ts +21 -0
- package/lib/Feed/FeedItem/Reactions/ReplyReactions/Like/ReactionLabel/ReactionLabel.d.ts +7 -0
- package/lib/Feed/FeedItem/Reactions/ReplyReactions/ReplyReactions.d.ts +3 -0
- package/lib/Feed/FeedItem/Reactions/ReplyReactions/ReplyReactions.types.d.ts +16 -0
- package/lib/Feed/FeedItem/utils.d.ts +2 -2
- package/lib/Feed/GridFeed/GridFeed.d.ts +3 -0
- package/lib/Feed/GridFeed/GridFeed.types.d.ts +33 -0
- package/lib/Feed/{Aggregators → GridFeed}/GridFeedAggregator/GridFeedAggregator.types.d.ts +2 -2
- package/lib/Feed/GridFeed/GridFeedAggregator/components/FeedDynamicRenderer/FeedDynamicRenderer.types.d.ts +6 -0
- package/lib/Feed/{Aggregators → GridFeed}/GridFeedAggregator/components/FeedEmptyStateCard/FeedEmptyStateCard.types.d.ts +1 -1
- package/lib/Feed/GridFeed/GridFeedDynamicRenderer/GridFeedDynamicRenderer.d.ts +3 -0
- package/lib/Feed/GridFeed/GridFeedDynamicRenderer/GridFeedDynamicRenderer.types.d.ts +4 -0
- package/lib/Feed/GridFeed/utils.d.ts +7 -0
- package/lib/Feed/utils.d.ts +1 -1
- package/lib/Forms/DynamicForm/DynamicForm.d.ts +1 -1
- package/lib/Forms/Fields/CodeField/CodeField.d.ts +3 -0
- package/lib/Forms/Fields/CodeField/CodeField.types.d.ts +9 -0
- package/lib/Forms/Fields/FormButton/FormButtonProps.d.ts +16 -0
- package/lib/Forms/Fields/FormCodeField.d.ts +5 -0
- package/lib/Forms/Fields/FormContentCreatorTile.d.ts +6 -0
- package/lib/Forms/Fields/FormGenderSelector.d.ts +5 -0
- package/lib/Forms/Fields/FormHeader/FormHeader.d.ts +3 -0
- package/lib/Forms/Fields/FormHeader/FormHeader.types.d.ts +10 -0
- package/lib/Forms/Fields/FormHeader/components/PhoneNumber.d.ts +4 -0
- package/lib/Forms/Fields/FormNameAbbreviation.d.ts +7 -0
- package/lib/Forms/Fields/FormPasswordField.d.ts +5 -0
- package/lib/Forms/Fields/FormPhoneInput.d.ts +5 -0
- package/lib/Forms/Fields/FormSelectInput.d.ts +12 -0
- package/lib/Forms/Fields/FormTextInput.d.ts +1 -1
- package/lib/Forms/Fields/GenderSelector/GenderSelector.d.ts +3 -0
- package/lib/Forms/Fields/GenderSelector/GenderSelector.types.d.ts +19 -0
- package/lib/Forms/Fields/GenderSelector/GenderSelector.utils.d.ts +4 -0
- package/lib/Forms/Fields/NameAbbreviation/NameAbbreviation.d.ts +3 -0
- package/lib/Forms/Fields/NameAbbreviation/NameAbbreviation.types.d.ts +11 -0
- package/lib/Forms/Fields/PasswordField/PasswordField.d.ts +3 -0
- package/lib/Forms/Fields/PasswordField/PasswordField.types.d.ts +16 -0
- package/lib/Forms/Fields/PasswordField/utils.d.ts +1 -0
- package/lib/Forms/Fields/PhoneInput/PhoneInput.d.ts +3 -0
- package/lib/Forms/Fields/PhoneInput/PhoneInput.types.d.ts +16 -0
- package/lib/Forms/Fields/PhoneInput/util.d.ts +153 -0
- package/lib/Forms/Fields/SelectInput/SelectInput.d.ts +3 -0
- package/lib/Forms/Fields/SelectInput/SelectInput.types.d.ts +31 -0
- package/lib/Forms/Fields/SelectInput/components/Input/Input.d.ts +3 -0
- package/lib/Forms/Fields/SelectInput/components/Input/Input.type.d.ts +5 -0
- package/lib/Forms/Fields/SelectInput/components/OptionsList/OptionsList.d.ts +3 -0
- package/lib/Forms/Fields/SelectInput/components/OptionsList/OptionsList.types.d.ts +11 -0
- package/lib/Forms/Fields/SelectInput/utils.d.ts +4 -0
- package/lib/Forms/Fields/index.d.ts +3 -1
- package/lib/Forms/Fields/utils.d.ts +1 -0
- package/lib/Forms/Form/Form.d.ts +1 -1
- package/lib/Forms/Form/Form.types.d.ts +12 -3
- package/lib/Forms/Form/utils/parseApiErrors.d.ts +5 -0
- package/lib/Forms/Form/utils/utils.d.ts +4 -0
- package/lib/Forms/Form.store.d.ts +7 -0
- package/lib/Forms/GridForm/GridForm.d.ts +1 -1
- package/lib/Forms/Wizard/Wizard.d.ts +1 -1
- package/lib/Forms/Wizard/Wizard.types.d.ts +70 -4
- package/lib/Forms/Wizard/WizardContext.d.ts +8 -1
- package/lib/Forms/Wizard/useWizard.d.ts +6 -1
- package/lib/Grids/Grid/Grid.types.d.ts +6 -5
- package/lib/Grids/Grid/GridItem/GridItem.d.ts +1 -1
- package/lib/Grids/Grid/GridItem/GridItem.types.d.ts +1 -0
- package/lib/MobileLayout/MobileLayout.types.d.ts +1 -0
- package/lib/Reactions/ReactionSelection/ReactionSelection.types.d.ts +1 -1
- package/lib/Reactions/ReactionStack/ReactionStack.types.d.ts +3 -7
- package/lib/Reactions/ReactionStack/components/ReactionItem/ReactionItem.types.d.ts +5 -4
- package/lib/Reactions/ReactionStack/components/ReactionPill/ReactionPill.d.ts +2 -2
- package/lib/Reactions/ReactionStack/components/ReactionPill/ReactionPill.type.d.ts +5 -2
- package/lib/Reactions/ReactionTabList/ReactionTabList.types.d.ts +1 -1
- package/lib/Reactions/utils.d.ts +1 -1
- package/lib/Register/Register.d.ts +3 -0
- package/lib/Register/Register.types.d.ts +4 -0
- package/lib/Register/components/PrivacyInfoModal/PrivacyInfoModal.d.ts +3 -0
- package/lib/Register/components/PrivacyInfoModal/PrivacyInfoModal.types.d.ts +3 -0
- package/lib/Registration/Registration.d.ts +3 -0
- package/lib/Registration/Registration.store.d.ts +4 -0
- package/lib/Registration/Registration.types.d.ts +17 -0
- package/lib/Registration/RegistrationCard/RegistrationCard.d.ts +9 -0
- package/lib/Registration/RegistrationFieldMappings/RegistrationFieldMappings.d.ts +3 -0
- package/lib/Registration/RegistrationForm/FieldMappings/FieldMappings.d.ts +3 -0
- package/lib/Registration/RegistrationForm/RegistrationForm.d.ts +3 -0
- package/lib/Registration/RegistrationForm/RegistrationForm.types.d.ts +5 -0
- package/lib/Registration/RegistrationForm/Steps/Address.d.ts +2 -0
- package/lib/Registration/RegistrationForm/Steps/Email.d.ts +3 -0
- package/lib/Registration/RegistrationForm/Steps/Name.d.ts +2 -0
- package/lib/Registration/RegistrationForm/Steps/index.d.ts +4 -0
- package/lib/Registration/RegistrationForm/network.d.ts +4 -0
- package/lib/Registration/VerificationForm/FieldMappings/FieldMappings.d.ts +3 -0
- package/lib/Registration/VerificationForm/Steps/Gps.d.ts +3 -0
- package/lib/Registration/VerificationForm/Steps/InviteCode.d.ts +3 -0
- package/lib/Registration/VerificationForm/Steps/Methods.d.ts +3 -0
- package/lib/Registration/VerificationForm/Steps/PostalCode.d.ts +3 -0
- package/lib/Registration/VerificationForm/Steps/PostalCodeRequested.d.ts +2 -0
- package/lib/Registration/VerificationForm/Steps/Sms.d.ts +3 -0
- package/lib/Registration/VerificationForm/Steps/SmsCode.d.ts +3 -0
- package/lib/Registration/VerificationForm/Steps/index.d.ts +7 -0
- package/lib/Registration/VerificationForm/VerificationForm.d.ts +3 -0
- package/lib/Registration/VerificationForm/VerificationForm.types.d.ts +10 -0
- package/lib/Registration/VerificationForm/data.d.ts +553 -0
- package/lib/Registration/VerificationForm/network.d.ts +7 -0
- package/lib/Registration/VerificationForm/utils.d.ts +67 -0
- package/lib/Registration/components/MandatoryEmailConfirmation/MandatoryEmailConfirmation.d.ts +3 -0
- package/lib/Registration/components/MandatoryEmailConfirmation/MandatoryEmailConfirmation.types.d.ts +3 -0
- package/lib/Registration/components/MandatoryEmailConfirmation/utils.d.ts +4 -0
- package/lib/Registration/components/SuccessScreen/SuccessScreen.d.ts +2 -0
- package/lib/Registration/utils.d.ts +2 -0
- package/lib/ResponsiveModal/ResponsiveModal.d.ts +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/lib/Feed/Aggregators/GridFeedAggregator/components/FeedDynamicRenderer/FeedDynamicRenderer.types.d.ts +0 -5
- package/lib/Feed/Feed/Feed.d.ts +0 -3
- package/lib/Feed/Feed/Feed.types.d.ts +0 -40
- package/lib/Feed/Feed/utils.d.ts +0 -26
- package/lib/Feed/FeedItem/Post/Post.d.ts +0 -6
- /package/lib/Feed/{Aggregators → GridFeed}/GridFeedAggregator/GridFeedAggregator.d.ts +0 -0
- /package/lib/Feed/{Aggregators → GridFeed}/GridFeedAggregator/components/FeedDynamicRenderer/FeedDynamicRenderer.d.ts +0 -0
- /package/lib/Feed/{Aggregators → GridFeed}/GridFeedAggregator/components/FeedEmptyStateCard/FeedEmptyStateCard.d.ts +0 -0
- /package/lib/Feed/{Aggregators → GridFeed}/GridFeedAggregator/components/FeedEmptyStateCard/utils.d.ts +0 -0
- /package/lib/Feed/{Aggregators → GridFeed}/GridFeedAggregator/utils.d.ts +0 -0
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { CountryCode } from '../../../../../../ui/src/lib/Base/FlagIcon/FlagIcon.types';
|
|
2
|
+
import { Option } from '../SelectInput/SelectInput.types';
|
|
3
|
+
export declare const euCountries: readonly [{
|
|
4
|
+
readonly code: "AT";
|
|
5
|
+
readonly dial_code: "+43";
|
|
6
|
+
readonly local_name: "Österreich";
|
|
7
|
+
readonly name: "Austria";
|
|
8
|
+
}, {
|
|
9
|
+
readonly code: "BE";
|
|
10
|
+
readonly dial_code: "+32";
|
|
11
|
+
readonly local_name: "België";
|
|
12
|
+
readonly name: "Belgium";
|
|
13
|
+
}, {
|
|
14
|
+
readonly code: "BG";
|
|
15
|
+
readonly dial_code: "+359";
|
|
16
|
+
readonly local_name: "България";
|
|
17
|
+
readonly name: "Bulgaria";
|
|
18
|
+
}, {
|
|
19
|
+
readonly code: "HR";
|
|
20
|
+
readonly dial_code: "+385";
|
|
21
|
+
readonly local_name: "Hrvatska";
|
|
22
|
+
readonly name: "Croatia";
|
|
23
|
+
}, {
|
|
24
|
+
readonly code: "CY";
|
|
25
|
+
readonly dial_code: "+357";
|
|
26
|
+
readonly local_name: "Κύπρος";
|
|
27
|
+
readonly name: "Cyprus";
|
|
28
|
+
}, {
|
|
29
|
+
readonly code: "CZ";
|
|
30
|
+
readonly dial_code: "+420";
|
|
31
|
+
readonly local_name: "Česko";
|
|
32
|
+
readonly name: "Czechia";
|
|
33
|
+
}, {
|
|
34
|
+
readonly code: "DK";
|
|
35
|
+
readonly dial_code: "+45";
|
|
36
|
+
readonly local_name: "Danmark";
|
|
37
|
+
readonly name: "Denmark";
|
|
38
|
+
}, {
|
|
39
|
+
readonly code: "EE";
|
|
40
|
+
readonly dial_code: "+372";
|
|
41
|
+
readonly local_name: "Eesti";
|
|
42
|
+
readonly name: "Estonia";
|
|
43
|
+
}, {
|
|
44
|
+
readonly code: "FI";
|
|
45
|
+
readonly dial_code: "+358";
|
|
46
|
+
readonly local_name: "Suomi";
|
|
47
|
+
readonly name: "Finland";
|
|
48
|
+
}, {
|
|
49
|
+
readonly code: "FR";
|
|
50
|
+
readonly dial_code: "+33";
|
|
51
|
+
readonly local_name: "France";
|
|
52
|
+
readonly name: "France";
|
|
53
|
+
}, {
|
|
54
|
+
readonly code: "DE";
|
|
55
|
+
readonly dial_code: "+49";
|
|
56
|
+
readonly local_name: "Deutschland";
|
|
57
|
+
readonly name: "Germany";
|
|
58
|
+
}, {
|
|
59
|
+
readonly code: "GR";
|
|
60
|
+
readonly dial_code: "+30";
|
|
61
|
+
readonly local_name: "Ελλάς";
|
|
62
|
+
readonly name: "Greece";
|
|
63
|
+
}, {
|
|
64
|
+
readonly code: "HU";
|
|
65
|
+
readonly dial_code: "+36";
|
|
66
|
+
readonly local_name: "Magyarország";
|
|
67
|
+
readonly name: "Hungary";
|
|
68
|
+
}, {
|
|
69
|
+
readonly code: "IE";
|
|
70
|
+
readonly dial_code: "+353";
|
|
71
|
+
readonly local_name: "Éire";
|
|
72
|
+
readonly name: "Ireland";
|
|
73
|
+
}, {
|
|
74
|
+
readonly code: "IT";
|
|
75
|
+
readonly dial_code: "+39";
|
|
76
|
+
readonly local_name: "Italia";
|
|
77
|
+
readonly name: "Italy";
|
|
78
|
+
}, {
|
|
79
|
+
readonly code: "LV";
|
|
80
|
+
readonly dial_code: "+371";
|
|
81
|
+
readonly local_name: "Latvija";
|
|
82
|
+
readonly name: "Latvia";
|
|
83
|
+
}, {
|
|
84
|
+
readonly code: "LT";
|
|
85
|
+
readonly dial_code: "+370";
|
|
86
|
+
readonly local_name: "Lietuva";
|
|
87
|
+
readonly name: "Lithuania";
|
|
88
|
+
}, {
|
|
89
|
+
readonly code: "LU";
|
|
90
|
+
readonly dial_code: "+352";
|
|
91
|
+
readonly local_name: "Luxembourg";
|
|
92
|
+
readonly name: "Luxembourg";
|
|
93
|
+
}, {
|
|
94
|
+
readonly code: "MT";
|
|
95
|
+
readonly dial_code: "+356";
|
|
96
|
+
readonly local_name: "Malta";
|
|
97
|
+
readonly name: "Malta";
|
|
98
|
+
}, {
|
|
99
|
+
readonly code: "NL";
|
|
100
|
+
readonly dial_code: "+31";
|
|
101
|
+
readonly local_name: "Nederland";
|
|
102
|
+
readonly name: "Netherlands";
|
|
103
|
+
}, {
|
|
104
|
+
readonly code: "PL";
|
|
105
|
+
readonly dial_code: "+48";
|
|
106
|
+
readonly local_name: "Polska";
|
|
107
|
+
readonly name: "Poland";
|
|
108
|
+
}, {
|
|
109
|
+
readonly code: "PT";
|
|
110
|
+
readonly dial_code: "+351";
|
|
111
|
+
readonly local_name: "Portugal";
|
|
112
|
+
readonly name: "Portugal";
|
|
113
|
+
}, {
|
|
114
|
+
readonly code: "RO";
|
|
115
|
+
readonly dial_code: "+40";
|
|
116
|
+
readonly local_name: "România";
|
|
117
|
+
readonly name: "Romania";
|
|
118
|
+
}, {
|
|
119
|
+
readonly code: "SK";
|
|
120
|
+
readonly dial_code: "+421";
|
|
121
|
+
readonly local_name: "Slovensko";
|
|
122
|
+
readonly name: "Slovakia";
|
|
123
|
+
}, {
|
|
124
|
+
readonly code: "SI";
|
|
125
|
+
readonly dial_code: "+386";
|
|
126
|
+
readonly local_name: "Slovenija";
|
|
127
|
+
readonly name: "Slovenia";
|
|
128
|
+
}, {
|
|
129
|
+
readonly code: "ES";
|
|
130
|
+
readonly dial_code: "+34";
|
|
131
|
+
readonly local_name: "España";
|
|
132
|
+
readonly name: "Spain";
|
|
133
|
+
}, {
|
|
134
|
+
readonly code: "SE";
|
|
135
|
+
readonly dial_code: "+46";
|
|
136
|
+
readonly local_name: "Sverige";
|
|
137
|
+
readonly name: "Sweden";
|
|
138
|
+
}];
|
|
139
|
+
export declare const euCountriesOpened: readonly [{
|
|
140
|
+
readonly code: "FR";
|
|
141
|
+
readonly dial_code: "+33";
|
|
142
|
+
}, {
|
|
143
|
+
readonly code: "DE";
|
|
144
|
+
readonly dial_code: "+49";
|
|
145
|
+
}, {
|
|
146
|
+
readonly code: "IT";
|
|
147
|
+
readonly dial_code: "+39";
|
|
148
|
+
}, {
|
|
149
|
+
readonly code: "ES";
|
|
150
|
+
readonly dial_code: "+34";
|
|
151
|
+
}];
|
|
152
|
+
export declare const isCountryCode: (code: string) => code is CountryCode;
|
|
153
|
+
export declare const getFormattedOptions: () => Option[];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { SelectInputProps } from './SelectInput.types';
|
|
2
|
+
declare const SelectInput: ({ className, defaultValue, disabled, errorText, iconButton, id, label, name, onSelect, options, readonly, sheetBreakpoint, size, style, }: SelectInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default SelectInput;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { TextInputProps } from '../../../../../../ui/src/lib/Atoms/Inputs/TextInput/TextInput.types';
|
|
3
|
+
import { CountryCode } from '../../../../../../ui/src/lib/Base/FlagIcon/FlagIcon.types';
|
|
4
|
+
import { SheetBreakpoint } from '../../../../../../ui/src/lib/Organisms/Modals/Sheet/Sheet.types';
|
|
5
|
+
export type Option = {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
code?: CountryCode;
|
|
8
|
+
label: string | undefined;
|
|
9
|
+
value: string;
|
|
10
|
+
};
|
|
11
|
+
export declare enum OpenState {
|
|
12
|
+
DROPDOWN = "dropdown",
|
|
13
|
+
NONE = "none",
|
|
14
|
+
SHEET = "sheet"
|
|
15
|
+
}
|
|
16
|
+
export interface SelectInputProps {
|
|
17
|
+
className?: string;
|
|
18
|
+
defaultValue?: string;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
errorText?: string;
|
|
21
|
+
iconButton?: TextInputProps['iconButton'];
|
|
22
|
+
id: string;
|
|
23
|
+
label?: string;
|
|
24
|
+
name?: string;
|
|
25
|
+
onSelect: (option: string | null) => void;
|
|
26
|
+
options: Option[];
|
|
27
|
+
readonly?: boolean;
|
|
28
|
+
sheetBreakpoint?: SheetBreakpoint;
|
|
29
|
+
size?: TextInputProps['size'];
|
|
30
|
+
style?: TextInputProps['colorScheme'];
|
|
31
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TextInputProps } from '../../../../../../../../ui/src/lib/Atoms/Inputs/TextInput/TextInput.types';
|
|
2
|
+
export interface InputProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
textInputProps: Pick<TextInputProps, 'size' | 'colorScheme' | 'iconButton' | 'errorText' | 'placeholder' | 'readonly' | 'label' | 'disabled' | 'flagIcon' | 'wrapperClassName' | 'onBlur' | 'onChange' | 'onKeyDown' | 'onClick' | 'name' | 'id' | 'value'>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { OptionsListProps } from './OptionsList.types';
|
|
2
|
+
declare const OptionsList: ({ handleOptionKeyDown, handleOptionMouseDown, handleOptionMouseEnter, highlightedIndex, id, inputValue, isReadonly, options, }: OptionsListProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default OptionsList;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Option } from '../../SelectInput.types';
|
|
2
|
+
export interface OptionsListProps {
|
|
3
|
+
handleOptionKeyDown: (e: React.KeyboardEvent<HTMLLIElement>, option: string) => void;
|
|
4
|
+
handleOptionMouseDown: (e: React.MouseEvent<HTMLLIElement>, option: string) => void;
|
|
5
|
+
handleOptionMouseEnter: (index: number) => void;
|
|
6
|
+
highlightedIndex: number;
|
|
7
|
+
id: string;
|
|
8
|
+
inputValue: string;
|
|
9
|
+
isReadonly?: boolean;
|
|
10
|
+
options: Option[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Option } from './SelectInput.types';
|
|
2
|
+
export declare const getFilteredOptions: (options: Option[], inputValue: string, readonly?: boolean) => Option[];
|
|
3
|
+
export declare const getFormattedOptions: (options: string[]) => Option[];
|
|
4
|
+
export declare const getSelectedOption: (options: Option[], inputValue: string) => Option;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { default as FormCheckboxInput } from './FormCheckboxInput';
|
|
2
|
+
import { default as FormContentCreatorTile } from './FormContentCreatorTile';
|
|
2
3
|
import { default as FormInputFieldSpecial } from './FormInputFieldSpecial';
|
|
4
|
+
import { default as FormPhoneInput } from './FormPhoneInput';
|
|
3
5
|
import { default as FormRadioButton } from './FormRadioButton';
|
|
4
6
|
import { default as FormRadioButtonCluster } from './FormRadioButtonCluster';
|
|
5
7
|
import { default as FormTextAreaInput } from './FormTextAreaInput';
|
|
6
8
|
import { default as FormTextInput } from './FormTextInput';
|
|
7
9
|
import { default as FormToggleInput } from './FormToggleInput';
|
|
8
|
-
export { FormCheckboxInput, FormRadioButton, FormRadioButtonCluster, FormTextInput,
|
|
10
|
+
export { FormCheckboxInput, FormInputFieldSpecial, FormPhoneInput, FormRadioButton, FormRadioButtonCluster, FormTextAreaInput, FormTextInput, FormContentCreatorTile, FormToggleInput, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function parsePhoneNumber(phoneNumber: string, part?: 'code' | 'number' | 'full'): string;
|
package/lib/Forms/Form/Form.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FieldValues } from 'react-hook-form';
|
|
2
2
|
import { FormProps } from './Form.types';
|
|
3
|
-
export default function Form<FormData extends FieldValues>({ children, className, initialValues, onSubmit, validationSchema, }: FormProps<FormData>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default function Form<FormData extends FieldValues>({ children, className, id, formKey, initialValues, onSubmit, formError, validationSchema, validationMode, }: FormProps<FormData>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { DefaultValues, FieldValues, UseFormReturn } from 'react-hook-form';
|
|
2
|
+
import { DefaultValues, FieldValues, Mode, UseFormReturn } from 'react-hook-form';
|
|
3
3
|
import { ZodType } from 'zod';
|
|
4
|
-
|
|
4
|
+
import { TGridSpacing } from '../../Grids/Grid/Grid.types';
|
|
5
|
+
export type OnSubmitFunction<FormData extends FieldValues> = (arg: OnFormSubmitType<FormData>) => Promise<boolean | undefined | string>;
|
|
5
6
|
export type OnFormSubmitType<FormData extends FieldValues> = {
|
|
6
7
|
data: FormData;
|
|
7
8
|
methods?: UseFormReturn<FormData>;
|
|
@@ -9,7 +10,15 @@ export type OnFormSubmitType<FormData extends FieldValues> = {
|
|
|
9
10
|
export type FormProps<FormData extends FieldValues> = {
|
|
10
11
|
children: ReactNode | ReactNode[];
|
|
11
12
|
className?: string;
|
|
13
|
+
formError?: string | null;
|
|
14
|
+
formKey?: string;
|
|
15
|
+
id: string;
|
|
12
16
|
initialValues?: DefaultValues<FormData>;
|
|
13
|
-
onSubmit
|
|
17
|
+
onSubmit?: OnSubmitFunction<FormData>;
|
|
18
|
+
spacing?: TGridSpacing;
|
|
19
|
+
validationMode?: Mode;
|
|
14
20
|
validationSchema?: ZodType<FormData>;
|
|
15
21
|
};
|
|
22
|
+
export interface Data {
|
|
23
|
+
[key: string]: FieldValues;
|
|
24
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PrimitiveAtom } from 'jotai';
|
|
2
|
+
import { SyncStorage } from 'jotai/vanilla/utils/atomWithStorage';
|
|
3
|
+
import { Data } from './Form/Form.types';
|
|
4
|
+
export declare const sessionStorageSync: <T>() => SyncStorage<T>;
|
|
5
|
+
export declare const formAtomStorage: <T>(key: string, defaultValue: T, storage: boolean, sessionStorage?: boolean) => PrimitiveAtom<T>;
|
|
6
|
+
export declare const getFormAtom: <T>(formKey: string, storage: boolean | undefined, defaultValue: T, sessionStorage?: boolean) => PrimitiveAtom<T>;
|
|
7
|
+
export declare const getFormAtomData: (key: string, storedData: Data) => Record<string, unknown> | string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FieldValues } from 'react-hook-form';
|
|
2
2
|
import { FormProps } from '../Form/Form.types';
|
|
3
|
-
export declare function GridForm<FormData extends FieldValues>({ children, ...props }: FormProps<FormData>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function GridForm<FormData extends FieldValues>({ children, spacing, ...props }: FormProps<FormData>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default GridForm;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { WizardProps } from './Wizard.types';
|
|
3
|
-
export default function Wizard({ steps }: PropsWithChildren<WizardProps>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default function Wizard({ excludedSteps, formError, formFieldMap, formWrapper, id, initialStep, onStepChange, steps, }: PropsWithChildren<WizardProps>): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { TGridSpacing } from '../../Grids/Grid/Grid.types';
|
|
2
3
|
import { GridItemProps } from '../../Grids/Grid/GridItem/GridItem.types';
|
|
4
|
+
import { FormButtonProps } from '../Fields/FormButton/FormButtonProps';
|
|
5
|
+
import { FormCodeInputProps } from '../Fields/FormCodeField';
|
|
6
|
+
import { FormContentCreatorTileProps } from '../Fields/FormContentCreatorTile';
|
|
7
|
+
import { FormGenderSelectorProps } from '../Fields/FormGenderSelector';
|
|
8
|
+
import { FormHeaderProps } from '../Fields/FormHeader/FormHeader.types';
|
|
9
|
+
import { FormNameAbbreviationProps } from '../Fields/FormNameAbbreviation';
|
|
10
|
+
import { FormPasswordFieldProps } from '../Fields/FormPasswordField';
|
|
11
|
+
import { FormPhoneInputProps } from '../Fields/FormPhoneInput';
|
|
12
|
+
import { FormSelectInputProps } from '../Fields/FormSelectInput';
|
|
3
13
|
import { FormTextInputProps } from '../Fields/FormTextInput';
|
|
14
|
+
import { FormToggleInputProps } from '../Fields/FormToggleInput';
|
|
4
15
|
import { FormProps } from '../Form/Form.types';
|
|
5
16
|
export type FieldValueMap = {
|
|
6
17
|
text: string;
|
|
@@ -13,11 +24,12 @@ type OnlyStrictFields<T extends readonly unknown[]> = Extract<T[number], StrictF
|
|
|
13
24
|
export type InferFormData<T extends readonly unknown[]> = {
|
|
14
25
|
[Field in OnlyStrictFields<T> as Field['name']]: FieldValueMap[Field['type']];
|
|
15
26
|
};
|
|
16
|
-
type StepType = 'text' | 'submit' | 'slot';
|
|
27
|
+
type StepType = 'text' | 'submit' | 'slot' | 'selectInput' | 'formHeader' | 'button' | 'password' | 'genderSelector' | 'codeField' | 'tileButton' | 'nameAbbr' | 'toggle' | 'phoneInput';
|
|
17
28
|
export type StepField = {
|
|
18
29
|
id: string;
|
|
19
30
|
layout?: {
|
|
20
31
|
desktop?: GridItemProps['desktop'];
|
|
32
|
+
gapTop?: GridItemProps['gapTop'];
|
|
21
33
|
mobile?: GridItemProps['mobile'];
|
|
22
34
|
};
|
|
23
35
|
type: StepType;
|
|
@@ -25,22 +37,76 @@ export type StepField = {
|
|
|
25
37
|
export type TextField = StepField & FormTextInputProps & {
|
|
26
38
|
type: 'text';
|
|
27
39
|
};
|
|
40
|
+
export type FormHeaderField = StepField & {
|
|
41
|
+
fieldConfig: FormHeaderProps;
|
|
42
|
+
type: 'formHeader';
|
|
43
|
+
};
|
|
44
|
+
export type GenderSelectorField = StepField & FormGenderSelectorProps & {
|
|
45
|
+
type: 'genderSelector';
|
|
46
|
+
};
|
|
47
|
+
export type SelectInputField = StepField & {
|
|
48
|
+
fieldConfig: FormSelectInputProps;
|
|
49
|
+
type: 'selectInput';
|
|
50
|
+
};
|
|
51
|
+
export type PhoneInputField = StepField & {
|
|
52
|
+
fieldConfig: FormPhoneInputProps;
|
|
53
|
+
type: 'phoneInput';
|
|
54
|
+
};
|
|
55
|
+
export type ContentCreatorTileField = StepField & {
|
|
56
|
+
fieldConfig: Omit<FormContentCreatorTileProps, 'selected'>;
|
|
57
|
+
type: 'tileButton';
|
|
58
|
+
};
|
|
59
|
+
export type ToggleField = StepField & FormToggleInputProps & {
|
|
60
|
+
type: 'toggle';
|
|
61
|
+
};
|
|
62
|
+
export type ButtonField = StepField & {
|
|
63
|
+
fieldConfig: Omit<FormButtonProps, 'id'>;
|
|
64
|
+
type: 'button';
|
|
65
|
+
};
|
|
66
|
+
export type PasswordField = StepField & FormPasswordFieldProps & {
|
|
67
|
+
type: 'password';
|
|
68
|
+
};
|
|
69
|
+
export type NameAbbreviationField = StepField & FormNameAbbreviationProps & {
|
|
70
|
+
type: 'nameAbbr';
|
|
71
|
+
};
|
|
28
72
|
export type SubmitField = StepField & {
|
|
73
|
+
fieldConfig?: {
|
|
74
|
+
label?: string;
|
|
75
|
+
};
|
|
29
76
|
type: 'submit';
|
|
30
77
|
};
|
|
78
|
+
export type CodeField = StepField & {
|
|
79
|
+
fieldConfig: FormCodeInputProps;
|
|
80
|
+
type: 'codeField';
|
|
81
|
+
};
|
|
31
82
|
export type SlotField = StepField & {
|
|
32
83
|
render: ({ key }: {
|
|
33
84
|
key: string;
|
|
34
85
|
}) => ReactNode;
|
|
35
86
|
type: 'slot';
|
|
36
87
|
};
|
|
37
|
-
export type FormField = TextField | SubmitField | SlotField;
|
|
88
|
+
export type FormField = TextField | FormHeaderField | GenderSelectorField | SelectInputField | PasswordField | ToggleField | ButtonField | NameAbbreviationField | ContentCreatorTileField | SubmitField | CodeField | SlotField | PhoneInputField;
|
|
38
89
|
export type WizardStepT = {
|
|
90
|
+
canGoBack?: boolean;
|
|
91
|
+
canGoNext?: boolean;
|
|
39
92
|
fields: FormField[];
|
|
40
|
-
|
|
41
|
-
|
|
93
|
+
formError?: WizardProps['formError'];
|
|
94
|
+
formFieldMap?: Record<string, (field: FormField) => ReactNode | JSX.Element>;
|
|
95
|
+
formKey?: string;
|
|
96
|
+
id: string;
|
|
97
|
+
onSubmit?: FormProps<InferFormData<FormField[]>>['onSubmit'];
|
|
98
|
+
spacing?: TGridSpacing;
|
|
99
|
+
validationMode?: FormProps<InferFormData<FormField[]>>['validationMode'];
|
|
100
|
+
validationSchema?: FormProps<InferFormData<FormField[]>>['validationSchema'];
|
|
42
101
|
};
|
|
43
102
|
export type WizardProps = {
|
|
103
|
+
excludedSteps?: WizardStepT['id'][];
|
|
104
|
+
formError?: string | null;
|
|
105
|
+
formFieldMap?: Record<string, (field: FormField) => ReactNode | JSX.Element>;
|
|
106
|
+
formWrapper?: (props: ReactNode) => ReactNode;
|
|
107
|
+
id: string;
|
|
108
|
+
initialStep?: number | WizardStepT['id'];
|
|
109
|
+
onStepChange?: () => void;
|
|
44
110
|
steps: WizardStepT[];
|
|
45
111
|
};
|
|
46
112
|
export {};
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
+
import { OnFormSubmitType } from '../Form/Form.types';
|
|
2
|
+
import { FormField, InferFormData, WizardStepT } from './Wizard.types';
|
|
1
3
|
type TWizardContext = {
|
|
4
|
+
currentStep: number;
|
|
5
|
+
currentStepData: WizardStepT;
|
|
6
|
+
goToStep: (stepId: string, prevStepId?: string) => void;
|
|
2
7
|
next: () => void;
|
|
3
|
-
|
|
8
|
+
onSubmitStep: (data: OnFormSubmitType<InferFormData<FormField[]>>) => Promise<boolean | undefined>;
|
|
9
|
+
prevStep: string;
|
|
4
10
|
previous: () => void;
|
|
11
|
+
totalSteps: number;
|
|
5
12
|
};
|
|
6
13
|
export declare const WizardContext: import('react').Context<TWizardContext>;
|
|
7
14
|
export declare const WizardProvider: import('react').Provider<TWizardContext>;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export declare const useWizard: () => {
|
|
2
|
+
currentStep: number;
|
|
3
|
+
currentStepData: import('./Wizard.types').WizardStepT;
|
|
4
|
+
goToStep: (stepId: string, prevStepId?: string) => void;
|
|
2
5
|
next: () => void;
|
|
3
|
-
|
|
6
|
+
onSubmitStep: (data: import('../Form/Form.types').OnFormSubmitType<import('./Wizard.types').InferFormData<import('./Wizard.types').FormField[]>>) => Promise<boolean | undefined>;
|
|
7
|
+
prevStep: string;
|
|
4
8
|
previous: () => void;
|
|
9
|
+
totalSteps: number;
|
|
5
10
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
export declare const gridSpacing: string[];
|
|
3
|
-
export type
|
|
3
|
+
export type TGridSpacingBase = (typeof gridSpacing)[number];
|
|
4
|
+
export type TGridSpacing = TGridSpacingBase | {
|
|
5
|
+
x: TGridSpacingBase;
|
|
6
|
+
y: TGridSpacingBase;
|
|
7
|
+
};
|
|
4
8
|
export type GridProps = {
|
|
5
9
|
children: ReactNode;
|
|
6
|
-
spacing?: TGridSpacing
|
|
7
|
-
x: TGridSpacing;
|
|
8
|
-
y: TGridSpacing;
|
|
9
|
-
};
|
|
10
|
+
spacing?: TGridSpacing;
|
|
10
11
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { GridItemProps } from './GridItem.types';
|
|
2
|
-
export declare const GridItem: ({ children, desktop, mobile }: GridItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const GridItem: ({ children, desktop, gapTop, mobile, }: GridItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default GridItem;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PopupPlacement } from '@mui/base';
|
|
2
2
|
import { ReactElement } from 'react';
|
|
3
|
-
import { ReactionType } from '../../../../../api/src/lib/
|
|
3
|
+
import { ReactionType } from '../../../../../api/src/lib/core_v2';
|
|
4
4
|
import { Reaction } from '../ReactionStack/ReactionStack.types';
|
|
5
5
|
export interface ReactionSelectionProps {
|
|
6
6
|
buttonContent: ReactElement;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ReactionType } from '../../../../../api/src/lib/
|
|
1
|
+
import { ReactionType } from '../../../../../api/src/lib/core_v2';
|
|
2
|
+
import { ReactionItemProps } from './components/ReactionItem/ReactionItem.types';
|
|
2
3
|
export interface ReactionStackProps {
|
|
3
4
|
activeReaction?: ReactionType;
|
|
4
5
|
expanded?: boolean;
|
|
@@ -9,9 +10,4 @@ export interface ReactionStackProps {
|
|
|
9
10
|
stack?: boolean;
|
|
10
11
|
toolTipSpacing?: string;
|
|
11
12
|
}
|
|
12
|
-
export
|
|
13
|
-
count?: number;
|
|
14
|
-
reaction: ReactionType;
|
|
15
|
-
selected?: boolean;
|
|
16
|
-
tooltip?: string;
|
|
17
|
-
}
|
|
13
|
+
export type Reaction = Pick<ReactionItemProps, 'count' | 'reaction' | 'selected' | 'tooltip'>;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ReactionType } from '../../../../../../../api/src/lib/core_v2';
|
|
2
3
|
export type ReactionItemProps = {
|
|
3
4
|
activeReaction?: ReactionType;
|
|
4
|
-
count
|
|
5
|
+
count?: number;
|
|
5
6
|
expanded: boolean;
|
|
6
7
|
onSelect: (reaction: ReactionType) => void;
|
|
7
8
|
reaction: ReactionType;
|
|
8
|
-
selected
|
|
9
|
+
selected?: boolean;
|
|
9
10
|
size?: 'small' | 'big';
|
|
10
11
|
stack: boolean;
|
|
11
12
|
toolTipSpacing?: string;
|
|
12
|
-
tooltip?: string;
|
|
13
|
+
tooltip?: string | ReactNode;
|
|
13
14
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { ReactionType } from '../../../../../../../api/src/lib/
|
|
2
|
+
import { ReactionType } from '../../../../../../../api/src/lib/core_v2';
|
|
3
3
|
import { ReactionPillProps } from './ReactionPill.type';
|
|
4
4
|
export declare const renderReaction: (type: ReactionType, size?: "small" | "big") => ReactElement;
|
|
5
|
-
declare const ReactionPill: ({ ariaDescribedBy, className, count, expanded, onClick, reaction, selected, size, stack, }: ReactionPillProps) => ReactElement;
|
|
5
|
+
declare const ReactionPill: ({ ariaDescribedBy, className, count, expanded, onClick, reaction, selected, size, stack, transparent, }: ReactionPillProps) => ReactElement;
|
|
6
6
|
export default ReactionPill;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MouseEvent } from 'react';
|
|
2
|
+
import { ReactionType } from '../../../../../../../api/src/lib/core_v2';
|
|
2
3
|
import { BaseButtonProps } from '../../../../../../../ui/src/lib/Atoms/Buttons/Button/Button.types';
|
|
3
|
-
export interface ReactionPillProps extends BaseButtonProps {
|
|
4
|
+
export interface ReactionPillProps extends Omit<BaseButtonProps, 'onClick'> {
|
|
4
5
|
ariaDescribedBy?: string;
|
|
5
6
|
className?: string;
|
|
6
7
|
count?: number;
|
|
7
8
|
expanded?: boolean;
|
|
9
|
+
onClick?: (event: MouseEvent<HTMLElement>) => void;
|
|
8
10
|
reaction: ReactionType;
|
|
9
11
|
selected?: boolean;
|
|
10
12
|
size?: 'small' | 'big';
|
|
11
13
|
stack?: boolean;
|
|
14
|
+
transparent?: boolean;
|
|
12
15
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactionUser, ReactionsGetPayload, ReactionsGetResponse } from '../../../../../api/src/lib/
|
|
1
|
+
import { ReactionUser, ReactionsGetPayload, ReactionsGetResponse } from '../../../../../api/src/lib/core_v2';
|
|
2
2
|
export interface ReactionTabListProps {
|
|
3
3
|
closeText?: string;
|
|
4
4
|
getPicturePlaceholder: (user: ReactionUser) => string;
|
package/lib/Reactions/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactionType } from '../../../../api/src/lib/
|
|
1
|
+
import { ReactionType } from '../../../../api/src/lib/core_v2';
|
|
2
2
|
import { Reaction } from './ReactionStack/ReactionStack.types';
|
|
3
3
|
export declare const sortReactions: <T extends Reaction>(reactions: T[]) => T[];
|
|
4
4
|
export declare const isReactionType: (key: string) => key is Exclude<ReactionType, "bookmark">;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { PrivacyInfoModalHeaderProps } from './PrivacyInfoModal.types';
|
|
2
|
+
export declare const PrivacyInfoModalBody: () => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const PrivacyInfoModalHeader: ({ onClose }: PrivacyInfoModalHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { RegistrationProps } from './Registration.types';
|
|
2
|
+
declare const Registration: ({ fetchProfile, initialForm, initialFormStep, onRegistrationSubmit, onVerificationSubmit, registrationToken, status, }: RegistrationProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default Registration;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PrimitiveAtom, WritableAtom } from 'jotai';
|
|
2
|
+
import { RESET } from 'jotai/utils';
|
|
3
|
+
export declare const getAtom: <T>(key: string, storage?: boolean, defaultValue?: T, sessionStorage?: boolean) => PrimitiveAtom<T>;
|
|
4
|
+
export declare function withReset<T>(atom: PrimitiveAtom<T>): WritableAtom<T, [typeof RESET], void>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { RegistrationResponse, VerificationMethods, VerificationSMSResponse } from '../../../../api/src/lib/core_v2';
|
|
2
|
+
export declare enum State {
|
|
3
|
+
EMAIL_CONFIRMATION = "EMAIL_CONFIRMATION",
|
|
4
|
+
REGISTRATION_FORM = "REGISTRATION_FORM",
|
|
5
|
+
VERIFICATION_FORM = "VERIFICATION_FORM"
|
|
6
|
+
}
|
|
7
|
+
export interface RegistrationProps {
|
|
8
|
+
fetchProfile: () => void;
|
|
9
|
+
initialForm?: keyof typeof State;
|
|
10
|
+
initialFormStep?: string | number;
|
|
11
|
+
onRegistrationSubmit: (data: RegistrationResponse) => void;
|
|
12
|
+
onVerificationSubmit: (data?: VerificationSMSResponse) => void;
|
|
13
|
+
registrationToken: string | null;
|
|
14
|
+
status: {
|
|
15
|
+
verification_methods: VerificationMethods;
|
|
16
|
+
};
|
|
17
|
+
}
|