@mindly/ui-components 5.94.0 → 5.95.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/dist/cjs/index.js +6 -15
- package/dist/cjs/lib/SpecialistCard/SpecialistCard.d.ts +2 -0
- package/dist/cjs/lib2/shared/types/session.d.ts +1 -0
- package/dist/cjs/lib2/shared/utils/priceNormalizer.d.ts +3 -2
- package/dist/cjs/lib2/shared/utils/userCan.d.ts +1 -0
- package/dist/esm/index.js +6 -15
- package/dist/esm/lib/SpecialistCard/SpecialistCard.d.ts +2 -0
- package/dist/esm/lib2/shared/types/session.d.ts +1 -0
- package/dist/esm/lib2/shared/utils/priceNormalizer.d.ts +3 -2
- package/dist/esm/lib2/shared/utils/userCan.d.ts +1 -0
- package/dist/index.d.ts +981 -977
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import React__default, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC,
|
|
3
|
+
import React__default, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, SVGAttributes, KeyboardEvent, InputHTMLAttributes, RefObject, SVGProps, PropsWithChildren, ReactText, ReactElement, ChangeEvent } from 'react';
|
|
4
4
|
import { JSX as JSX$1 } from '@ionic/core/components';
|
|
5
5
|
import * as react_i18next from 'react-i18next';
|
|
6
6
|
import { WithTranslation } from 'react-i18next';
|
|
7
7
|
import { RatingComponentProps } from 'react-rating';
|
|
8
|
-
import {
|
|
8
|
+
import { ScrollDetail, ScrollBaseDetail, RefresherEventDetail } from '@ionic/react';
|
|
9
9
|
import * as _ionic_core_dist_types_components from '@ionic/core/dist/types/components';
|
|
10
10
|
import { IonContentCustomEvent, IonSearchbarCustomEvent as IonSearchbarCustomEvent$1 } from '@ionic/core/dist/types/components';
|
|
11
11
|
import { Node, ListState, ItemProps as ItemProps$1, SelectionBehavior, SelectionMode, Selection } from 'react-stately';
|
|
@@ -1018,410 +1018,6 @@ type BookingSpecialistInfoProps = {
|
|
|
1018
1018
|
};
|
|
1019
1019
|
declare const _default$V: React__default.NamedExoticComponent<BookingSpecialistInfoProps>;
|
|
1020
1020
|
|
|
1021
|
-
type SpecialistCardProps = {
|
|
1022
|
-
fullName?: string;
|
|
1023
|
-
specialization?: string;
|
|
1024
|
-
priceCurrencySign?: string;
|
|
1025
|
-
pricePerSession?: number;
|
|
1026
|
-
/**
|
|
1027
|
-
* @deprecated
|
|
1028
|
-
*/
|
|
1029
|
-
pricePerSessionUAH?: number;
|
|
1030
|
-
sessionDurationInMinutes?: number;
|
|
1031
|
-
avatarLink?: string | null;
|
|
1032
|
-
yearsOfExperience?: number | null;
|
|
1033
|
-
hoursOfPractice?: number | null;
|
|
1034
|
-
summary?: string | null;
|
|
1035
|
-
clientsCount?: number | null;
|
|
1036
|
-
sessionsCount?: number | null;
|
|
1037
|
-
onFavouriteClickHandler?: () => void;
|
|
1038
|
-
isFavouriteSpecialist?: boolean;
|
|
1039
|
-
onCardClickHandler?: () => void;
|
|
1040
|
-
loading?: boolean;
|
|
1041
|
-
countryCode?: string;
|
|
1042
|
-
onAvatarClickHandler?: () => void;
|
|
1043
|
-
/**
|
|
1044
|
-
* in format: 1:23 (minutes:seconds)
|
|
1045
|
-
*/
|
|
1046
|
-
videoDurationSeconds?: number;
|
|
1047
|
-
percentMatch?: number;
|
|
1048
|
-
averageStarsCount?: number;
|
|
1049
|
-
countOfReviews?: number;
|
|
1050
|
-
translations: {
|
|
1051
|
-
name: string;
|
|
1052
|
-
year: string[];
|
|
1053
|
-
experiences: string;
|
|
1054
|
-
hour: string[];
|
|
1055
|
-
practice: string;
|
|
1056
|
-
session: string;
|
|
1057
|
-
clients: string[];
|
|
1058
|
-
sessions: string[];
|
|
1059
|
-
by: string;
|
|
1060
|
-
match: string;
|
|
1061
|
-
reviews: string[];
|
|
1062
|
-
};
|
|
1063
|
-
uploadButton?: boolean;
|
|
1064
|
-
onUploadButtonClick?: () => void;
|
|
1065
|
-
};
|
|
1066
|
-
declare const SpecialistCard: React__default.FC<SpecialistCardProps>;
|
|
1067
|
-
|
|
1068
|
-
declare const _default$U: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
1069
|
-
isError?: boolean | undefined;
|
|
1070
|
-
errorStyle?: "filled" | "unfilled" | undefined;
|
|
1071
|
-
type?: "number" | "text" | "email" | undefined;
|
|
1072
|
-
} & React__default.InputHTMLAttributes<HTMLInputElement> & React__default.RefAttributes<HTMLInputElement>>>;
|
|
1073
|
-
|
|
1074
|
-
declare const ImageInput: React__default.ForwardRefExoticComponent<{
|
|
1075
|
-
dimension?: number | undefined;
|
|
1076
|
-
buttonLabel?: string | undefined;
|
|
1077
|
-
isRoundedImage?: boolean | undefined;
|
|
1078
|
-
isCloseButton?: boolean | undefined;
|
|
1079
|
-
onCloseClick?: (() => void) | undefined;
|
|
1080
|
-
isVideoContent?: boolean | undefined;
|
|
1081
|
-
isError?: boolean | undefined;
|
|
1082
|
-
errorMessage?: string | undefined;
|
|
1083
|
-
loadedFileValue?: string | undefined;
|
|
1084
|
-
renderMediaAfterLoad?: boolean | undefined;
|
|
1085
|
-
isFilledButton?: boolean | undefined;
|
|
1086
|
-
} & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
1087
|
-
|
|
1088
|
-
declare const PasswordInput: React__default.ForwardRefExoticComponent<{
|
|
1089
|
-
error?: string | null | undefined;
|
|
1090
|
-
} & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
1091
|
-
|
|
1092
|
-
declare const _default$T: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
1093
|
-
isError?: boolean | undefined;
|
|
1094
|
-
} & React__default.TextareaHTMLAttributes<HTMLTextAreaElement> & React__default.RefAttributes<HTMLTextAreaElement>>>;
|
|
1095
|
-
|
|
1096
|
-
declare const _default$S: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
1097
|
-
options: {
|
|
1098
|
-
id: string | number;
|
|
1099
|
-
label: string | number;
|
|
1100
|
-
}[];
|
|
1101
|
-
isError?: boolean | undefined;
|
|
1102
|
-
selectedBy?: "label" | "id" | undefined;
|
|
1103
|
-
} & React__default.SelectHTMLAttributes<HTMLSelectElement> & React__default.RefAttributes<HTMLSelectElement>>>;
|
|
1104
|
-
|
|
1105
|
-
type PossibleButtonTypes = 'primary' | 'secondary' | 'accent' | 'accent-dark-green' | 'accent-light-grey' | 'transparent' | 'border' | 'border-white' | 'white' | 'outline';
|
|
1106
|
-
type ButtonProps$1 = {
|
|
1107
|
-
buttonType?: PossibleButtonTypes;
|
|
1108
|
-
loading?: boolean;
|
|
1109
|
-
} & React__default.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
1110
|
-
declare const CustomButton: React__default.FC<ButtonProps$1>;
|
|
1111
|
-
|
|
1112
|
-
declare enum CheckboxTypes {
|
|
1113
|
-
WITH_ICON = "with-icon",
|
|
1114
|
-
TAG = "tag",
|
|
1115
|
-
LIST = "list"
|
|
1116
|
-
}
|
|
1117
|
-
type CustomCheckboxProps = {
|
|
1118
|
-
type: CheckboxTypes;
|
|
1119
|
-
value?: ReactText;
|
|
1120
|
-
label?: string;
|
|
1121
|
-
icon?: ReactElement;
|
|
1122
|
-
name?: string;
|
|
1123
|
-
className?: string;
|
|
1124
|
-
defaultChecked?: boolean;
|
|
1125
|
-
isCheckbox?: boolean;
|
|
1126
|
-
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
1127
|
-
};
|
|
1128
|
-
declare const _default$R: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<CustomCheckboxProps & React__default.RefAttributes<HTMLInputElement>>>;
|
|
1129
|
-
|
|
1130
|
-
type CheckboxListItem = {
|
|
1131
|
-
id: ReactText;
|
|
1132
|
-
label: string;
|
|
1133
|
-
icon?: ReactElement;
|
|
1134
|
-
isFavorite?: boolean;
|
|
1135
|
-
};
|
|
1136
|
-
type CheckboxListCategory = {
|
|
1137
|
-
name: string;
|
|
1138
|
-
items: CheckboxListItem[];
|
|
1139
|
-
};
|
|
1140
|
-
type CheckboxListProps = {
|
|
1141
|
-
type: CheckboxTypes;
|
|
1142
|
-
items: CheckboxListCategory[];
|
|
1143
|
-
selected?: ReactText[];
|
|
1144
|
-
onChange?: (selected: ReactText[]) => void;
|
|
1145
|
-
name: string;
|
|
1146
|
-
moreLabel?: string;
|
|
1147
|
-
title?: string;
|
|
1148
|
-
className?: string;
|
|
1149
|
-
selectedBy?: 'id' | 'label';
|
|
1150
|
-
translation: {
|
|
1151
|
-
mostUsedText: string;
|
|
1152
|
-
buttonText: string;
|
|
1153
|
-
from: string;
|
|
1154
|
-
};
|
|
1155
|
-
};
|
|
1156
|
-
declare const _default$Q: React__default.NamedExoticComponent<CheckboxListProps>;
|
|
1157
|
-
|
|
1158
|
-
type BookingHeaderProps = {
|
|
1159
|
-
title?: string;
|
|
1160
|
-
subTitle?: string;
|
|
1161
|
-
isLoading?: boolean;
|
|
1162
|
-
onClick?: () => void;
|
|
1163
|
-
};
|
|
1164
|
-
declare const ChevronHeader: React__default.FC<BookingHeaderProps>;
|
|
1165
|
-
|
|
1166
|
-
type ProgressBarProps = {
|
|
1167
|
-
progress: number;
|
|
1168
|
-
loaderTitle?: string;
|
|
1169
|
-
};
|
|
1170
|
-
declare const _default$P: React__default.NamedExoticComponent<ProgressBarProps>;
|
|
1171
|
-
|
|
1172
|
-
declare const _default$O: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
1173
|
-
title: string;
|
|
1174
|
-
subTitle?: string | undefined;
|
|
1175
|
-
isError?: boolean | undefined;
|
|
1176
|
-
loadedFileValue?: string | undefined;
|
|
1177
|
-
onCloseClick?: (() => void) | undefined;
|
|
1178
|
-
buttonLabel?: string | undefined;
|
|
1179
|
-
renderMediaAfterLoad?: boolean | undefined;
|
|
1180
|
-
} & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> & React__default.RefAttributes<HTMLInputElement>>>;
|
|
1181
|
-
|
|
1182
|
-
type SuccessScreenProps = {
|
|
1183
|
-
title: string;
|
|
1184
|
-
subTitle?: string;
|
|
1185
|
-
btnTitle?: string;
|
|
1186
|
-
onClick?: () => void;
|
|
1187
|
-
};
|
|
1188
|
-
declare const SuccessScreen: FC<SuccessScreenProps>;
|
|
1189
|
-
|
|
1190
|
-
declare const FlagTypes: {
|
|
1191
|
-
uk: JSX.Element;
|
|
1192
|
-
ua: JSX.Element;
|
|
1193
|
-
pl: JSX.Element;
|
|
1194
|
-
gb: JSX.Element;
|
|
1195
|
-
en: JSX.Element;
|
|
1196
|
-
ru: JSX.Element;
|
|
1197
|
-
es: JSX.Element;
|
|
1198
|
-
};
|
|
1199
|
-
type FlagProps$1 = {
|
|
1200
|
-
name: keyof typeof FlagTypes;
|
|
1201
|
-
dimensions?: number;
|
|
1202
|
-
className?: string;
|
|
1203
|
-
};
|
|
1204
|
-
declare const _default$N: React__default.NamedExoticComponent<FlagProps$1>;
|
|
1205
|
-
|
|
1206
|
-
type SpecialistLangsProps = {
|
|
1207
|
-
showLoader?: boolean;
|
|
1208
|
-
langs: string[];
|
|
1209
|
-
className?: string;
|
|
1210
|
-
country: string;
|
|
1211
|
-
countryCode: string;
|
|
1212
|
-
titleLangs: string;
|
|
1213
|
-
titleCountry: string;
|
|
1214
|
-
};
|
|
1215
|
-
declare const SpecialistLangs: FC<SpecialistLangsProps>;
|
|
1216
|
-
|
|
1217
|
-
type ChangeLangModalProps = {
|
|
1218
|
-
title: string;
|
|
1219
|
-
selected: string;
|
|
1220
|
-
isOpen: boolean;
|
|
1221
|
-
onSelect: (lang: string) => void;
|
|
1222
|
-
onModalClose?: () => void;
|
|
1223
|
-
};
|
|
1224
|
-
type LanguagesListProps = {
|
|
1225
|
-
selected: string;
|
|
1226
|
-
onSelect: (lang: string) => void;
|
|
1227
|
-
};
|
|
1228
|
-
declare const LanguagesList: FC<LanguagesListProps>;
|
|
1229
|
-
declare const ChangeLangModal: FC<ChangeLangModalProps>;
|
|
1230
|
-
|
|
1231
|
-
type ProfileInformationProps = {
|
|
1232
|
-
specialistAvatar?: string;
|
|
1233
|
-
specialistFirstName?: string;
|
|
1234
|
-
specialistLastName?: string;
|
|
1235
|
-
specialistSpecialization?: string;
|
|
1236
|
-
countryCode?: string;
|
|
1237
|
-
isLoading?: boolean;
|
|
1238
|
-
averageStarsCount?: number;
|
|
1239
|
-
countOfReviews?: number;
|
|
1240
|
-
translations?: {
|
|
1241
|
-
reviews: string[];
|
|
1242
|
-
};
|
|
1243
|
-
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
1244
|
-
declare const _default$M: React__default.NamedExoticComponent<ProfileInformationProps>;
|
|
1245
|
-
|
|
1246
|
-
type SpecialistMatchProps = {
|
|
1247
|
-
specialistFirstName?: string;
|
|
1248
|
-
percentMatch?: number;
|
|
1249
|
-
learnMoreClick: () => void;
|
|
1250
|
-
isLoading?: boolean;
|
|
1251
|
-
translations: {
|
|
1252
|
-
matchYou: string;
|
|
1253
|
-
howWeMatchThis: string;
|
|
1254
|
-
};
|
|
1255
|
-
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
1256
|
-
declare const _default$L: React__default.NamedExoticComponent<SpecialistMatchProps>;
|
|
1257
|
-
|
|
1258
|
-
type SpecialistStatisticProps = {
|
|
1259
|
-
learnMoreClick: () => void;
|
|
1260
|
-
isSuperSpecialist?: boolean;
|
|
1261
|
-
countConsultationFor3Days?: number;
|
|
1262
|
-
specialistFirstName: string;
|
|
1263
|
-
specialistLastName: string;
|
|
1264
|
-
isLoading?: boolean;
|
|
1265
|
-
superSpecialistIcon: string;
|
|
1266
|
-
trendingUpIcon: string;
|
|
1267
|
-
translations: {
|
|
1268
|
-
knowMore: string;
|
|
1269
|
-
superSpecialistInfo: string;
|
|
1270
|
-
superSpecialist: string;
|
|
1271
|
-
popularSpecialist: string;
|
|
1272
|
-
sessions: string[];
|
|
1273
|
-
bookedSession: string;
|
|
1274
|
-
};
|
|
1275
|
-
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
1276
|
-
declare const _default$K: React__default.NamedExoticComponent<SpecialistStatisticProps>;
|
|
1277
|
-
|
|
1278
|
-
type RatingWithLabelProps = {
|
|
1279
|
-
countOfReviews?: number;
|
|
1280
|
-
averageStarsCount?: number;
|
|
1281
|
-
translations?: {
|
|
1282
|
-
reviews: string[];
|
|
1283
|
-
};
|
|
1284
|
-
} & RatingComponentProps;
|
|
1285
|
-
declare const StarRating: React__default.FC<RatingWithLabelProps>;
|
|
1286
|
-
|
|
1287
|
-
type ReviewCardProps = {
|
|
1288
|
-
reviewerAvatar: string;
|
|
1289
|
-
reviewerFirstName: string;
|
|
1290
|
-
reviewerLastName: string;
|
|
1291
|
-
reviewerCountry?: keyof typeof FlagTypes;
|
|
1292
|
-
reviewedAtInSeconds?: number;
|
|
1293
|
-
starsCount: number;
|
|
1294
|
-
reviewText?: string;
|
|
1295
|
-
onShowMoreButtonClick?: () => void;
|
|
1296
|
-
showAllReview?: boolean;
|
|
1297
|
-
type: 'card' | 'list';
|
|
1298
|
-
loading?: boolean;
|
|
1299
|
-
translations: {
|
|
1300
|
-
showMore: string;
|
|
1301
|
-
showAllReviews: string;
|
|
1302
|
-
};
|
|
1303
|
-
cutReview?: boolean;
|
|
1304
|
-
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
1305
|
-
declare const ReviewCard: React__default.FC<ReviewCardProps>;
|
|
1306
|
-
|
|
1307
|
-
type ReviewStatisticsProps = {
|
|
1308
|
-
averageStarsCount: number;
|
|
1309
|
-
countOfReviews: number;
|
|
1310
|
-
/**
|
|
1311
|
-
* count of reviews for each star, where key - is a number of stars and value - is a count of reviews
|
|
1312
|
-
* @example {'1': 15, '2': 30, '3': 45, '4': 60, '5': 75}
|
|
1313
|
-
*/
|
|
1314
|
-
statistics: {
|
|
1315
|
-
[key: string]: number;
|
|
1316
|
-
};
|
|
1317
|
-
loading?: boolean;
|
|
1318
|
-
translations: {
|
|
1319
|
-
reviews: string[];
|
|
1320
|
-
};
|
|
1321
|
-
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
1322
|
-
declare const ReviewStatistics: React__default.FC<ReviewStatisticsProps>;
|
|
1323
|
-
|
|
1324
|
-
interface ISpecialistReview {
|
|
1325
|
-
id: string;
|
|
1326
|
-
specialist_id: string;
|
|
1327
|
-
client_id: string;
|
|
1328
|
-
client_avatar: string | null;
|
|
1329
|
-
client_country: string;
|
|
1330
|
-
client_first_name: string;
|
|
1331
|
-
client_last_name?: string | null;
|
|
1332
|
-
/**
|
|
1333
|
-
* Count of stars that client gave to specialist (1-5)
|
|
1334
|
-
*/
|
|
1335
|
-
review_rating: number;
|
|
1336
|
-
text_of_review: string | null;
|
|
1337
|
-
/**
|
|
1338
|
-
* Timestamp of review creation
|
|
1339
|
-
*/
|
|
1340
|
-
created_at: number;
|
|
1341
|
-
review_status: 'on_review' | 'approved' | 'rejected';
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
type ReviewSwiperProps = {
|
|
1345
|
-
reviews: ISpecialistReview[];
|
|
1346
|
-
averageRating: number;
|
|
1347
|
-
reviewsCount: number;
|
|
1348
|
-
loading?: boolean;
|
|
1349
|
-
showAllReviewsHandler: () => void;
|
|
1350
|
-
specialistReviewsCountForShowing: number;
|
|
1351
|
-
translations: {
|
|
1352
|
-
showMore: string;
|
|
1353
|
-
showAllReviews: string;
|
|
1354
|
-
reviews: string;
|
|
1355
|
-
};
|
|
1356
|
-
};
|
|
1357
|
-
declare const ReviewSwiperSection: React__default.FC<ReviewSwiperProps>;
|
|
1358
|
-
|
|
1359
|
-
type FrequentlyAskedQuestions = {
|
|
1360
|
-
text: string;
|
|
1361
|
-
alignment: 'right' | 'center' | 'left';
|
|
1362
|
-
};
|
|
1363
|
-
declare const FrequentlyAskedQuestions: React__default.FC<FrequentlyAskedQuestions>;
|
|
1364
|
-
|
|
1365
|
-
declare const Spinner: () => JSX.Element;
|
|
1366
|
-
|
|
1367
|
-
type RefresherProps = {
|
|
1368
|
-
onIonRefresh: (event: CustomEvent<RefresherEventDetail>) => void;
|
|
1369
|
-
disabled: boolean;
|
|
1370
|
-
};
|
|
1371
|
-
declare const Refresher: FC<RefresherProps>;
|
|
1372
|
-
|
|
1373
|
-
declare const Toast: React__default.FC<ToastProps>;
|
|
1374
|
-
|
|
1375
|
-
type ToastButton = {
|
|
1376
|
-
text: string;
|
|
1377
|
-
handler: () => void;
|
|
1378
|
-
type?: 'filled' | 'outlined';
|
|
1379
|
-
hide?: boolean;
|
|
1380
|
-
};
|
|
1381
|
-
type ToastProps = {
|
|
1382
|
-
position?: 'top' | 'bottom';
|
|
1383
|
-
positionOffset?: number;
|
|
1384
|
-
text?: string;
|
|
1385
|
-
heading?: string;
|
|
1386
|
-
buttons?: Array<ToastButton>;
|
|
1387
|
-
} & HTMLAttributes<HTMLDivElement>;
|
|
1388
|
-
|
|
1389
|
-
type CustomRadioButtonProps = {
|
|
1390
|
-
label: string;
|
|
1391
|
-
name?: string;
|
|
1392
|
-
value?: string;
|
|
1393
|
-
checked?: boolean;
|
|
1394
|
-
disabled?: boolean;
|
|
1395
|
-
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
1396
|
-
};
|
|
1397
|
-
declare const CustomRadioButton: React__default.ForwardRefExoticComponent<CustomRadioButtonProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
1398
|
-
|
|
1399
|
-
type ListItemType = {
|
|
1400
|
-
id: ReactText;
|
|
1401
|
-
label: string;
|
|
1402
|
-
};
|
|
1403
|
-
type ListSelectProps = {
|
|
1404
|
-
title: string;
|
|
1405
|
-
listItems: ListItemType[];
|
|
1406
|
-
selected?: ReactText;
|
|
1407
|
-
onChange: (item: ListItemType) => void;
|
|
1408
|
-
};
|
|
1409
|
-
|
|
1410
|
-
declare const ListSelect: FC<ListSelectProps>;
|
|
1411
|
-
|
|
1412
|
-
type RowItemType = {
|
|
1413
|
-
id: ReactText;
|
|
1414
|
-
label: string;
|
|
1415
|
-
};
|
|
1416
|
-
type RowSelectProps = {
|
|
1417
|
-
title: string;
|
|
1418
|
-
rowItems: RowItemType[];
|
|
1419
|
-
selected?: ReactText;
|
|
1420
|
-
onChange: (value: RowItemType) => void;
|
|
1421
|
-
};
|
|
1422
|
-
|
|
1423
|
-
declare const RowSelect: FC<RowSelectProps>;
|
|
1424
|
-
|
|
1425
1021
|
declare enum TypographyVariantsEnum {
|
|
1426
1022
|
Title48Bold = "Title/48 Bold",
|
|
1427
1023
|
Title48Semi = "Title/48 Semi",
|
|
@@ -1468,7 +1064,7 @@ type TypographyProps = {
|
|
|
1468
1064
|
isError?: boolean;
|
|
1469
1065
|
};
|
|
1470
1066
|
|
|
1471
|
-
declare const _default$
|
|
1067
|
+
declare const _default$U: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<TypographyProps & React__default.RefAttributes<HTMLDivElement>>>;
|
|
1472
1068
|
|
|
1473
1069
|
type AlertCardVariants = 'transparent' | 'yellow' | 'blue';
|
|
1474
1070
|
type AlertCardProps = React$1.ComponentPropsWithoutRef<'div'> & {
|
|
@@ -1484,7 +1080,7 @@ type AlertCardProps = React$1.ComponentPropsWithoutRef<'div'> & {
|
|
|
1484
1080
|
};
|
|
1485
1081
|
};
|
|
1486
1082
|
|
|
1487
|
-
declare const _default$
|
|
1083
|
+
declare const _default$T: React$1.NamedExoticComponent<AlertCardProps>;
|
|
1488
1084
|
|
|
1489
1085
|
type AppFooterProps = {
|
|
1490
1086
|
children?: React__default.ReactNode;
|
|
@@ -1495,7 +1091,7 @@ type AppFooterProps = {
|
|
|
1495
1091
|
toolbarStyle?: CSSProperties;
|
|
1496
1092
|
className?: string;
|
|
1497
1093
|
};
|
|
1498
|
-
declare const _default$
|
|
1094
|
+
declare const _default$S: React__default.NamedExoticComponent<AppFooterProps>;
|
|
1499
1095
|
|
|
1500
1096
|
type AvatarRoundVariants = 'circle' | 'drop' | 'small';
|
|
1501
1097
|
|
|
@@ -1509,16 +1105,16 @@ type AvatarProps = {
|
|
|
1509
1105
|
onClick?(): void;
|
|
1510
1106
|
border?: boolean | string;
|
|
1511
1107
|
};
|
|
1512
|
-
declare const _default$
|
|
1108
|
+
declare const _default$R: React__default.NamedExoticComponent<AvatarProps>;
|
|
1513
1109
|
|
|
1514
1110
|
type SkeletonProps = {
|
|
1515
1111
|
animated?: boolean;
|
|
1516
1112
|
className?: string;
|
|
1517
1113
|
style?: React__default.CSSProperties;
|
|
1518
1114
|
};
|
|
1519
|
-
declare const _default$
|
|
1115
|
+
declare const _default$Q: React__default.NamedExoticComponent<SkeletonProps>;
|
|
1520
1116
|
|
|
1521
|
-
type ButtonProps = {
|
|
1117
|
+
type ButtonProps$1 = {
|
|
1522
1118
|
fill?: 'outline' | 'clear';
|
|
1523
1119
|
size?: 'default' | 'large' | 'small';
|
|
1524
1120
|
customSize?: 'smaller' | 'auto';
|
|
@@ -1534,7 +1130,7 @@ type ButtonProps = {
|
|
|
1534
1130
|
style?: React__default.CSSProperties;
|
|
1535
1131
|
id?: string;
|
|
1536
1132
|
} & JSX$1.IonButton;
|
|
1537
|
-
declare const Button_v2: FC<ButtonProps>;
|
|
1133
|
+
declare const Button_v2: FC<ButtonProps$1>;
|
|
1538
1134
|
|
|
1539
1135
|
type ContainerProps = {
|
|
1540
1136
|
className?: string;
|
|
@@ -1549,11 +1145,11 @@ type ContainerProps = {
|
|
|
1549
1145
|
};
|
|
1550
1146
|
declare const Container_v2: React__default.ForwardRefExoticComponent<ContainerProps & React__default.RefAttributes<HTMLIonContentElement>>;
|
|
1551
1147
|
|
|
1552
|
-
type FlagProps = {
|
|
1148
|
+
type FlagProps$1 = {
|
|
1553
1149
|
name: string;
|
|
1554
1150
|
className?: string;
|
|
1555
1151
|
};
|
|
1556
|
-
declare const _default$
|
|
1152
|
+
declare const _default$P: React__default.NamedExoticComponent<FlagProps$1>;
|
|
1557
1153
|
|
|
1558
1154
|
type PictureProps = {
|
|
1559
1155
|
width: number;
|
|
@@ -1570,7 +1166,7 @@ type PictureProps = {
|
|
|
1570
1166
|
responsive?: boolean;
|
|
1571
1167
|
containerWidth?: number;
|
|
1572
1168
|
};
|
|
1573
|
-
declare const _default$
|
|
1169
|
+
declare const _default$O: React__default.NamedExoticComponent<PictureProps>;
|
|
1574
1170
|
|
|
1575
1171
|
type BadgeType = 'default' | 'accent';
|
|
1576
1172
|
type BadgeVariants = 'attention' | 'neutral' | 'success' | 'warning' | 'brand' | 'info';
|
|
@@ -1581,7 +1177,7 @@ type BadgeProps = React$1.ComponentPropsWithoutRef<'span'> & {
|
|
|
1581
1177
|
iconType?: 'check';
|
|
1582
1178
|
};
|
|
1583
1179
|
|
|
1584
|
-
declare const _default$
|
|
1180
|
+
declare const _default$N: React$1.NamedExoticComponent<BadgeProps>;
|
|
1585
1181
|
|
|
1586
1182
|
type ItemCardVariants = 'neutral' | 'transparent' | 'transparent20';
|
|
1587
1183
|
type ItemCardProps = React$1.ComponentPropsWithoutRef<'div'> & {
|
|
@@ -1589,7 +1185,7 @@ type ItemCardProps = React$1.ComponentPropsWithoutRef<'div'> & {
|
|
|
1589
1185
|
size?: 'M' | 'M4' | 'M45';
|
|
1590
1186
|
};
|
|
1591
1187
|
|
|
1592
|
-
declare const _default$
|
|
1188
|
+
declare const _default$M: React$1.NamedExoticComponent<ItemCardProps>;
|
|
1593
1189
|
|
|
1594
1190
|
type AppHeaderProps = {
|
|
1595
1191
|
fullwidth?: boolean;
|
|
@@ -1838,6 +1434,41 @@ type ResponseFileType = {
|
|
|
1838
1434
|
height?: number;
|
|
1839
1435
|
};
|
|
1840
1436
|
|
|
1437
|
+
interface ISpecialistReview {
|
|
1438
|
+
id: string;
|
|
1439
|
+
specialist_id: string;
|
|
1440
|
+
client_id: string;
|
|
1441
|
+
client_avatar: string | null;
|
|
1442
|
+
client_country: string;
|
|
1443
|
+
client_first_name: string;
|
|
1444
|
+
client_last_name?: string | null;
|
|
1445
|
+
/**
|
|
1446
|
+
* Count of stars that client gave to specialist (1-5)
|
|
1447
|
+
*/
|
|
1448
|
+
review_rating: number;
|
|
1449
|
+
text_of_review: string | null;
|
|
1450
|
+
/**
|
|
1451
|
+
* Timestamp of review creation
|
|
1452
|
+
*/
|
|
1453
|
+
created_at: number;
|
|
1454
|
+
review_status: 'on_review' | 'approved' | 'rejected';
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
type ReviewSwiperProps = {
|
|
1458
|
+
reviews: ISpecialistReview[];
|
|
1459
|
+
averageRating: number;
|
|
1460
|
+
reviewsCount: number;
|
|
1461
|
+
loading?: boolean;
|
|
1462
|
+
showAllReviewsHandler: () => void;
|
|
1463
|
+
specialistReviewsCountForShowing: number;
|
|
1464
|
+
translations: {
|
|
1465
|
+
showMore: string;
|
|
1466
|
+
showAllReviews: string;
|
|
1467
|
+
reviews: string;
|
|
1468
|
+
};
|
|
1469
|
+
};
|
|
1470
|
+
declare const ReviewSwiperSection: React__default.FC<ReviewSwiperProps>;
|
|
1471
|
+
|
|
1841
1472
|
declare enum ConditionRulesType {
|
|
1842
1473
|
IS = "is"
|
|
1843
1474
|
}
|
|
@@ -2155,6 +1786,7 @@ type Session = {
|
|
|
2155
1786
|
subscription?: Subscription;
|
|
2156
1787
|
};
|
|
2157
1788
|
type SessionVariant = 'default' | 'current' | 'soon' | 'near' | 'past';
|
|
1789
|
+
type Consultation = Session;
|
|
2158
1790
|
|
|
2159
1791
|
type AutoComplete<T extends string> = T | (string & {});
|
|
2160
1792
|
|
|
@@ -2239,7 +1871,7 @@ interface TextareaV2Props extends Omit<JSX$1.IonTextarea, 'color' | 'enterkeyhin
|
|
|
2239
1871
|
onKeyPress?: (e: KeyboardEvent<HTMLIonTextareaElement>) => void;
|
|
2240
1872
|
}
|
|
2241
1873
|
|
|
2242
|
-
declare const _default$
|
|
1874
|
+
declare const _default$L: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<TextareaV2Props & React__default.RefAttributes<HTMLIonTextareaElement>>>;
|
|
2243
1875
|
|
|
2244
1876
|
type RatingProps = {
|
|
2245
1877
|
initialRating?: number;
|
|
@@ -2251,7 +1883,7 @@ type RatingProps = {
|
|
|
2251
1883
|
readonly?: boolean;
|
|
2252
1884
|
};
|
|
2253
1885
|
|
|
2254
|
-
declare const _default$
|
|
1886
|
+
declare const _default$K: React__default.NamedExoticComponent<RatingProps>;
|
|
2255
1887
|
|
|
2256
1888
|
declare const RatingCircleWrapper: FC<CircleRatingComponentProps & {
|
|
2257
1889
|
t: WithTranslation | any;
|
|
@@ -2265,7 +1897,7 @@ type IconButtonProps = {
|
|
|
2265
1897
|
fill?: 'clear' | 'filled';
|
|
2266
1898
|
type?: 'button' | 'submit' | 'reset';
|
|
2267
1899
|
};
|
|
2268
|
-
declare const _default$
|
|
1900
|
+
declare const _default$J: React__default.NamedExoticComponent<IconButtonProps>;
|
|
2269
1901
|
|
|
2270
1902
|
type ToastProviderProps = ToastStateProps;
|
|
2271
1903
|
type MindlyToastProps = {
|
|
@@ -2311,17 +1943,17 @@ type ProgressBar_v2Props = {
|
|
|
2311
1943
|
animationDuration?: number;
|
|
2312
1944
|
onProgressEnd?: () => void;
|
|
2313
1945
|
};
|
|
2314
|
-
declare const _default$
|
|
1946
|
+
declare const _default$I: React__default.NamedExoticComponent<ProgressBar_v2Props>;
|
|
2315
1947
|
|
|
2316
1948
|
type LoadingProps = {
|
|
2317
1949
|
isOpen: boolean;
|
|
2318
1950
|
};
|
|
2319
|
-
declare const _default$
|
|
1951
|
+
declare const _default$H: React__default.NamedExoticComponent<LoadingProps>;
|
|
2320
1952
|
|
|
2321
1953
|
type ListItemsProps = React$1.HTMLAttributes<HTMLIonListElement> & {
|
|
2322
1954
|
withBorders?: boolean;
|
|
2323
1955
|
};
|
|
2324
|
-
declare const _default$
|
|
1956
|
+
declare const _default$G: React$1.NamedExoticComponent<ListItemsProps>;
|
|
2325
1957
|
|
|
2326
1958
|
type ItemProps = React$1.HTMLAttributes<HTMLIonItemElement> & {
|
|
2327
1959
|
leftContent?: React$1.ReactNode;
|
|
@@ -2333,7 +1965,7 @@ type ItemProps = React$1.HTMLAttributes<HTMLIonItemElement> & {
|
|
|
2333
1965
|
isError?: boolean;
|
|
2334
1966
|
status?: 'error' | 'attention';
|
|
2335
1967
|
};
|
|
2336
|
-
declare const _default$
|
|
1968
|
+
declare const _default$F: React$1.NamedExoticComponent<ItemProps>;
|
|
2337
1969
|
|
|
2338
1970
|
type VideoProps = {
|
|
2339
1971
|
src: string;
|
|
@@ -2353,7 +1985,7 @@ type VideoMethods = {
|
|
|
2353
1985
|
play(): void;
|
|
2354
1986
|
};
|
|
2355
1987
|
type VideoRef = HTMLVideoElement | VideoMethods;
|
|
2356
|
-
declare const _default$
|
|
1988
|
+
declare const _default$E: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<VideoProps & {
|
|
2357
1989
|
children?: React__default.ReactNode;
|
|
2358
1990
|
} & React__default.RefAttributes<VideoRef>>>;
|
|
2359
1991
|
|
|
@@ -2468,15 +2100,15 @@ type MatchProgressProps = {
|
|
|
2468
2100
|
className?: string;
|
|
2469
2101
|
percentMatch: number;
|
|
2470
2102
|
};
|
|
2471
|
-
declare const _default$
|
|
2103
|
+
declare const _default$D: React__default.NamedExoticComponent<React__default.PropsWithChildren<MatchProgressProps>>;
|
|
2472
2104
|
|
|
2473
2105
|
interface Props$7 {
|
|
2474
2106
|
className?: string;
|
|
2475
2107
|
title: string;
|
|
2476
2108
|
}
|
|
2477
|
-
declare const _default$
|
|
2109
|
+
declare const _default$C: React__default.NamedExoticComponent<React__default.PropsWithChildren<Props$7>>;
|
|
2478
2110
|
|
|
2479
|
-
declare const _default$
|
|
2111
|
+
declare const _default$B: React__default.NamedExoticComponent<React__default.PropsWithChildren<React__default.HTMLAttributes<HTMLButtonElement>>>;
|
|
2480
2112
|
|
|
2481
2113
|
type Props$6 = {
|
|
2482
2114
|
className?: string;
|
|
@@ -2899,696 +2531,1068 @@ interface IconProps$3 extends React$1.SVGAttributes<SVGElement> {
|
|
|
2899
2531
|
}
|
|
2900
2532
|
declare function IconText({ color, size, ...other }: IconProps$3): JSX.Element;
|
|
2901
2533
|
|
|
2902
|
-
interface IconProps$2 extends React$1.SVGAttributes<SVGElement> {
|
|
2903
|
-
size?: number | string;
|
|
2904
|
-
color?: string;
|
|
2534
|
+
interface IconProps$2 extends React$1.SVGAttributes<SVGElement> {
|
|
2535
|
+
size?: number | string;
|
|
2536
|
+
color?: string;
|
|
2537
|
+
className?: string;
|
|
2538
|
+
style?: React$1.CSSProperties;
|
|
2539
|
+
}
|
|
2540
|
+
declare function IconCheckCircle({ color, size, ...props }: IconProps$2): JSX.Element;
|
|
2541
|
+
|
|
2542
|
+
interface IconProps$1 extends React$1.SVGAttributes<SVGElement> {
|
|
2543
|
+
size?: number | string;
|
|
2544
|
+
color?: string;
|
|
2545
|
+
}
|
|
2546
|
+
declare function IconAttachMoney({ size, color, style, ...props }: IconProps$1): JSX.Element;
|
|
2547
|
+
|
|
2548
|
+
declare const IconArrowTopRight: FC<IconProps$B>;
|
|
2549
|
+
|
|
2550
|
+
declare const IconMoreVertical: FC<IconProps$B>;
|
|
2551
|
+
|
|
2552
|
+
interface IconProps extends React$1.SVGAttributes<SVGElement> {
|
|
2553
|
+
size?: number | string;
|
|
2554
|
+
color?: string;
|
|
2555
|
+
}
|
|
2556
|
+
declare const IconStylus: FC<IconProps>;
|
|
2557
|
+
|
|
2558
|
+
declare const IconDocument: FC<IconProps$B>;
|
|
2559
|
+
|
|
2560
|
+
declare const IconPersonAlert: FC<IconProps$B>;
|
|
2561
|
+
|
|
2562
|
+
declare const IconIdCard: FC<IconProps$B>;
|
|
2563
|
+
|
|
2564
|
+
declare const IconProfile: FC<IconProps$B>;
|
|
2565
|
+
|
|
2566
|
+
declare const IconReceiptLong: FC<IconProps$B>;
|
|
2567
|
+
|
|
2568
|
+
declare const IconInvoice: FC<IconProps$B>;
|
|
2569
|
+
|
|
2570
|
+
declare const IconRenew: React$1.FC<IconProps$B>;
|
|
2571
|
+
|
|
2572
|
+
declare const IconDot: React$1.FC<IconProps$B>;
|
|
2573
|
+
|
|
2574
|
+
declare const IconHeart: React$1.FC<IconProps$B>;
|
|
2575
|
+
|
|
2576
|
+
declare const IconMindly: React$1.FC<IconProps$B>;
|
|
2577
|
+
|
|
2578
|
+
declare const IconPlay: React$1.FC<IconProps$B>;
|
|
2579
|
+
|
|
2580
|
+
declare const IconStudyHat: React$1.FC<IconProps$B>;
|
|
2581
|
+
|
|
2582
|
+
declare const IconMindlyColored: React$1.FC<IconProps$B>;
|
|
2583
|
+
|
|
2584
|
+
declare const IconUser: React$1.FC<IconProps$B>;
|
|
2585
|
+
|
|
2586
|
+
declare const IconEmptyList: React$1.FC<IconProps$B>;
|
|
2587
|
+
|
|
2588
|
+
declare const IconChat: React$1.FC<IconProps$B>;
|
|
2589
|
+
|
|
2590
|
+
declare const IconMindlyMini: React$1.FC<IconProps$B>;
|
|
2591
|
+
|
|
2592
|
+
declare const IconSchedule: React$1.FC<IconProps$B>;
|
|
2593
|
+
|
|
2594
|
+
declare const IconContract: React$1.FC<IconProps$B>;
|
|
2595
|
+
|
|
2596
|
+
declare const IconReceipt: React$1.FC<IconProps$B>;
|
|
2597
|
+
|
|
2598
|
+
declare const IconCalendarWithDot: React$1.FC<IconProps$B>;
|
|
2599
|
+
|
|
2600
|
+
declare const formatByDigits: (value: number) => string;
|
|
2601
|
+
declare const roundToPrecision: (value: number, decimals?: number) => number;
|
|
2602
|
+
declare const getDateLocale: (locale: string) => Locale;
|
|
2603
|
+
declare const getGMTOffset: (timeZone: string) => string;
|
|
2604
|
+
|
|
2605
|
+
type AnyRef = React__default.Ref<any>;
|
|
2606
|
+
declare const mergeRefs: <T extends unknown>(...refs: AnyRef[]) => React__default.Ref<T>;
|
|
2607
|
+
|
|
2608
|
+
type PriceNormilizeProps = {
|
|
2609
|
+
price: number;
|
|
2610
|
+
locale?: string;
|
|
2611
|
+
currency?: SupportedCurrency;
|
|
2612
|
+
side?: 'left' | 'right';
|
|
2613
|
+
mode?: 'sign' | 'transcription' | 'sign_and_transcription';
|
|
2614
|
+
roundingTo?: number;
|
|
2615
|
+
extendedUsd?: boolean;
|
|
2616
|
+
};
|
|
2617
|
+
declare const priceNormalize: ({ price, locale, currency, side, mode, roundingTo, extendedUsd, }: PriceNormilizeProps) => string;
|
|
2618
|
+
|
|
2619
|
+
declare const newShade: (hexColor: string, magnitude: number) => string;
|
|
2620
|
+
|
|
2621
|
+
declare const replaceMarkdownWithReactElements: (text: string) => JSX.Element[];
|
|
2622
|
+
|
|
2623
|
+
type CountryOfOriginModalProps = {
|
|
2624
|
+
countries: string[];
|
|
2625
|
+
onSearchChange: (event: IonSearchbarCustomEvent$1<SearchbarChangeEventDetail>) => void;
|
|
2626
|
+
searchValue: string;
|
|
2627
|
+
searchPlaceholder?: string;
|
|
2628
|
+
onItemClick: (clickedItem: string) => void;
|
|
2629
|
+
} & JSX$1.IonModal;
|
|
2630
|
+
|
|
2631
|
+
declare const CountryOfOriginModal: React__default.FC<CountryOfOriginModalProps & WithTranslation>;
|
|
2632
|
+
|
|
2633
|
+
type LanguagesType = {
|
|
2634
|
+
name: string;
|
|
2635
|
+
code: string;
|
|
2636
|
+
};
|
|
2637
|
+
type ChangeLanguageModalProps = JSX$1.IonModal & {
|
|
2638
|
+
onModalClose: () => void;
|
|
2639
|
+
title: string;
|
|
2640
|
+
selected: string;
|
|
2641
|
+
isOpen: boolean;
|
|
2642
|
+
onSelect: (l: string) => void;
|
|
2643
|
+
languages: LanguagesType[];
|
|
2644
|
+
};
|
|
2645
|
+
|
|
2646
|
+
declare function ChangeLanguageModal({ title, onModalClose, onSelect, selected, languages, ...props }: ChangeLanguageModalProps): JSX.Element;
|
|
2647
|
+
|
|
2648
|
+
type CardModalProps = {
|
|
2649
|
+
isOpen: boolean;
|
|
2650
|
+
title?: string;
|
|
2651
|
+
subtitle?: string;
|
|
2652
|
+
leftContent?: React__default.ReactNode;
|
|
2653
|
+
presentingElement?: HTMLElement;
|
|
2654
|
+
onDidDismiss?: () => void;
|
|
2655
|
+
backButton?: boolean;
|
|
2656
|
+
canDismiss?: boolean;
|
|
2657
|
+
isShowHandle?: boolean;
|
|
2658
|
+
isShowCloseButton?: boolean;
|
|
2659
|
+
renderHeader?: (props: {
|
|
2660
|
+
backButton?: boolean;
|
|
2661
|
+
onClose: () => void;
|
|
2662
|
+
}) => React__default.ReactNode;
|
|
2663
|
+
mode?: HTMLIonModalElement['mode'];
|
|
2664
|
+
onDidPresent?: () => void;
|
|
2665
|
+
};
|
|
2666
|
+
declare const CardModal: React__default.ForwardRefExoticComponent<CardModalProps & {
|
|
2667
|
+
children?: React__default.ReactNode;
|
|
2668
|
+
} & React__default.RefAttributes<HTMLIonModalElement>>;
|
|
2669
|
+
|
|
2670
|
+
type SlotsGridProps = {
|
|
2671
|
+
times: string[];
|
|
2672
|
+
selectedKeys: Set<string>;
|
|
2673
|
+
onSelectionChange: (time: string) => void;
|
|
2674
|
+
classNameList?: string;
|
|
2675
|
+
classNameSlot?: string;
|
|
2676
|
+
isDisabled?: boolean;
|
|
2677
|
+
};
|
|
2678
|
+
type SlotsGridItemProps = {
|
|
2679
|
+
isSelected: boolean;
|
|
2680
|
+
isDisabled: boolean;
|
|
2681
|
+
time: string;
|
|
2905
2682
|
className?: string;
|
|
2906
|
-
|
|
2907
|
-
}
|
|
2908
|
-
declare function IconCheckCircle({ color, size, ...props }: IconProps$2): JSX.Element;
|
|
2909
|
-
|
|
2910
|
-
interface IconProps$1 extends React$1.SVGAttributes<SVGElement> {
|
|
2911
|
-
size?: number | string;
|
|
2912
|
-
color?: string;
|
|
2913
|
-
}
|
|
2914
|
-
declare function IconAttachMoney({ size, color, style, ...props }: IconProps$1): JSX.Element;
|
|
2683
|
+
onSelectionChange: () => void;
|
|
2684
|
+
};
|
|
2915
2685
|
|
|
2916
|
-
declare const
|
|
2686
|
+
declare const _default$A: React__default.NamedExoticComponent<SlotsGridProps>;
|
|
2917
2687
|
|
|
2918
|
-
declare const
|
|
2688
|
+
declare const _default$z: React$1.NamedExoticComponent<SlotsGridItemProps>;
|
|
2919
2689
|
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2690
|
+
type PushNotificationsModalProps = {
|
|
2691
|
+
onApplyPermission: () => void;
|
|
2692
|
+
title: string;
|
|
2693
|
+
description: string;
|
|
2694
|
+
image: string;
|
|
2695
|
+
applyPermissionText: string;
|
|
2696
|
+
isOpen: boolean;
|
|
2697
|
+
presentingElement?: HTMLElement;
|
|
2698
|
+
onDidDismiss?: () => void;
|
|
2699
|
+
backButton?: boolean;
|
|
2700
|
+
canDismiss?: boolean;
|
|
2701
|
+
renderHeader?: (props: {
|
|
2702
|
+
backButton?: boolean;
|
|
2703
|
+
onClose: () => void;
|
|
2704
|
+
}) => React$1.ReactNode;
|
|
2705
|
+
};
|
|
2925
2706
|
|
|
2926
|
-
declare
|
|
2707
|
+
declare function PushNotificationsModal({ onApplyPermission, isOpen, title, description, image, applyPermissionText, ...props }: PushNotificationsModalProps): JSX.Element;
|
|
2927
2708
|
|
|
2928
|
-
|
|
2709
|
+
type PushNotificationsIsDisabledBannerProps = {
|
|
2710
|
+
onOpenNativeSettings: () => void;
|
|
2711
|
+
className?: string;
|
|
2712
|
+
title: string;
|
|
2713
|
+
description: string;
|
|
2714
|
+
buttonText: string;
|
|
2715
|
+
};
|
|
2929
2716
|
|
|
2930
|
-
declare
|
|
2717
|
+
declare function PushNotificationsIsDisabledBanner({ onOpenNativeSettings, className, title, description, buttonText, }: PushNotificationsIsDisabledBannerProps): JSX.Element;
|
|
2931
2718
|
|
|
2932
|
-
|
|
2719
|
+
type SpecialistShortInfoItemFeatureProps = {
|
|
2720
|
+
t?: WithTranslation['t'];
|
|
2721
|
+
match?: number;
|
|
2722
|
+
matchVariant?: 'badge' | 'avatar';
|
|
2723
|
+
fullName: string;
|
|
2724
|
+
avatarLink: string;
|
|
2725
|
+
countryCode?: string;
|
|
2726
|
+
yearsOfExperience?: number;
|
|
2727
|
+
className?: string;
|
|
2728
|
+
avatarProps?: AvatarProps;
|
|
2729
|
+
reviews?: number;
|
|
2730
|
+
rating?: number;
|
|
2731
|
+
isSpecialistUnAvailable?: boolean;
|
|
2732
|
+
isAuth?: boolean;
|
|
2733
|
+
variantFullName?: TypographyVariantsEnum;
|
|
2734
|
+
isFavourite?: boolean;
|
|
2735
|
+
video_link?: string;
|
|
2736
|
+
onClickReview?(): void;
|
|
2737
|
+
onToggleFavourite?(): void;
|
|
2738
|
+
};
|
|
2739
|
+
declare const SpecialistShortInfoItemFeature: FC<SpecialistShortInfoItemFeatureProps>;
|
|
2933
2740
|
|
|
2934
|
-
|
|
2741
|
+
type SpecialistInfoColumnFeatureProps = {
|
|
2742
|
+
t?: WithTranslation['t'];
|
|
2743
|
+
rating?: number;
|
|
2744
|
+
reviews?: number;
|
|
2745
|
+
yearsOfExperience?: number;
|
|
2746
|
+
hoursOfPractice?: number;
|
|
2747
|
+
sessionPrice: number;
|
|
2748
|
+
sessionDurationMinutes: number;
|
|
2749
|
+
currentPriceType: SupportedCurrency;
|
|
2750
|
+
className?: string;
|
|
2751
|
+
};
|
|
2752
|
+
declare const SpecialistInfoColumnFeature: FC<SpecialistInfoColumnFeatureProps>;
|
|
2935
2753
|
|
|
2936
|
-
|
|
2754
|
+
type CountdownTimerFeatureProps = {
|
|
2755
|
+
minutes: number;
|
|
2756
|
+
seconds: number;
|
|
2757
|
+
onCompleted?: () => void;
|
|
2758
|
+
t?: WithTranslation['t'];
|
|
2759
|
+
};
|
|
2760
|
+
declare const CountdownTimerFeature: FC<CountdownTimerFeatureProps>;
|
|
2937
2761
|
|
|
2938
|
-
|
|
2762
|
+
type Props$4 = {
|
|
2763
|
+
sections: {
|
|
2764
|
+
name: string;
|
|
2765
|
+
items: {
|
|
2766
|
+
id: string;
|
|
2767
|
+
label: string;
|
|
2768
|
+
value?: string;
|
|
2769
|
+
}[];
|
|
2770
|
+
}[];
|
|
2771
|
+
defaultChecked?: string[];
|
|
2772
|
+
name: string;
|
|
2773
|
+
onChange(values: string[]): void;
|
|
2774
|
+
};
|
|
2775
|
+
declare const CheckBoxSectionListFeature: ({ sections, name, defaultChecked, onChange, }: Props$4) => JSX.Element;
|
|
2939
2776
|
|
|
2940
|
-
|
|
2777
|
+
type Props$3 = {
|
|
2778
|
+
items: {
|
|
2779
|
+
id: string;
|
|
2780
|
+
label: string;
|
|
2781
|
+
value?: string;
|
|
2782
|
+
}[];
|
|
2783
|
+
type: SelectItemType;
|
|
2784
|
+
values: string[];
|
|
2785
|
+
name: string;
|
|
2786
|
+
onChange(values: string[]): void;
|
|
2787
|
+
};
|
|
2788
|
+
declare const CheckBoxListFeature: ({ items, name, type, onChange, values, }: Props$3) => JSX.Element;
|
|
2941
2789
|
|
|
2942
|
-
|
|
2790
|
+
type ShareModalFeatureProps = {
|
|
2791
|
+
isOpen: boolean;
|
|
2792
|
+
shareUrl: string;
|
|
2793
|
+
shareTitle?: string;
|
|
2794
|
+
shareText?: string;
|
|
2795
|
+
onDidDismiss?: () => void;
|
|
2796
|
+
onLinkCopied?: () => void;
|
|
2797
|
+
onShare?: () => void;
|
|
2798
|
+
t?: WithTranslation['t'];
|
|
2799
|
+
};
|
|
2800
|
+
declare const ShareModalFeature: FC<ShareModalFeatureProps>;
|
|
2943
2801
|
|
|
2944
|
-
declare const
|
|
2802
|
+
declare const _default$y: React__default.NamedExoticComponent<SpecialistPaymentConsultationDetailsType & TranslationType>;
|
|
2945
2803
|
|
|
2946
|
-
declare const
|
|
2804
|
+
declare const _default$x: React__default.NamedExoticComponent<SpecialistPaymentCardProps & TranslationType>;
|
|
2947
2805
|
|
|
2948
|
-
|
|
2806
|
+
type SpecialistPaymentCommonCardSkeletonType = {
|
|
2807
|
+
className?: string;
|
|
2808
|
+
};
|
|
2809
|
+
declare const SpecialistPaymentCommonCardSkeleton: (props: SpecialistPaymentCommonCardSkeletonType) => JSX.Element;
|
|
2949
2810
|
|
|
2950
|
-
declare const
|
|
2811
|
+
declare const _default$w: React__default.NamedExoticComponent<SpecialistPaymentConsultationsProps & TranslationType>;
|
|
2951
2812
|
|
|
2952
|
-
|
|
2813
|
+
type ConsultationsListProps = {
|
|
2814
|
+
consultations: SpecialistConsultation[];
|
|
2815
|
+
locale?: string;
|
|
2816
|
+
consultationClick?: (consultation: SpecialistConsultation) => void;
|
|
2817
|
+
};
|
|
2818
|
+
declare const _default$v: React__default.NamedExoticComponent<ConsultationsListProps>;
|
|
2953
2819
|
|
|
2954
|
-
|
|
2820
|
+
type ConsultationsListSkeletonType = {
|
|
2821
|
+
className?: string;
|
|
2822
|
+
};
|
|
2823
|
+
declare const ConsultationsListSkeleton: FC<ConsultationsListSkeletonType>;
|
|
2955
2824
|
|
|
2956
|
-
|
|
2825
|
+
type CalendarPickerFeatureProps = {
|
|
2826
|
+
date: Date;
|
|
2827
|
+
locale?: string;
|
|
2828
|
+
mode: 'button' | 'auto' | undefined;
|
|
2829
|
+
opened?: boolean;
|
|
2830
|
+
dateCallback: (date: Date) => void;
|
|
2831
|
+
lastDate: Date;
|
|
2832
|
+
};
|
|
2833
|
+
declare const _default$u: React__default.NamedExoticComponent<CalendarPickerFeatureProps & TranslationType>;
|
|
2957
2834
|
|
|
2958
|
-
declare const
|
|
2835
|
+
declare const _default$t: React__default.NamedExoticComponent<PaymentCalendarFeatureProps & TranslationType>;
|
|
2959
2836
|
|
|
2960
|
-
|
|
2837
|
+
type GoogleCalendarModalFeatureProps = {
|
|
2838
|
+
isOpen: boolean;
|
|
2839
|
+
status: 'active' | 'inactive' | 'access_denied';
|
|
2840
|
+
presentingElement?: HTMLElement | undefined;
|
|
2841
|
+
onSync: () => Promise<void>;
|
|
2842
|
+
onDidDismiss: () => void;
|
|
2843
|
+
isLoading: boolean;
|
|
2844
|
+
imageUrl: string;
|
|
2845
|
+
t: WithTranslation['t'];
|
|
2846
|
+
};
|
|
2847
|
+
declare function GoogleCalendarModalFeature({ status, isOpen, onSync, isLoading, presentingElement, imageUrl, onDidDismiss, t, }: GoogleCalendarModalFeatureProps): JSX.Element;
|
|
2961
2848
|
|
|
2962
|
-
|
|
2849
|
+
type ReviewCardFeatureVariantType = 'default' | 'outlined' | 'full';
|
|
2850
|
+
declare const _default$s: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
2851
|
+
avatarSrc?: string | undefined;
|
|
2852
|
+
name: string;
|
|
2853
|
+
date: number;
|
|
2854
|
+
rating: number;
|
|
2855
|
+
review: string;
|
|
2856
|
+
size?: "small" | "default" | "large" | undefined;
|
|
2857
|
+
variant?: ReviewCardFeatureVariantType | undefined;
|
|
2858
|
+
reviewTextClamp?: number | undefined;
|
|
2859
|
+
onExpandReview?(): void;
|
|
2860
|
+
className?: string | undefined;
|
|
2861
|
+
} & TranslationType & React__default.RefAttributes<HTMLDivElement>>>;
|
|
2963
2862
|
|
|
2964
|
-
declare const
|
|
2863
|
+
declare const ReviewsCardFeatureSkeleton: React__default.MemoExoticComponent<() => JSX.Element>;
|
|
2965
2864
|
|
|
2966
|
-
|
|
2865
|
+
type AppNotSupportedProps = {
|
|
2866
|
+
isOpen: boolean;
|
|
2867
|
+
showMessenger: () => void;
|
|
2868
|
+
} & TranslationType;
|
|
2869
|
+
declare function AppNotSupportedFeature({ isOpen, showMessenger, t, children }: PropsWithChildren<AppNotSupportedProps>): JSX.Element;
|
|
2967
2870
|
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2871
|
+
type ScreenInputUpdateFeatureProps = {
|
|
2872
|
+
children?: any;
|
|
2873
|
+
title: string;
|
|
2874
|
+
warnLabel?: string;
|
|
2875
|
+
btnLabel: string;
|
|
2876
|
+
defaultValue?: string;
|
|
2877
|
+
name: string;
|
|
2878
|
+
type: 'email' | 'text' | 'password';
|
|
2879
|
+
placeholder: string;
|
|
2880
|
+
autocomplete: string;
|
|
2881
|
+
handleSubmit: (value: string) => void;
|
|
2882
|
+
isLoading: boolean;
|
|
2883
|
+
isDisabled: boolean;
|
|
2884
|
+
isKeyboardShown: boolean;
|
|
2885
|
+
};
|
|
2886
|
+
/**
|
|
2887
|
+
* @deprecated Use `ScreenInputFormFeature`
|
|
2888
|
+
* */
|
|
2889
|
+
declare const ScreenInputUpdateFeature: FC<ScreenInputUpdateFeatureProps>;
|
|
2972
2890
|
|
|
2973
|
-
type
|
|
2974
|
-
|
|
2891
|
+
type ErrorCardFeatureProps = {
|
|
2892
|
+
title?: string;
|
|
2893
|
+
description?: string;
|
|
2894
|
+
errorTitle?: string;
|
|
2895
|
+
stackTrace?: string;
|
|
2896
|
+
};
|
|
2897
|
+
declare const ErrorCardFeature: FC<ErrorCardFeatureProps>;
|
|
2975
2898
|
|
|
2976
|
-
type
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
side?: 'left' | 'right';
|
|
2981
|
-
mode?: 'sign' | 'transcription';
|
|
2982
|
-
roundingTo?: number;
|
|
2899
|
+
type TreeNode = {
|
|
2900
|
+
title: string;
|
|
2901
|
+
type: string;
|
|
2902
|
+
children?: TreeNode[];
|
|
2983
2903
|
};
|
|
2984
|
-
|
|
2904
|
+
interface ContentRendererProps {
|
|
2905
|
+
node: TreeNode;
|
|
2906
|
+
level: number;
|
|
2907
|
+
}
|
|
2985
2908
|
|
|
2986
|
-
|
|
2909
|
+
interface ContentTreeProps {
|
|
2910
|
+
data: TreeNode[];
|
|
2911
|
+
className?: string;
|
|
2912
|
+
}
|
|
2913
|
+
declare const ContentTree: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<ContentTreeProps & React__default.RefAttributes<HTMLDivElement>>>;
|
|
2987
2914
|
|
|
2988
|
-
|
|
2915
|
+
type OutdatedPersonalDataFeatureProps = {
|
|
2916
|
+
isOpen: boolean;
|
|
2917
|
+
presentingElement?: HTMLElement;
|
|
2918
|
+
title: string;
|
|
2919
|
+
subtitle: string;
|
|
2920
|
+
applyText?: string;
|
|
2921
|
+
onApply: () => void;
|
|
2922
|
+
onDismiss: () => void;
|
|
2923
|
+
};
|
|
2989
2924
|
|
|
2990
|
-
|
|
2991
|
-
countries: string[];
|
|
2992
|
-
onSearchChange: (event: IonSearchbarCustomEvent$1<SearchbarChangeEventDetail>) => void;
|
|
2993
|
-
searchValue: string;
|
|
2994
|
-
searchPlaceholder?: string;
|
|
2995
|
-
onItemClick: (clickedItem: string) => void;
|
|
2996
|
-
} & JSX$1.IonModal;
|
|
2925
|
+
declare function OutdatedPersonalDataFeature({ isOpen, presentingElement, onApply, onDismiss, subtitle, title, applyText, }: OutdatedPersonalDataFeatureProps): JSX.Element;
|
|
2997
2926
|
|
|
2998
|
-
|
|
2927
|
+
type ScreenInputFormFeatureProps = {
|
|
2928
|
+
type?: 'text' | 'email' | 'number';
|
|
2929
|
+
title?: string;
|
|
2930
|
+
subtitle?: string;
|
|
2931
|
+
subtitleLink?: string;
|
|
2932
|
+
onSubtitleLinkClick?: () => void;
|
|
2933
|
+
placeholder?: string;
|
|
2934
|
+
buttonText?: string;
|
|
2935
|
+
defaultValue?: string;
|
|
2936
|
+
onSubmit?: (value: string, name: string) => void;
|
|
2937
|
+
name?: string;
|
|
2938
|
+
isLoading?: boolean;
|
|
2939
|
+
resetButtonText?: string;
|
|
2940
|
+
resetValue?: string;
|
|
2941
|
+
autoComplete?: string;
|
|
2942
|
+
required?: boolean;
|
|
2943
|
+
isFocus?: boolean;
|
|
2944
|
+
pattern?: string;
|
|
2945
|
+
isAutoGrow?: boolean;
|
|
2946
|
+
icon?: ReactNode | string;
|
|
2947
|
+
isKeyboardShown?: boolean;
|
|
2948
|
+
};
|
|
2949
|
+
declare const _default$r: React__default.NamedExoticComponent<ScreenInputFormFeatureProps>;
|
|
2999
2950
|
|
|
3000
|
-
type
|
|
3001
|
-
|
|
3002
|
-
|
|
2951
|
+
type SelectionType = {
|
|
2952
|
+
value: any;
|
|
2953
|
+
label: string;
|
|
3003
2954
|
};
|
|
3004
|
-
type
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
2955
|
+
type SpecialistDrumPickerWidgetProps = {
|
|
2956
|
+
title?: string;
|
|
2957
|
+
subtitle?: string;
|
|
2958
|
+
buttonText?: string;
|
|
2959
|
+
selections: Record<string, SelectionType[]>;
|
|
2960
|
+
defaults?: Record<string, string>;
|
|
2961
|
+
onChange(value: Record<string, string>): void;
|
|
2962
|
+
compareBy?: 'value' | 'label';
|
|
2963
|
+
isLoading?: boolean;
|
|
2964
|
+
onTouchStart?: () => void;
|
|
2965
|
+
onTouchEnd?: () => void;
|
|
3011
2966
|
};
|
|
2967
|
+
declare const _default$q: React__default.NamedExoticComponent<SpecialistDrumPickerWidgetProps>;
|
|
3012
2968
|
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
type CardModalProps = {
|
|
3016
|
-
isOpen: boolean;
|
|
2969
|
+
type TextAreaFormFeatureProps = {
|
|
3017
2970
|
title?: string;
|
|
3018
2971
|
subtitle?: string;
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
}) => React__default.ReactNode;
|
|
3030
|
-
mode?: HTMLIonModalElement['mode'];
|
|
3031
|
-
onDidPresent?: () => void;
|
|
2972
|
+
placeholder?: string;
|
|
2973
|
+
buttonText?: string;
|
|
2974
|
+
defaultValue?: string;
|
|
2975
|
+
onSubmit?: (value: string, name: string) => void;
|
|
2976
|
+
name?: string;
|
|
2977
|
+
isLoading?: boolean;
|
|
2978
|
+
isFocus?: boolean;
|
|
2979
|
+
isKeyboardShown?: boolean;
|
|
2980
|
+
maxlength?: number;
|
|
2981
|
+
HeaderComponent?: FC;
|
|
3032
2982
|
};
|
|
3033
|
-
declare const
|
|
3034
|
-
children?: React__default.ReactNode;
|
|
3035
|
-
} & React__default.RefAttributes<HTMLIonModalElement>>;
|
|
2983
|
+
declare const _default$p: React__default.NamedExoticComponent<TextAreaFormFeatureProps>;
|
|
3036
2984
|
|
|
3037
|
-
type
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
classNameSlot?: string;
|
|
3043
|
-
isDisabled?: boolean;
|
|
2985
|
+
type AcceptAgreementFeatureProps = {
|
|
2986
|
+
isAccepted: boolean;
|
|
2987
|
+
setIsAccepted: (isAccepted: boolean) => void;
|
|
2988
|
+
handlePressLink: () => void;
|
|
2989
|
+
translations: string[];
|
|
3044
2990
|
};
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
2991
|
+
declare function AcceptAgreementFeature({ isAccepted, setIsAccepted, handlePressLink, translations }: AcceptAgreementFeatureProps): JSX.Element;
|
|
2992
|
+
|
|
2993
|
+
type SelectWithSearchFormFeatureProps = {
|
|
2994
|
+
title?: string;
|
|
2995
|
+
subTitle?: string;
|
|
2996
|
+
items: string[];
|
|
2997
|
+
defaultItems: string[];
|
|
2998
|
+
selectedItems?: Selection;
|
|
2999
|
+
onChange?: (value: string) => void;
|
|
3000
|
+
isLoading?: boolean;
|
|
3001
|
+
otherText?: string;
|
|
3002
|
+
buttonLabel?: string;
|
|
3003
|
+
} & WithTranslation;
|
|
3004
|
+
declare const _default$o: React__default.NamedExoticComponent<SelectWithSearchFormFeatureProps>;
|
|
3005
|
+
|
|
3006
|
+
type MarkdownContainerFeatureProps = {
|
|
3007
|
+
children?: string | null;
|
|
3008
|
+
options?: MarkdownToJSX.Options;
|
|
3049
3009
|
className?: string;
|
|
3050
|
-
onSelectionChange: () => void;
|
|
3051
3010
|
};
|
|
3011
|
+
declare const _default$n: React__default.NamedExoticComponent<MarkdownContainerFeatureProps>;
|
|
3052
3012
|
|
|
3053
|
-
declare const _default$
|
|
3013
|
+
declare const _default$m: React__default.NamedExoticComponent<OnBoardingStartScreenType>;
|
|
3054
3014
|
|
|
3055
|
-
declare const _default$
|
|
3015
|
+
declare const _default$l: React__default.NamedExoticComponent<OnBoardingInfoScreenType>;
|
|
3056
3016
|
|
|
3057
|
-
type
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
applyPermissionText: string;
|
|
3063
|
-
isOpen: boolean;
|
|
3064
|
-
presentingElement?: HTMLElement;
|
|
3065
|
-
onDidDismiss?: () => void;
|
|
3066
|
-
backButton?: boolean;
|
|
3067
|
-
canDismiss?: boolean;
|
|
3068
|
-
renderHeader?: (props: {
|
|
3069
|
-
backButton?: boolean;
|
|
3070
|
-
onClose: () => void;
|
|
3071
|
-
}) => React$1.ReactNode;
|
|
3072
|
-
};
|
|
3017
|
+
type OnBoardingMultiSelectionScreenPreviewFeatureProps = {
|
|
3018
|
+
onChange?: (value: string[]) => void;
|
|
3019
|
+
defaultValues?: string[];
|
|
3020
|
+
} & OnBoardingMultiSelectScreenType;
|
|
3021
|
+
declare const _default$k: React__default.NamedExoticComponent<OnBoardingMultiSelectionScreenPreviewFeatureProps>;
|
|
3073
3022
|
|
|
3074
|
-
|
|
3023
|
+
type OnBoardingSingleSelectionScreenPreviewFeatureProps = {
|
|
3024
|
+
onChange?: (value: string) => void;
|
|
3025
|
+
defaultValues?: string[];
|
|
3026
|
+
} & OnBoardingSingleSelectScreenType;
|
|
3027
|
+
declare const _default$j: React__default.NamedExoticComponent<OnBoardingSingleSelectionScreenPreviewFeatureProps>;
|
|
3075
3028
|
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3029
|
+
declare const _default$i: React__default.NamedExoticComponent<OnBoardingLoaderScreenType>;
|
|
3030
|
+
|
|
3031
|
+
type OnBoardingProgressFeatureProps = {
|
|
3032
|
+
progress: number;
|
|
3033
|
+
isPreview?: boolean;
|
|
3034
|
+
isBackButtonDisabled?: boolean;
|
|
3035
|
+
onBackButtonClick?: () => void;
|
|
3036
|
+
contentStyle?: OnBoardingScreenStyleOptions;
|
|
3082
3037
|
};
|
|
3038
|
+
declare const _default$h: React__default.NamedExoticComponent<OnBoardingProgressFeatureProps>;
|
|
3083
3039
|
|
|
3084
|
-
declare
|
|
3040
|
+
declare const _default$g: React__default.NamedExoticComponent<OnBoardingReviewsScreenType>;
|
|
3085
3041
|
|
|
3086
|
-
type
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
matchVariant?: 'badge' | 'avatar';
|
|
3090
|
-
fullName: string;
|
|
3091
|
-
avatarLink: string;
|
|
3092
|
-
countryCode?: string;
|
|
3093
|
-
yearsOfExperience?: number;
|
|
3094
|
-
className?: string;
|
|
3095
|
-
avatarProps?: AvatarProps;
|
|
3096
|
-
reviews?: number;
|
|
3097
|
-
rating?: number;
|
|
3098
|
-
isSpecialistUnAvailable?: boolean;
|
|
3099
|
-
isAuth?: boolean;
|
|
3100
|
-
variantFullName?: TypographyVariantsEnum;
|
|
3101
|
-
isFavourite?: boolean;
|
|
3102
|
-
video_link?: string;
|
|
3103
|
-
onClickReview?(): void;
|
|
3104
|
-
onToggleFavourite?(): void;
|
|
3042
|
+
type SpecialistAreaByMatch = {
|
|
3043
|
+
text: string;
|
|
3044
|
+
hasMatch: boolean;
|
|
3105
3045
|
};
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
t?: WithTranslation['t'];
|
|
3110
|
-
rating?: number;
|
|
3111
|
-
reviews?: number;
|
|
3112
|
-
yearsOfExperience?: number;
|
|
3113
|
-
hoursOfPractice?: number;
|
|
3114
|
-
sessionPrice: number;
|
|
3115
|
-
sessionDurationMinutes: number;
|
|
3116
|
-
currentPriceType: SupportedCurrency;
|
|
3046
|
+
type SpecialistAreaListProps = {
|
|
3047
|
+
list: SpecialistAreaByMatch[];
|
|
3048
|
+
title?: React.ReactNode;
|
|
3117
3049
|
className?: string;
|
|
3050
|
+
classNameTitle?: string;
|
|
3051
|
+
textVariant?: TypographyVariantsEnum;
|
|
3052
|
+
limit?: number;
|
|
3053
|
+
t?: WithTranslation['t'];
|
|
3054
|
+
fillTextWithMatch?: boolean;
|
|
3055
|
+
presentingElement?: HTMLElement;
|
|
3118
3056
|
};
|
|
3119
|
-
declare const SpecialistInfoColumnFeature: FC<SpecialistInfoColumnFeatureProps>;
|
|
3120
3057
|
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3058
|
+
declare const SpecialistAreaList: FC<SpecialistAreaListProps>;
|
|
3059
|
+
|
|
3060
|
+
interface Props$2 extends Omit<TypographyProps, 'children'> {
|
|
3061
|
+
className?: string;
|
|
3062
|
+
text: string;
|
|
3063
|
+
title?: string;
|
|
3064
|
+
countLines?: number;
|
|
3065
|
+
expandType?: 'inline' | 'modal';
|
|
3066
|
+
classNameTitle?: string;
|
|
3067
|
+
onExpand?(): void;
|
|
3125
3068
|
t?: WithTranslation['t'];
|
|
3126
|
-
|
|
3127
|
-
|
|
3069
|
+
presentingElement?: HTMLElement;
|
|
3070
|
+
}
|
|
3128
3071
|
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
onChange(values: string[]): void;
|
|
3072
|
+
declare const _default$f: React__default.NamedExoticComponent<Props$2>;
|
|
3073
|
+
|
|
3074
|
+
type Props$1 = {
|
|
3075
|
+
className?: string;
|
|
3076
|
+
list?: SpecialistReview[];
|
|
3077
|
+
rating: number;
|
|
3078
|
+
reviews: number;
|
|
3079
|
+
limit: number;
|
|
3080
|
+
t?: WithTranslation['t'];
|
|
3081
|
+
onLoadMore?(): void;
|
|
3082
|
+
presentingElement?: HTMLElement;
|
|
3141
3083
|
};
|
|
3142
|
-
|
|
3084
|
+
interface ReviewListFeatureRef {
|
|
3085
|
+
openModalReviews: () => void;
|
|
3086
|
+
}
|
|
3087
|
+
declare const ReviewListFeature: React__default.ForwardRefExoticComponent<Props$1 & React__default.RefAttributes<ReviewListFeatureRef>>;
|
|
3143
3088
|
|
|
3144
|
-
type Props
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
values: string[];
|
|
3152
|
-
name: string;
|
|
3153
|
-
onChange(values: string[]): void;
|
|
3089
|
+
type Props = {
|
|
3090
|
+
list: SpecialistEducation[];
|
|
3091
|
+
limit?: number;
|
|
3092
|
+
className?: string;
|
|
3093
|
+
classNameTitle?: string;
|
|
3094
|
+
t?: WithTranslation['t'];
|
|
3095
|
+
presentingElement?: HTMLElement;
|
|
3154
3096
|
};
|
|
3155
|
-
declare const
|
|
3097
|
+
declare const SpecialistEducationsFeature: FC<Props>;
|
|
3156
3098
|
|
|
3157
|
-
type
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
onLinkCopied?: () => void;
|
|
3164
|
-
onShare?: () => void;
|
|
3099
|
+
type SpecialistPreviewFeatureProps = {
|
|
3100
|
+
specialist?: Specialist;
|
|
3101
|
+
className?: string;
|
|
3102
|
+
isLoading?: boolean;
|
|
3103
|
+
onClick?(specialist: Specialist): void;
|
|
3104
|
+
onToggleFavourite?(specialist: Specialist): void;
|
|
3165
3105
|
t?: WithTranslation['t'];
|
|
3166
3106
|
};
|
|
3167
|
-
declare const ShareModalFeature: FC<ShareModalFeatureProps>;
|
|
3168
3107
|
|
|
3169
|
-
declare const
|
|
3170
|
-
|
|
3171
|
-
declare const _default$m: React__default.NamedExoticComponent<SpecialistPaymentCardProps & TranslationType>;
|
|
3108
|
+
declare const SpecialistPreviewFeature: React__default.FC<SpecialistPreviewFeatureProps>;
|
|
3172
3109
|
|
|
3173
|
-
type
|
|
3110
|
+
type AppHeaderPageProps = {
|
|
3111
|
+
isLoading?: boolean;
|
|
3174
3112
|
className?: string;
|
|
3113
|
+
onClose?(): void;
|
|
3175
3114
|
};
|
|
3176
|
-
declare const SpecialistPaymentCommonCardSkeleton: (props: SpecialistPaymentCommonCardSkeletonType) => JSX.Element;
|
|
3177
3115
|
|
|
3178
|
-
declare const
|
|
3116
|
+
declare const AppHeaderPage: React__default.FC<AppHeaderPageProps>;
|
|
3179
3117
|
|
|
3180
|
-
type
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3118
|
+
type TabsToolbarItem = {
|
|
3119
|
+
label: string;
|
|
3120
|
+
icon: string | React.JSX.Element;
|
|
3121
|
+
iconSelected?: string | React.JSX.Element;
|
|
3122
|
+
href: string;
|
|
3123
|
+
selected?: boolean;
|
|
3184
3124
|
};
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
type ConsultationsListSkeletonType = {
|
|
3125
|
+
type TabsToolbarProps = {
|
|
3188
3126
|
className?: string;
|
|
3127
|
+
classNameIonTabs?: string;
|
|
3128
|
+
user?: UserType | Specialist;
|
|
3129
|
+
slot?: 'bottom' | 'top';
|
|
3130
|
+
items: TabsToolbarItem[];
|
|
3131
|
+
selectedTab: string;
|
|
3132
|
+
onTabChange?(tab: string): void;
|
|
3189
3133
|
};
|
|
3190
|
-
declare const ConsultationsListSkeleton: FC<ConsultationsListSkeletonType>;
|
|
3191
3134
|
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3135
|
+
declare const TabsToolbarFeature: React__default.FC<TabsToolbarProps>;
|
|
3136
|
+
|
|
3137
|
+
type SessionPreviewFeatureProps = {
|
|
3138
|
+
session?: Session;
|
|
3139
|
+
viewPerson?: 'client' | 'specialist';
|
|
3140
|
+
t?: WithTranslation['t'];
|
|
3141
|
+
isLoading?: boolean;
|
|
3142
|
+
onSessionClick?(session: Session): void;
|
|
3143
|
+
onSessionStart?(session: Session): void;
|
|
3199
3144
|
};
|
|
3200
|
-
declare const _default$j: React__default.NamedExoticComponent<CalendarPickerFeatureProps & TranslationType>;
|
|
3201
3145
|
|
|
3202
|
-
declare const
|
|
3146
|
+
declare const SessionPreviewFeature: React__default.FC<SessionPreviewFeatureProps>;
|
|
3203
3147
|
|
|
3204
|
-
type
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3148
|
+
type EmptyChatModalFeatureProps = {
|
|
3149
|
+
buttonTitle?: string;
|
|
3150
|
+
onButtonClick?: () => void;
|
|
3151
|
+
} & CardModalProps;
|
|
3152
|
+
declare const EmptyChatModalFeature: FC<EmptyChatModalFeatureProps>;
|
|
3153
|
+
|
|
3154
|
+
type FirstChatMessageModalFeatureProps = {
|
|
3155
|
+
avatarUrl?: string;
|
|
3156
|
+
title?: string;
|
|
3157
|
+
modalProps: CardModalProps;
|
|
3158
|
+
inputProps?: TextAreaFormFeatureProps;
|
|
3213
3159
|
};
|
|
3214
|
-
declare
|
|
3160
|
+
declare const FirstChatMessageModalFeature: FC<FirstChatMessageModalFeatureProps>;
|
|
3215
3161
|
|
|
3216
|
-
type
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
review: string;
|
|
3223
|
-
size?: "small" | "default" | "large" | undefined;
|
|
3224
|
-
variant?: ReviewCardFeatureVariantType | undefined;
|
|
3225
|
-
reviewTextClamp?: number | undefined;
|
|
3226
|
-
onExpandReview?(): void;
|
|
3227
|
-
className?: string | undefined;
|
|
3228
|
-
} & TranslationType & React__default.RefAttributes<HTMLDivElement>>>;
|
|
3162
|
+
type ContractDataFeatureProps = {
|
|
3163
|
+
specialist?: Specialist;
|
|
3164
|
+
onOpenContract?(): void;
|
|
3165
|
+
t?: WithTranslation['t'];
|
|
3166
|
+
className?: string;
|
|
3167
|
+
};
|
|
3229
3168
|
|
|
3230
|
-
declare const
|
|
3169
|
+
declare const ContractDataFeature: React__default.FC<ContractDataFeatureProps>;
|
|
3231
3170
|
|
|
3232
|
-
type
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3171
|
+
type MenuItem = {
|
|
3172
|
+
Icon?: FC<SVGProps<SVGSVGElement>>;
|
|
3173
|
+
label: string;
|
|
3174
|
+
withArrow?: boolean;
|
|
3175
|
+
disabled?: boolean;
|
|
3176
|
+
onClick?: () => void;
|
|
3177
|
+
};
|
|
3178
|
+
type MenuFeatureProps = {
|
|
3179
|
+
items: MenuItem[];
|
|
3180
|
+
className?: string;
|
|
3181
|
+
isLoading?: boolean;
|
|
3182
|
+
};
|
|
3237
3183
|
|
|
3238
|
-
|
|
3239
|
-
|
|
3184
|
+
declare const MenuFeature: React__default.FC<MenuFeatureProps>;
|
|
3185
|
+
|
|
3186
|
+
type SupportedCountryLocale = string;
|
|
3187
|
+
type Tabs = {
|
|
3188
|
+
behavior: 'tax-country' | 'profile-lang';
|
|
3189
|
+
localeOrCountry: `${SupportedLangs}` | SupportedCountryLocale;
|
|
3190
|
+
t: WithTranslation['t'];
|
|
3191
|
+
jsonTree: TreeNode[][];
|
|
3192
|
+
};
|
|
3193
|
+
type TabsReturnType = {
|
|
3194
|
+
id: `${SupportedLangs}`;
|
|
3240
3195
|
title: string;
|
|
3241
|
-
|
|
3242
|
-
btnLabel: string;
|
|
3243
|
-
defaultValue?: string;
|
|
3244
|
-
name: string;
|
|
3245
|
-
type: 'email' | 'text' | 'password';
|
|
3246
|
-
placeholder: string;
|
|
3247
|
-
autocomplete: string;
|
|
3248
|
-
handleSubmit: (value: string) => void;
|
|
3249
|
-
isLoading: boolean;
|
|
3250
|
-
isDisabled: boolean;
|
|
3251
|
-
isKeyboardShown: boolean;
|
|
3196
|
+
value: TreeNode[];
|
|
3252
3197
|
};
|
|
3253
3198
|
/**
|
|
3254
|
-
*
|
|
3255
|
-
*
|
|
3256
|
-
|
|
3199
|
+
* This function takes json tree and locale and
|
|
3200
|
+
* returns tabs for contract modal.
|
|
3201
|
+
*
|
|
3202
|
+
* @param behavior - 'tax-country' or 'profile-lang'
|
|
3203
|
+
* @param localeOrCountry - locale to filter tabs
|
|
3204
|
+
* @param jsonTree - json tree with contracts
|
|
3205
|
+
* @param t - translation function
|
|
3206
|
+
* @returns - array of tabs with id, title and value
|
|
3207
|
+
*/
|
|
3208
|
+
declare function getSignAgreementsTabs({ behavior, localeOrCountry, jsonTree, t, }: Tabs): TabsReturnType[];
|
|
3257
3209
|
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3210
|
+
declare const isSpecialistActive: (specialist: Specialist) => boolean;
|
|
3211
|
+
declare const isSpecialistPublic: (specialist: Specialist) => boolean;
|
|
3212
|
+
declare const isSpecialistBlocked: (specialist: Specialist) => boolean;
|
|
3213
|
+
declare const isSuperSpecialist: (specialist: Specialist) => boolean;
|
|
3214
|
+
declare const isNewSpecialist: (specialist: Specialist) => boolean;
|
|
3215
|
+
|
|
3216
|
+
type ClientCanAction = AutoComplete<'book_session'>;
|
|
3217
|
+
type ClientCanParams = {
|
|
3218
|
+
action: ClientCanAction;
|
|
3219
|
+
specialist: Specialist;
|
|
3220
|
+
activeSubscription?: Subscription | null;
|
|
3221
|
+
subscriptionAvailableBalance?: number;
|
|
3222
|
+
sessions?: Session[];
|
|
3223
|
+
consultations?: Session[];
|
|
3263
3224
|
};
|
|
3264
|
-
declare const
|
|
3225
|
+
declare const isClientCan: ({ action, ...params }: ClientCanParams) => boolean;
|
|
3265
3226
|
|
|
3266
|
-
type
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3227
|
+
type SpecialistCardProps = {
|
|
3228
|
+
fullName?: string;
|
|
3229
|
+
specialization?: string;
|
|
3230
|
+
priceCurrencySign?: string;
|
|
3231
|
+
currency?: SupportedCurrency;
|
|
3232
|
+
pricePerSession?: number;
|
|
3233
|
+
/**
|
|
3234
|
+
* @deprecated
|
|
3235
|
+
*/
|
|
3236
|
+
pricePerSessionUAH?: number;
|
|
3237
|
+
sessionDurationInMinutes?: number;
|
|
3238
|
+
avatarLink?: string | null;
|
|
3239
|
+
yearsOfExperience?: number | null;
|
|
3240
|
+
hoursOfPractice?: number | null;
|
|
3241
|
+
summary?: string | null;
|
|
3242
|
+
clientsCount?: number | null;
|
|
3243
|
+
sessionsCount?: number | null;
|
|
3244
|
+
onFavouriteClickHandler?: () => void;
|
|
3245
|
+
isFavouriteSpecialist?: boolean;
|
|
3246
|
+
onCardClickHandler?: () => void;
|
|
3247
|
+
loading?: boolean;
|
|
3248
|
+
countryCode?: string;
|
|
3249
|
+
onAvatarClickHandler?: () => void;
|
|
3250
|
+
/**
|
|
3251
|
+
* in format: 1:23 (minutes:seconds)
|
|
3252
|
+
*/
|
|
3253
|
+
videoDurationSeconds?: number;
|
|
3254
|
+
percentMatch?: number;
|
|
3255
|
+
averageStarsCount?: number;
|
|
3256
|
+
countOfReviews?: number;
|
|
3257
|
+
translations: {
|
|
3258
|
+
name: string;
|
|
3259
|
+
year: string[];
|
|
3260
|
+
experiences: string;
|
|
3261
|
+
hour: string[];
|
|
3262
|
+
practice: string;
|
|
3263
|
+
session: string;
|
|
3264
|
+
clients: string[];
|
|
3265
|
+
sessions: string[];
|
|
3266
|
+
by: string;
|
|
3267
|
+
match: string;
|
|
3268
|
+
reviews: string[];
|
|
3269
|
+
};
|
|
3270
|
+
uploadButton?: boolean;
|
|
3271
|
+
onUploadButtonClick?: () => void;
|
|
3270
3272
|
};
|
|
3271
|
-
|
|
3272
|
-
node: TreeNode;
|
|
3273
|
-
level: number;
|
|
3274
|
-
}
|
|
3273
|
+
declare const SpecialistCard: React__default.FC<SpecialistCardProps>;
|
|
3275
3274
|
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3275
|
+
declare const _default$e: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
3276
|
+
isError?: boolean | undefined;
|
|
3277
|
+
errorStyle?: "filled" | "unfilled" | undefined;
|
|
3278
|
+
type?: "number" | "text" | "email" | undefined;
|
|
3279
|
+
} & React__default.InputHTMLAttributes<HTMLInputElement> & React__default.RefAttributes<HTMLInputElement>>>;
|
|
3281
3280
|
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3281
|
+
declare const ImageInput: React__default.ForwardRefExoticComponent<{
|
|
3282
|
+
dimension?: number | undefined;
|
|
3283
|
+
buttonLabel?: string | undefined;
|
|
3284
|
+
isRoundedImage?: boolean | undefined;
|
|
3285
|
+
isCloseButton?: boolean | undefined;
|
|
3286
|
+
onCloseClick?: (() => void) | undefined;
|
|
3287
|
+
isVideoContent?: boolean | undefined;
|
|
3288
|
+
isError?: boolean | undefined;
|
|
3289
|
+
errorMessage?: string | undefined;
|
|
3290
|
+
loadedFileValue?: string | undefined;
|
|
3291
|
+
renderMediaAfterLoad?: boolean | undefined;
|
|
3292
|
+
isFilledButton?: boolean | undefined;
|
|
3293
|
+
} & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
3291
3294
|
|
|
3292
|
-
declare
|
|
3295
|
+
declare const PasswordInput: React__default.ForwardRefExoticComponent<{
|
|
3296
|
+
error?: string | null | undefined;
|
|
3297
|
+
} & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
3293
3298
|
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3299
|
+
declare const _default$d: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
3300
|
+
isError?: boolean | undefined;
|
|
3301
|
+
} & React__default.TextareaHTMLAttributes<HTMLTextAreaElement> & React__default.RefAttributes<HTMLTextAreaElement>>>;
|
|
3302
|
+
|
|
3303
|
+
declare const _default$c: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
3304
|
+
options: {
|
|
3305
|
+
id: string | number;
|
|
3306
|
+
label: string | number;
|
|
3307
|
+
}[];
|
|
3308
|
+
isError?: boolean | undefined;
|
|
3309
|
+
selectedBy?: "label" | "id" | undefined;
|
|
3310
|
+
} & React__default.SelectHTMLAttributes<HTMLSelectElement> & React__default.RefAttributes<HTMLSelectElement>>>;
|
|
3311
|
+
|
|
3312
|
+
type PossibleButtonTypes = 'primary' | 'secondary' | 'accent' | 'accent-dark-green' | 'accent-light-grey' | 'transparent' | 'border' | 'border-white' | 'white' | 'outline';
|
|
3313
|
+
type ButtonProps = {
|
|
3314
|
+
buttonType?: PossibleButtonTypes;
|
|
3315
|
+
loading?: boolean;
|
|
3316
|
+
} & React__default.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
3317
|
+
declare const CustomButton: React__default.FC<ButtonProps>;
|
|
3318
|
+
|
|
3319
|
+
declare enum CheckboxTypes {
|
|
3320
|
+
WITH_ICON = "with-icon",
|
|
3321
|
+
TAG = "tag",
|
|
3322
|
+
LIST = "list"
|
|
3323
|
+
}
|
|
3324
|
+
type CustomCheckboxProps = {
|
|
3325
|
+
type: CheckboxTypes;
|
|
3326
|
+
value?: ReactText;
|
|
3327
|
+
label?: string;
|
|
3328
|
+
icon?: ReactElement;
|
|
3304
3329
|
name?: string;
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
required?: boolean;
|
|
3310
|
-
isFocus?: boolean;
|
|
3311
|
-
pattern?: string;
|
|
3312
|
-
isAutoGrow?: boolean;
|
|
3313
|
-
icon?: ReactNode | string;
|
|
3314
|
-
isKeyboardShown?: boolean;
|
|
3330
|
+
className?: string;
|
|
3331
|
+
defaultChecked?: boolean;
|
|
3332
|
+
isCheckbox?: boolean;
|
|
3333
|
+
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
3315
3334
|
};
|
|
3316
|
-
declare const _default$
|
|
3335
|
+
declare const _default$b: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<CustomCheckboxProps & React__default.RefAttributes<HTMLInputElement>>>;
|
|
3317
3336
|
|
|
3318
|
-
type
|
|
3319
|
-
|
|
3337
|
+
type CheckboxListItem = {
|
|
3338
|
+
id: ReactText;
|
|
3320
3339
|
label: string;
|
|
3340
|
+
icon?: ReactElement;
|
|
3341
|
+
isFavorite?: boolean;
|
|
3321
3342
|
};
|
|
3322
|
-
type
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
buttonText?: string;
|
|
3326
|
-
selections: Record<string, SelectionType[]>;
|
|
3327
|
-
defaults?: Record<string, string>;
|
|
3328
|
-
onChange(value: Record<string, string>): void;
|
|
3329
|
-
compareBy?: 'value' | 'label';
|
|
3330
|
-
isLoading?: boolean;
|
|
3331
|
-
onTouchStart?: () => void;
|
|
3332
|
-
onTouchEnd?: () => void;
|
|
3343
|
+
type CheckboxListCategory = {
|
|
3344
|
+
name: string;
|
|
3345
|
+
items: CheckboxListItem[];
|
|
3333
3346
|
};
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3347
|
+
type CheckboxListProps = {
|
|
3348
|
+
type: CheckboxTypes;
|
|
3349
|
+
items: CheckboxListCategory[];
|
|
3350
|
+
selected?: ReactText[];
|
|
3351
|
+
onChange?: (selected: ReactText[]) => void;
|
|
3352
|
+
name: string;
|
|
3353
|
+
moreLabel?: string;
|
|
3337
3354
|
title?: string;
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
isFocus?: boolean;
|
|
3346
|
-
isKeyboardShown?: boolean;
|
|
3347
|
-
maxlength?: number;
|
|
3348
|
-
HeaderComponent?: FC;
|
|
3349
|
-
};
|
|
3350
|
-
declare const _default$e: React__default.NamedExoticComponent<TextAreaFormFeatureProps>;
|
|
3351
|
-
|
|
3352
|
-
type AcceptAgreementFeatureProps = {
|
|
3353
|
-
isAccepted: boolean;
|
|
3354
|
-
setIsAccepted: (isAccepted: boolean) => void;
|
|
3355
|
-
handlePressLink: () => void;
|
|
3356
|
-
translations: string[];
|
|
3355
|
+
className?: string;
|
|
3356
|
+
selectedBy?: 'id' | 'label';
|
|
3357
|
+
translation: {
|
|
3358
|
+
mostUsedText: string;
|
|
3359
|
+
buttonText: string;
|
|
3360
|
+
from: string;
|
|
3361
|
+
};
|
|
3357
3362
|
};
|
|
3358
|
-
declare
|
|
3363
|
+
declare const _default$a: React__default.NamedExoticComponent<CheckboxListProps>;
|
|
3359
3364
|
|
|
3360
|
-
type
|
|
3365
|
+
type BookingHeaderProps = {
|
|
3361
3366
|
title?: string;
|
|
3362
3367
|
subTitle?: string;
|
|
3363
|
-
items: string[];
|
|
3364
|
-
defaultItems: string[];
|
|
3365
|
-
selectedItems?: Selection;
|
|
3366
|
-
onChange?: (value: string) => void;
|
|
3367
3368
|
isLoading?: boolean;
|
|
3368
|
-
|
|
3369
|
-
buttonLabel?: string;
|
|
3370
|
-
} & WithTranslation;
|
|
3371
|
-
declare const _default$d: React__default.NamedExoticComponent<SelectWithSearchFormFeatureProps>;
|
|
3372
|
-
|
|
3373
|
-
type MarkdownContainerFeatureProps = {
|
|
3374
|
-
children?: string | null;
|
|
3375
|
-
options?: MarkdownToJSX.Options;
|
|
3376
|
-
className?: string;
|
|
3369
|
+
onClick?: () => void;
|
|
3377
3370
|
};
|
|
3378
|
-
declare const
|
|
3379
|
-
|
|
3380
|
-
declare const _default$b: React__default.NamedExoticComponent<OnBoardingStartScreenType>;
|
|
3381
|
-
|
|
3382
|
-
declare const _default$a: React__default.NamedExoticComponent<OnBoardingInfoScreenType>;
|
|
3383
|
-
|
|
3384
|
-
type OnBoardingMultiSelectionScreenPreviewFeatureProps = {
|
|
3385
|
-
onChange?: (value: string[]) => void;
|
|
3386
|
-
defaultValues?: string[];
|
|
3387
|
-
} & OnBoardingMultiSelectScreenType;
|
|
3388
|
-
declare const _default$9: React__default.NamedExoticComponent<OnBoardingMultiSelectionScreenPreviewFeatureProps>;
|
|
3389
|
-
|
|
3390
|
-
type OnBoardingSingleSelectionScreenPreviewFeatureProps = {
|
|
3391
|
-
onChange?: (value: string) => void;
|
|
3392
|
-
defaultValues?: string[];
|
|
3393
|
-
} & OnBoardingSingleSelectScreenType;
|
|
3394
|
-
declare const _default$8: React__default.NamedExoticComponent<OnBoardingSingleSelectionScreenPreviewFeatureProps>;
|
|
3395
|
-
|
|
3396
|
-
declare const _default$7: React__default.NamedExoticComponent<OnBoardingLoaderScreenType>;
|
|
3371
|
+
declare const ChevronHeader: React__default.FC<BookingHeaderProps>;
|
|
3397
3372
|
|
|
3398
|
-
type
|
|
3373
|
+
type ProgressBarProps = {
|
|
3399
3374
|
progress: number;
|
|
3400
|
-
|
|
3401
|
-
isBackButtonDisabled?: boolean;
|
|
3402
|
-
onBackButtonClick?: () => void;
|
|
3403
|
-
contentStyle?: OnBoardingScreenStyleOptions;
|
|
3404
|
-
};
|
|
3405
|
-
declare const _default$6: React__default.NamedExoticComponent<OnBoardingProgressFeatureProps>;
|
|
3406
|
-
|
|
3407
|
-
declare const _default$5: React__default.NamedExoticComponent<OnBoardingReviewsScreenType>;
|
|
3408
|
-
|
|
3409
|
-
type SpecialistAreaByMatch = {
|
|
3410
|
-
text: string;
|
|
3411
|
-
hasMatch: boolean;
|
|
3412
|
-
};
|
|
3413
|
-
type SpecialistAreaListProps = {
|
|
3414
|
-
list: SpecialistAreaByMatch[];
|
|
3415
|
-
title?: React.ReactNode;
|
|
3416
|
-
className?: string;
|
|
3417
|
-
classNameTitle?: string;
|
|
3418
|
-
textVariant?: TypographyVariantsEnum;
|
|
3419
|
-
limit?: number;
|
|
3420
|
-
t?: WithTranslation['t'];
|
|
3421
|
-
fillTextWithMatch?: boolean;
|
|
3422
|
-
presentingElement?: HTMLElement;
|
|
3375
|
+
loaderTitle?: string;
|
|
3423
3376
|
};
|
|
3377
|
+
declare const _default$9: React__default.NamedExoticComponent<ProgressBarProps>;
|
|
3424
3378
|
|
|
3425
|
-
declare const
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
onExpand?(): void;
|
|
3435
|
-
t?: WithTranslation['t'];
|
|
3436
|
-
presentingElement?: HTMLElement;
|
|
3437
|
-
}
|
|
3438
|
-
|
|
3439
|
-
declare const _default$4: React__default.NamedExoticComponent<Props$2>;
|
|
3379
|
+
declare const _default$8: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
3380
|
+
title: string;
|
|
3381
|
+
subTitle?: string | undefined;
|
|
3382
|
+
isError?: boolean | undefined;
|
|
3383
|
+
loadedFileValue?: string | undefined;
|
|
3384
|
+
onCloseClick?: (() => void) | undefined;
|
|
3385
|
+
buttonLabel?: string | undefined;
|
|
3386
|
+
renderMediaAfterLoad?: boolean | undefined;
|
|
3387
|
+
} & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "type"> & React__default.RefAttributes<HTMLInputElement>>>;
|
|
3440
3388
|
|
|
3441
|
-
type
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
limit: number;
|
|
3447
|
-
t?: WithTranslation['t'];
|
|
3448
|
-
onLoadMore?(): void;
|
|
3449
|
-
presentingElement?: HTMLElement;
|
|
3389
|
+
type SuccessScreenProps = {
|
|
3390
|
+
title: string;
|
|
3391
|
+
subTitle?: string;
|
|
3392
|
+
btnTitle?: string;
|
|
3393
|
+
onClick?: () => void;
|
|
3450
3394
|
};
|
|
3451
|
-
|
|
3452
|
-
openModalReviews: () => void;
|
|
3453
|
-
}
|
|
3454
|
-
declare const ReviewListFeature: React__default.ForwardRefExoticComponent<Props$1 & React__default.RefAttributes<ReviewListFeatureRef>>;
|
|
3395
|
+
declare const SuccessScreen: FC<SuccessScreenProps>;
|
|
3455
3396
|
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3397
|
+
declare const FlagTypes: {
|
|
3398
|
+
uk: JSX.Element;
|
|
3399
|
+
ua: JSX.Element;
|
|
3400
|
+
pl: JSX.Element;
|
|
3401
|
+
gb: JSX.Element;
|
|
3402
|
+
en: JSX.Element;
|
|
3403
|
+
ru: JSX.Element;
|
|
3404
|
+
es: JSX.Element;
|
|
3463
3405
|
};
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
specialist?: Specialist;
|
|
3406
|
+
type FlagProps = {
|
|
3407
|
+
name: keyof typeof FlagTypes;
|
|
3408
|
+
dimensions?: number;
|
|
3468
3409
|
className?: string;
|
|
3469
|
-
isLoading?: boolean;
|
|
3470
|
-
onClick?(specialist: Specialist): void;
|
|
3471
|
-
onToggleFavourite?(specialist: Specialist): void;
|
|
3472
|
-
t?: WithTranslation['t'];
|
|
3473
3410
|
};
|
|
3411
|
+
declare const _default$7: React__default.NamedExoticComponent<FlagProps>;
|
|
3474
3412
|
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
isLoading?: boolean;
|
|
3413
|
+
type SpecialistLangsProps = {
|
|
3414
|
+
showLoader?: boolean;
|
|
3415
|
+
langs: string[];
|
|
3479
3416
|
className?: string;
|
|
3480
|
-
|
|
3417
|
+
country: string;
|
|
3418
|
+
countryCode: string;
|
|
3419
|
+
titleLangs: string;
|
|
3420
|
+
titleCountry: string;
|
|
3481
3421
|
};
|
|
3422
|
+
declare const SpecialistLangs: FC<SpecialistLangsProps>;
|
|
3482
3423
|
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
href: string;
|
|
3490
|
-
selected?: boolean;
|
|
3424
|
+
type ChangeLangModalProps = {
|
|
3425
|
+
title: string;
|
|
3426
|
+
selected: string;
|
|
3427
|
+
isOpen: boolean;
|
|
3428
|
+
onSelect: (lang: string) => void;
|
|
3429
|
+
onModalClose?: () => void;
|
|
3491
3430
|
};
|
|
3492
|
-
type
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
user?: UserType | Specialist;
|
|
3496
|
-
slot?: 'bottom' | 'top';
|
|
3497
|
-
items: TabsToolbarItem[];
|
|
3498
|
-
selectedTab: string;
|
|
3499
|
-
onTabChange?(tab: string): void;
|
|
3431
|
+
type LanguagesListProps = {
|
|
3432
|
+
selected: string;
|
|
3433
|
+
onSelect: (lang: string) => void;
|
|
3500
3434
|
};
|
|
3435
|
+
declare const LanguagesList: FC<LanguagesListProps>;
|
|
3436
|
+
declare const ChangeLangModal: FC<ChangeLangModalProps>;
|
|
3501
3437
|
|
|
3502
|
-
|
|
3438
|
+
type ProfileInformationProps = {
|
|
3439
|
+
specialistAvatar?: string;
|
|
3440
|
+
specialistFirstName?: string;
|
|
3441
|
+
specialistLastName?: string;
|
|
3442
|
+
specialistSpecialization?: string;
|
|
3443
|
+
countryCode?: string;
|
|
3444
|
+
isLoading?: boolean;
|
|
3445
|
+
averageStarsCount?: number;
|
|
3446
|
+
countOfReviews?: number;
|
|
3447
|
+
translations?: {
|
|
3448
|
+
reviews: string[];
|
|
3449
|
+
};
|
|
3450
|
+
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
3451
|
+
declare const _default$6: React__default.NamedExoticComponent<ProfileInformationProps>;
|
|
3503
3452
|
|
|
3504
|
-
type
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3453
|
+
type SpecialistMatchProps = {
|
|
3454
|
+
specialistFirstName?: string;
|
|
3455
|
+
percentMatch?: number;
|
|
3456
|
+
learnMoreClick: () => void;
|
|
3508
3457
|
isLoading?: boolean;
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3458
|
+
translations: {
|
|
3459
|
+
matchYou: string;
|
|
3460
|
+
howWeMatchThis: string;
|
|
3461
|
+
};
|
|
3462
|
+
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
3463
|
+
declare const _default$5: React__default.NamedExoticComponent<SpecialistMatchProps>;
|
|
3512
3464
|
|
|
3513
|
-
|
|
3465
|
+
type SpecialistStatisticProps = {
|
|
3466
|
+
learnMoreClick: () => void;
|
|
3467
|
+
isSuperSpecialist?: boolean;
|
|
3468
|
+
countConsultationFor3Days?: number;
|
|
3469
|
+
specialistFirstName: string;
|
|
3470
|
+
specialistLastName: string;
|
|
3471
|
+
isLoading?: boolean;
|
|
3472
|
+
superSpecialistIcon: string;
|
|
3473
|
+
trendingUpIcon: string;
|
|
3474
|
+
translations: {
|
|
3475
|
+
knowMore: string;
|
|
3476
|
+
superSpecialistInfo: string;
|
|
3477
|
+
superSpecialist: string;
|
|
3478
|
+
popularSpecialist: string;
|
|
3479
|
+
sessions: string[];
|
|
3480
|
+
bookedSession: string;
|
|
3481
|
+
};
|
|
3482
|
+
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
3483
|
+
declare const _default$4: React__default.NamedExoticComponent<SpecialistStatisticProps>;
|
|
3514
3484
|
|
|
3515
|
-
type
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3485
|
+
type RatingWithLabelProps = {
|
|
3486
|
+
countOfReviews?: number;
|
|
3487
|
+
averageStarsCount?: number;
|
|
3488
|
+
translations?: {
|
|
3489
|
+
reviews: string[];
|
|
3490
|
+
};
|
|
3491
|
+
} & RatingComponentProps;
|
|
3492
|
+
declare const StarRating: React__default.FC<RatingWithLabelProps>;
|
|
3520
3493
|
|
|
3521
|
-
type
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3494
|
+
type ReviewCardProps = {
|
|
3495
|
+
reviewerAvatar: string;
|
|
3496
|
+
reviewerFirstName: string;
|
|
3497
|
+
reviewerLastName: string;
|
|
3498
|
+
reviewerCountry?: keyof typeof FlagTypes;
|
|
3499
|
+
reviewedAtInSeconds?: number;
|
|
3500
|
+
starsCount: number;
|
|
3501
|
+
reviewText?: string;
|
|
3502
|
+
onShowMoreButtonClick?: () => void;
|
|
3503
|
+
showAllReview?: boolean;
|
|
3504
|
+
type: 'card' | 'list';
|
|
3505
|
+
loading?: boolean;
|
|
3506
|
+
translations: {
|
|
3507
|
+
showMore: string;
|
|
3508
|
+
showAllReviews: string;
|
|
3509
|
+
};
|
|
3510
|
+
cutReview?: boolean;
|
|
3511
|
+
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
3512
|
+
declare const ReviewCard: React__default.FC<ReviewCardProps>;
|
|
3513
|
+
|
|
3514
|
+
type ReviewStatisticsProps = {
|
|
3515
|
+
averageStarsCount: number;
|
|
3516
|
+
countOfReviews: number;
|
|
3517
|
+
/**
|
|
3518
|
+
* count of reviews for each star, where key - is a number of stars and value - is a count of reviews
|
|
3519
|
+
* @example {'1': 15, '2': 30, '3': 45, '4': 60, '5': 75}
|
|
3520
|
+
*/
|
|
3521
|
+
statistics: {
|
|
3522
|
+
[key: string]: number;
|
|
3523
|
+
};
|
|
3524
|
+
loading?: boolean;
|
|
3525
|
+
translations: {
|
|
3526
|
+
reviews: string[];
|
|
3527
|
+
};
|
|
3528
|
+
} & React__default.HTMLAttributes<HTMLDivElement>;
|
|
3529
|
+
declare const ReviewStatistics: React__default.FC<ReviewStatisticsProps>;
|
|
3530
|
+
|
|
3531
|
+
type FrequentlyAskedQuestions = {
|
|
3532
|
+
text: string;
|
|
3533
|
+
alignment: 'right' | 'center' | 'left';
|
|
3526
3534
|
};
|
|
3527
|
-
declare const
|
|
3535
|
+
declare const FrequentlyAskedQuestions: React__default.FC<FrequentlyAskedQuestions>;
|
|
3528
3536
|
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3537
|
+
declare const Spinner: () => JSX.Element;
|
|
3538
|
+
|
|
3539
|
+
type RefresherProps = {
|
|
3540
|
+
onIonRefresh: (event: CustomEvent<RefresherEventDetail>) => void;
|
|
3541
|
+
disabled: boolean;
|
|
3534
3542
|
};
|
|
3543
|
+
declare const Refresher: FC<RefresherProps>;
|
|
3535
3544
|
|
|
3536
|
-
declare const
|
|
3545
|
+
declare const Toast: React__default.FC<ToastProps>;
|
|
3537
3546
|
|
|
3538
|
-
type
|
|
3539
|
-
|
|
3547
|
+
type ToastButton = {
|
|
3548
|
+
text: string;
|
|
3549
|
+
handler: () => void;
|
|
3550
|
+
type?: 'filled' | 'outlined';
|
|
3551
|
+
hide?: boolean;
|
|
3552
|
+
};
|
|
3553
|
+
type ToastProps = {
|
|
3554
|
+
position?: 'top' | 'bottom';
|
|
3555
|
+
positionOffset?: number;
|
|
3556
|
+
text?: string;
|
|
3557
|
+
heading?: string;
|
|
3558
|
+
buttons?: Array<ToastButton>;
|
|
3559
|
+
} & HTMLAttributes<HTMLDivElement>;
|
|
3560
|
+
|
|
3561
|
+
type CustomRadioButtonProps = {
|
|
3540
3562
|
label: string;
|
|
3541
|
-
|
|
3563
|
+
name?: string;
|
|
3564
|
+
value?: string;
|
|
3565
|
+
checked?: boolean;
|
|
3542
3566
|
disabled?: boolean;
|
|
3543
|
-
|
|
3544
|
-
};
|
|
3545
|
-
type MenuFeatureProps = {
|
|
3546
|
-
items: MenuItem[];
|
|
3547
|
-
className?: string;
|
|
3548
|
-
isLoading?: boolean;
|
|
3567
|
+
onChange?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
3549
3568
|
};
|
|
3569
|
+
declare const CustomRadioButton: React__default.ForwardRefExoticComponent<CustomRadioButtonProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
3550
3570
|
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
type Tabs = {
|
|
3555
|
-
behavior: 'tax-country' | 'profile-lang';
|
|
3556
|
-
localeOrCountry: `${SupportedLangs}` | SupportedCountryLocale;
|
|
3557
|
-
t: WithTranslation['t'];
|
|
3558
|
-
jsonTree: TreeNode[][];
|
|
3571
|
+
type ListItemType = {
|
|
3572
|
+
id: ReactText;
|
|
3573
|
+
label: string;
|
|
3559
3574
|
};
|
|
3560
|
-
type
|
|
3561
|
-
id: `${SupportedLangs}`;
|
|
3575
|
+
type ListSelectProps = {
|
|
3562
3576
|
title: string;
|
|
3563
|
-
|
|
3577
|
+
listItems: ListItemType[];
|
|
3578
|
+
selected?: ReactText;
|
|
3579
|
+
onChange: (item: ListItemType) => void;
|
|
3564
3580
|
};
|
|
3565
|
-
/**
|
|
3566
|
-
* This function takes json tree and locale and
|
|
3567
|
-
* returns tabs for contract modal.
|
|
3568
|
-
*
|
|
3569
|
-
* @param behavior - 'tax-country' or 'profile-lang'
|
|
3570
|
-
* @param localeOrCountry - locale to filter tabs
|
|
3571
|
-
* @param jsonTree - json tree with contracts
|
|
3572
|
-
* @param t - translation function
|
|
3573
|
-
* @returns - array of tabs with id, title and value
|
|
3574
|
-
*/
|
|
3575
|
-
declare function getSignAgreementsTabs({ behavior, localeOrCountry, jsonTree, t, }: Tabs): TabsReturnType[];
|
|
3576
3581
|
|
|
3577
|
-
declare const
|
|
3578
|
-
declare const isSpecialistPublic: (specialist: Specialist) => boolean;
|
|
3579
|
-
declare const isSpecialistBlocked: (specialist: Specialist) => boolean;
|
|
3580
|
-
declare const isSuperSpecialist: (specialist: Specialist) => boolean;
|
|
3581
|
-
declare const isNewSpecialist: (specialist: Specialist) => boolean;
|
|
3582
|
+
declare const ListSelect: FC<ListSelectProps>;
|
|
3582
3583
|
|
|
3583
|
-
type
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
specialist: Specialist;
|
|
3587
|
-
activeSubscription?: Subscription | null;
|
|
3588
|
-
subscriptionAvailableBalance?: number;
|
|
3589
|
-
sessions?: Session[];
|
|
3584
|
+
type RowItemType = {
|
|
3585
|
+
id: ReactText;
|
|
3586
|
+
label: string;
|
|
3590
3587
|
};
|
|
3591
|
-
|
|
3588
|
+
type RowSelectProps = {
|
|
3589
|
+
title: string;
|
|
3590
|
+
rowItems: RowItemType[];
|
|
3591
|
+
selected?: ReactText;
|
|
3592
|
+
onChange: (value: RowItemType) => void;
|
|
3593
|
+
};
|
|
3594
|
+
|
|
3595
|
+
declare const RowSelect: FC<RowSelectProps>;
|
|
3592
3596
|
|
|
3593
3597
|
type SpecialistCardWidgetProps = {
|
|
3594
3598
|
t?: WithTranslation['t'];
|
|
@@ -3715,4 +3719,4 @@ type SessionPaymentsWidgetProps = {
|
|
|
3715
3719
|
|
|
3716
3720
|
declare const SessionPaymentsWidget: React__default.FC<SessionPaymentsWidgetProps>;
|
|
3717
3721
|
|
|
3718
|
-
export { AcceptAgreementFeature, Action, _default$
|
|
3722
|
+
export { AcceptAgreementFeature, Action, _default$T as AlertCard, AppFooter, _default$S as AppFooter_v2, AppHeader, AppHeaderPage as AppHeaderPageFeature, AppHeader_v2, AppNotSupportedFeature, ArchivedConsultationCard, AutoComplete, Avatar, AvatarProps$1 as AvatarProps, _default$R as Avatar_v2, AvatarProps as Avatar_v2Props, BREAKPOINT_ICON_SIZE, _default$N as Badge, _default$W as BookingScheduleTime, _default$V as BookingSpecialistInfo, BreakPointPositionProps, BreakPointPositionResult, Button, Button_v2, COUNTRIES_MAPPER, Calendar, _default$u as CalendarPickerFeature, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$1f as ChatListItem, _default$1d as ChatListSkeleton, _default$1e as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$a as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingComponentProps, CircleRatingContent, CircleRatingContext, CircleRatingContextData, CircleRatingContextProps, CircleRatingDataProps, CircleRatingDataResult, CircleRatingLegendProps, CircleRatingProvider, CircleRatingRange, CircleRatingSize, ClientCanAction, ClientCanParams, ClientSpecialistContractStatusEnum, CollapsableText, ConditionRulesType, Consultation, _default$16 as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$13 as ConsultationModal, _default$y as ConsultationPricingFeature, _default$11 as ConsultationSpecialistCard, ConsultationsListSkeleton, Container, Container_v2, ContentCard, ContentRendererProps, ContractDataFeature, ContractStatusEnum, ContentTree as ContractTreeFeature, CountdownTimerFeature, CountryOfOriginModal, CurrencyLocaleMapper, CurrencySignByLocale, CustomButton, _default$b as CustomCheckbox, CustomRadioButton, _default$c as CustomSelect, _default$d as CustomTextarea, DatePicker, _default$$ as DaySlider, DayToRender, DividerProps, DrumListPicker, DynamicCommissionValue, _default$X as EducationCard, _default$1c as EmptyChatList, EmptyChatMessages, EmptyChatModalFeature, _default$14 as EmptyConsultations, EmptyList, EntryNotFound, EntryNotFoundProps, ErrorCardFeature, FirstChatMessageModalFeature, _default$7 as Flag, FlagTypes, _default$P as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, GoogleCalendarModalFeature, HeaderWithRedirect, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconAddModerator, IconApple, IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowTopRight, IconAttachMoney, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$J as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCalendarWithDot, IconCancel, IconCancelRounded, IconCapFilled, IconChat, IconChat3d, IconChat3dSmaller, IconChatFilled, IconChatOutline, IconCheck, IconCheckCircle, IconCheckSmall, IconCheckboxChecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconContract, IconCopy, IconCreditCard, IconDelete, IconDocument, IconDot, IconEcgHeart, IconEdit, IconEditCalendar, IconEmptyList, IconEventBusy, IconEye, IconEyeOff, IconGallery, IconGift, IconGoogle, IconHeart, IconHome, IconIdCard, IconInvisible, IconInvoice, IconLanguage, IconLeftArrow, IconLetter, IconLink, IconLock, IconLogout, IconManageAccounts, IconMindly, IconMindlyColored, IconMindlyMini, IconMinus, IconMoreVertical, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPersonAlert, IconPlay, IconPlus, IconProfile, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconPromocode, IconProps$B as IconProps, IconQueryStats, IconQuestion, IconRadioButtonChecked, IconReceipt, IconReceiptLong, IconRenew, IconResume, IconSchedule, IconSchema, IconSearch, IconSend, IconSettings, IconShare, IconSpinner, IconStar, IconStarFilled, IconStudyHat, IconStylus, IconSuccess, IconText, IconTime, IconTimeAdd, IconUnmute, IconUser, IconUserNotFound, IconVerifiedUser, IconVisible, IconWarning, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, InputSearch, _default$F as Item, _default$M as ItemCard, LabelArrowRedirect, LanguagesList, _default$1j as LetterAvatar, _default$8 as LineFileInput, ListBox, ListBoxItem, ListBoxItemProps, ListBoxProps, ListBoxSelectionType, ListButton, ListItemType, _default$C as ListItemWithColumns, _default$G as ListItems, ListOption, ListOptionsProps, ListSelect, ListSelectProps, ListSimple, _default$H as Loading, LouseConnect, MapStatusContractToUIStatus, _default$n as MarkdownContainerFeature, _default$D as MatchProgress, _default$1g as MediaPlayer, MenuFeature, Modal, ModalCalendar, ModalSheet, NavigationBar, NewSpecialist, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, OnBoardingBaseScreenType, OnBoardingFlowType, _default$l as OnBoardingInfoScreenPreviewFeature, OnBoardingInfoScreenType, _default$i as OnBoardingLoaderScreenPreviewFeature, OnBoardingLoaderScreenType, OnBoardingMultiSelectScreenType, _default$k as OnBoardingMultiSelectionScreenPreviewFeature, _default$h as OnBoardingProgressFeature, _default$g as OnBoardingReviewsScreenPreviewFeature, OnBoardingReviewsScreenType, OnBoardingScreenBgType, OnBoardingScreenButtonType, OnBoardingScreenDescriptionType, OnBoardingScreenOptionType, OnBoardingScreenOptions, OnBoardingScreenStyleOptions, OnBoardingScreensType, OnBoardingSingleSelectScreenType, _default$j as OnBoardingSingleSelectionScreenPreviewFeature, _default$m as OnBoardingStartScreenPreviewFeature, OnBoardingStartScreenType, OutdatedPersonalDataFeature, PasswordInput, PaymentBadgeType, _default$t as PaymentCalendarFeature, PaymentCalendarFeatureProps, _default$v as PaymentSessionsList, _default$1i as PersonDateTimeCard, _default$O as Picture, _default$6 as ProfileInformation, _default$Z as ProfileView, _default$9 as ProgressBar, ProgressBarDashed, _default$I as ProgressBar_v2, ProgressRangeProps, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$K as Rating, RatingCircleWrapper, _default$10 as ReSchedule, ReScheduleSuccess, Refresher, ResponseFileType, ReviewCard, _default$s as ReviewCardFeature, ReviewListFeature, ReviewStatistics, ReviewSwiperSection, ReviewsCardFeatureSkeleton, ReviewsSummary, RoundButton, RowItemType, RowSelect, RowSelectProps, Rule, SIZES, _default$q as ScreenDrumPickerFormFeature, ScreenInput, _default$r as ScreenInputFormFeature, ScreenInputUpdateFeature, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$1h as SelectImpressionEmoji, SelectItemType, _default$o as SelectWithSearchFormFeature, Session, SessionDetailWidget, SessionPaymentsWidget, SessionPreviewFeature, SessionTime, SessionVariant, SessionsWidget as SessionsListWidget, Sex, ShareModalFeature, ShortCurrencySignByLocale, _default$B as ShowMore, _default$15 as SignUpSessionButton, _default$12 as SignUpSessionModal, SizeValues, Skeleton, _default$Q as Skeleton_v2, _default$A as SlotsGrid, _default$z as SlotsGridItem, Specialist, _default$Y as SpecialistAbout, SpecialistAreaList as SpecialistAreaListFeature, SpecialistCard, SpecialistCardListWidget, _default$3 as SpecialistCardWidget, SpecialistConsultation, SpecialistConsultationPayment, _default as SpecialistDetailWidget, SpecialistEducation, _default$1a as SpecialistEducationCard, SpecialistEducationsFeature, SpecialistInfoColumnFeature, SpecialistLangs, _default$5 as SpecialistMatch, SpecialistOrderType, SpecialistPaymentCardProps, _default$x as SpecialistPaymentCommonCardFeature, SpecialistPaymentCommonCardSkeleton, SpecialistPaymentConsultationDetailsType, _default$w as SpecialistPaymentConsultationsFeature, SpecialistPaymentConsultationsProps, SpecialistPaymentCurrencyProps, _default$1 as SpecialistPaymentResumeWidget, SpecialistPaymentResumeWidgetType, SpecialistPaymentTabs, _default$2 as SpecialistPaymentWidget, SpecialistPaymentWidgetType, SpecialistPreviewFeature, SpecialistPreviewListWidget, SpecialistProfileNotFound, _default$19 as SpecialistProfileViewCard, SpecialistReview, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$4 as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, StripeSupportedCurrency, Subscription, SubscriptionStatuses, SuccessScreen, SuperSpecialist, SupportedCurrency, SupportedLangs, SwitchDeviceCard, TabBar, TabItem, Tabs$1 as Tabs, TabsToolbarFeature, Tag, _default$p as TextAreaFormFeature, _default$e as TextInput, _default$f as TextWithClampFeature, _default$1b as Textarea, _default$L as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, TranslationMock, TranslationType, TreeNode, _default$U as Typography, TypographyVariantsEnum, UpdateContractWidget, UpdatesCard, UserInfoModal, UserType, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$E as Video, _default$17 as VideoCallInfo, _default$18 as VideoPlayer, VideoProvider, _default$_ as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, formatByDigits, getCountryKeyByName, getDateLocale, getGMTOffset, getProgressForBreakPoint, getSignAgreementsTabs, isClientCan, isNewSpecialist, isSpecialistActive, isSpecialistBlocked, isSpecialistPublic, isSuperSpecialist, mergeRefs, newShade, priceNormalize, replaceMarkdownWithReactElements, roundToPrecision, toast, useAutoFocus, useBreakPointsPosition, useCircleRatingRenderData, useDomRef, useElementWidth, useEvent, useRangeIndex, useRatingCircleBreakPoints, useRatingCircleContentValue, useRatingCircleLegend, useRatingContext, useToastContext, useVideoContext };
|