@mindly/ui-components 6.4.1 → 6.5.0-dev.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/b7649e1531c181af.svg +69 -0
- package/dist/cjs/deprecated/SpecialistEducationCard/EmptyInstitutionLogo.d.ts +3 -0
- package/dist/cjs/deprecated/SpecialistEducationCard/SpecialistEducationCard.d.ts +12 -0
- package/dist/cjs/deprecated/SpecialistEducationCard/SpecialistEducationCard.style.d.ts +6 -0
- package/dist/cjs/deprecated/SpecialistEducationCard/index.d.ts +1 -0
- package/dist/cjs/deprecated/SpecialistProfileViewCard/PlayVideoIcon/PlayVideoIcon.d.ts +3 -0
- package/dist/cjs/deprecated/SpecialistProfileViewCard/SpecialistProfileViewCard.d.ts +14 -0
- package/dist/cjs/deprecated/SpecialistProfileViewCard/SpecialistProfileViewCard.style.d.ts +11 -0
- package/dist/cjs/deprecated/SpecialistProfileViewCard/index.d.ts +1 -0
- package/dist/cjs/deprecated/SpecialistStatisticsCard/SpecialistStatisticsCard.d.ts +11 -0
- package/dist/cjs/deprecated/SpecialistStatisticsCard/SpecialistStatisticsCard.style.d.ts +5 -0
- package/dist/cjs/deprecated/SpecialistStatisticsCard/index.d.ts +1 -0
- package/dist/cjs/deprecated/SpecialistStatisticsCard/utils.d.ts +1 -0
- package/dist/cjs/deprecated/SpecialistWorkDirections/SpecialistWorkDirections.d.ts +11 -0
- package/dist/cjs/deprecated/SpecialistWorkDirections/SpecialistWorkDirections.style.d.ts +2 -0
- package/dist/cjs/deprecated/SpecialistWorkDirections/index.d.ts +1 -0
- package/dist/cjs/deprecated/therapist-card/TherapistCard.d.ts +16 -0
- package/dist/cjs/deprecated/therapist-card/TherapistCard.style.d.ts +5 -0
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/lib/ChangeLangModal/ChangeLangModal.d.ts +15 -0
- package/dist/cjs/lib/ChangeLangModal/ChangeLangModal.style.d.ts +4 -0
- package/dist/cjs/lib/ChangeLangModal/index.d.ts +2 -0
- package/dist/cjs/lib/Chat/LouseConnect/LouseConnect.d.ts +6 -0
- package/dist/cjs/lib/Chat/LouseConnect/LouseConnect.style.d.ts +3 -0
- package/dist/cjs/lib/Chat/LouseConnect/index.d.ts +1 -0
- package/dist/cjs/lib/EntryNotFound/EntryNotFound.d.ts +5 -0
- package/dist/cjs/lib/EntryNotFound/EntryNotFound.style.d.ts +2 -0
- package/dist/cjs/lib/EntryNotFound/index.d.ts +1 -0
- package/dist/cjs/lib/HorisontalCalendar/HorizontalCalendar.d.ts +40 -0
- package/dist/cjs/lib/HorisontalCalendar/HorizontalCalendar.styled.d.ts +2 -0
- package/dist/cjs/lib/HorisontalCalendar/index.d.ts +1 -0
- package/dist/cjs/lib/Modal/Modal.d.ts +8 -0
- package/dist/cjs/lib/Modal/Modal.style.d.ts +6 -0
- package/dist/cjs/lib/Modal/index.d.ts +1 -0
- package/dist/cjs/lib/ModalCalendar/ModalCalendar.d.ts +10 -0
- package/dist/cjs/lib/ModalCalendar/ModalCalendar.styled.d.ts +12 -0
- package/dist/cjs/lib/PersonDateTimeCard/PersonDateTimeCard.d.ts +8 -0
- package/dist/cjs/lib/PersonDateTimeCard/PersonDateTimeCard.styled.d.ts +2 -0
- package/dist/cjs/lib/SelectImpressionEmoji/ImpressionEmojiEnum.d.ts +8 -0
- package/dist/cjs/lib/SelectImpressionEmoji/SelectImpressionEmoji.d.ts +4 -0
- package/dist/cjs/lib/SelectImpressionEmoji/SelectImpressionEmoji.styled.d.ts +2 -0
- package/dist/cjs/lib/SelectImpressionEmoji/SelectImpressionEmojiProps.d.ts +6 -0
- package/dist/cjs/lib/SelectImpressionEmoji/emojis.d.ts +5 -0
- package/dist/cjs/lib/SelectImpressionEmoji/index.d.ts +4 -0
- package/dist/cjs/lib/StatusTag/StatusTag.d.ts +7 -0
- package/dist/cjs/lib/StatusTag/StatusTag.style.d.ts +6 -0
- package/dist/cjs/lib/StatusTag/index.d.ts +1 -0
- package/dist/cjs/lib/UsersPsychologistScrollList/UserPsychologistScrollList.styled.d.ts +6 -0
- package/dist/cjs/lib/UsersPsychologistScrollList/UsersPsychologistScrollList.d.ts +10 -0
- package/dist/cjs/lib/archived-consultation-card/ArchivedConsultationCard.d.ts +14 -0
- package/dist/cjs/lib/archived-consultation-card/ArchivedConsultationCard.style.d.ts +4 -0
- package/dist/cjs/lib/content-card/ContentCard.d.ts +15 -0
- package/dist/cjs/lib/content-card/ContentCard.style.d.ts +11 -0
- package/dist/cjs/lib/floating-button/FloatingButton.d.ts +8 -0
- package/dist/cjs/lib/floating-button/FloatingButton.style.d.ts +6 -0
- package/dist/cjs/lib/footer-for-booking/FooterForBooking.d.ts +9 -0
- package/dist/cjs/lib/footer-for-booking/FooterForBooking.style.d.ts +6 -0
- package/dist/cjs/lib/footer-for-booking/index.d.ts +1 -0
- package/dist/cjs/lib/list-button/ListButton.d.ts +9 -0
- package/dist/cjs/lib/list-button/ListButton.style.d.ts +2 -0
- package/dist/cjs/lib/navigation-bar/NavigationBar.d.ts +8 -0
- package/dist/cjs/lib/navigation-bar/NavigationBar.style.d.ts +8 -0
- package/dist/cjs/lib/notes-card-text/NotesCardText.d.ts +6 -0
- package/dist/cjs/lib/notes-card-text/NotesCardText.style.d.ts +1 -0
- package/dist/cjs/lib/notes-card-text/index.d.ts +1 -0
- package/dist/cjs/lib/notes-editor/NotesEditor.d.ts +5 -0
- package/dist/cjs/lib/notes-editor/NotesEditor.styled.d.ts +2 -0
- package/dist/cjs/lib/scroll-tabs/ScrollTabs.d.ts +7 -0
- package/dist/cjs/lib/scroll-tabs/ScrollTabs.style.d.ts +3 -0
- package/dist/cjs/lib/tab-bar/TabBar.d.ts +6 -0
- package/dist/cjs/lib/tab-bar/TabBar.style.d.ts +5 -0
- package/dist/cjs/lib/therapist-information-component/TherapistInformationComponent.d.ts +10 -0
- package/dist/cjs/lib/therapist-information-component/TherapistInformationComponent.style.d.ts +2 -0
- package/dist/cjs/lib/your-local-time-block/YourLocalTimeBlock.d.ts +6 -0
- package/dist/cjs/lib/your-local-time-block/YourLocalTimeBlock.styled.d.ts +2 -0
- package/dist/cjs/lib2/shared/assets/icons/IconSort.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/providers/AuthProvider/AuthProvider.d.ts +4 -0
- package/dist/cjs/lib2/shared/providers/AuthProvider/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/providers/AuthProvider/types.d.ts +19 -0
- package/dist/cjs/lib2/shared/providers/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/types/filter.d.ts +7 -0
- package/dist/cjs/lib2/shared/ui/Counter/Counter.d.ts +4 -0
- package/dist/cjs/lib2/shared/ui/Counter/index.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/Counter/styles.d.ts +87 -0
- package/dist/cjs/lib2/shared/ui/Counter/types.d.ts +5 -0
- package/dist/cjs/lib2/shared/ui/Divider/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Typography/types.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/utils/filter.d.ts +4 -1
- package/dist/cjs/lib2/shared/utils/globalAuthState.d.ts +142 -0
- package/dist/cjs/lib2/shared/utils/index.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SpecialistCardWithScheduleWidget/types.d.ts +2 -0
- package/dist/esm/b7649e1531c181af.svg +69 -0
- package/dist/esm/deprecated/SpecialistEducationCard/EmptyInstitutionLogo.d.ts +3 -0
- package/dist/esm/deprecated/SpecialistEducationCard/SpecialistEducationCard.d.ts +12 -0
- package/dist/esm/deprecated/SpecialistEducationCard/SpecialistEducationCard.style.d.ts +6 -0
- package/dist/esm/deprecated/SpecialistEducationCard/index.d.ts +1 -0
- package/dist/esm/deprecated/SpecialistProfileViewCard/PlayVideoIcon/PlayVideoIcon.d.ts +3 -0
- package/dist/esm/deprecated/SpecialistProfileViewCard/SpecialistProfileViewCard.d.ts +14 -0
- package/dist/esm/deprecated/SpecialistProfileViewCard/SpecialistProfileViewCard.style.d.ts +11 -0
- package/dist/esm/deprecated/SpecialistProfileViewCard/index.d.ts +1 -0
- package/dist/esm/deprecated/SpecialistStatisticsCard/SpecialistStatisticsCard.d.ts +11 -0
- package/dist/esm/deprecated/SpecialistStatisticsCard/SpecialistStatisticsCard.style.d.ts +5 -0
- package/dist/esm/deprecated/SpecialistStatisticsCard/index.d.ts +1 -0
- package/dist/esm/deprecated/SpecialistStatisticsCard/utils.d.ts +1 -0
- package/dist/esm/deprecated/SpecialistWorkDirections/SpecialistWorkDirections.d.ts +11 -0
- package/dist/esm/deprecated/SpecialistWorkDirections/SpecialistWorkDirections.style.d.ts +2 -0
- package/dist/esm/deprecated/SpecialistWorkDirections/index.d.ts +1 -0
- package/dist/esm/deprecated/therapist-card/TherapistCard.d.ts +16 -0
- package/dist/esm/deprecated/therapist-card/TherapistCard.style.d.ts +5 -0
- package/dist/esm/index.js +8 -8
- package/dist/esm/lib/ChangeLangModal/ChangeLangModal.d.ts +15 -0
- package/dist/esm/lib/ChangeLangModal/ChangeLangModal.style.d.ts +4 -0
- package/dist/esm/lib/ChangeLangModal/index.d.ts +2 -0
- package/dist/esm/lib/Chat/LouseConnect/LouseConnect.d.ts +6 -0
- package/dist/esm/lib/Chat/LouseConnect/LouseConnect.style.d.ts +3 -0
- package/dist/esm/lib/Chat/LouseConnect/index.d.ts +1 -0
- package/dist/esm/lib/EntryNotFound/EntryNotFound.d.ts +5 -0
- package/dist/esm/lib/EntryNotFound/EntryNotFound.style.d.ts +2 -0
- package/dist/esm/lib/EntryNotFound/index.d.ts +1 -0
- package/dist/esm/lib/HorisontalCalendar/HorizontalCalendar.d.ts +40 -0
- package/dist/esm/lib/HorisontalCalendar/HorizontalCalendar.styled.d.ts +2 -0
- package/dist/esm/lib/HorisontalCalendar/index.d.ts +1 -0
- package/dist/esm/lib/Modal/Modal.d.ts +8 -0
- package/dist/esm/lib/Modal/Modal.style.d.ts +6 -0
- package/dist/esm/lib/Modal/index.d.ts +1 -0
- package/dist/esm/lib/ModalCalendar/ModalCalendar.d.ts +10 -0
- package/dist/esm/lib/ModalCalendar/ModalCalendar.styled.d.ts +12 -0
- package/dist/esm/lib/PersonDateTimeCard/PersonDateTimeCard.d.ts +8 -0
- package/dist/esm/lib/PersonDateTimeCard/PersonDateTimeCard.styled.d.ts +2 -0
- package/dist/esm/lib/SelectImpressionEmoji/ImpressionEmojiEnum.d.ts +8 -0
- package/dist/esm/lib/SelectImpressionEmoji/SelectImpressionEmoji.d.ts +4 -0
- package/dist/esm/lib/SelectImpressionEmoji/SelectImpressionEmoji.styled.d.ts +2 -0
- package/dist/esm/lib/SelectImpressionEmoji/SelectImpressionEmojiProps.d.ts +6 -0
- package/dist/esm/lib/SelectImpressionEmoji/emojis.d.ts +5 -0
- package/dist/esm/lib/SelectImpressionEmoji/index.d.ts +4 -0
- package/dist/esm/lib/StatusTag/StatusTag.d.ts +7 -0
- package/dist/esm/lib/StatusTag/StatusTag.style.d.ts +6 -0
- package/dist/esm/lib/StatusTag/index.d.ts +1 -0
- package/dist/esm/lib/UsersPsychologistScrollList/UserPsychologistScrollList.styled.d.ts +6 -0
- package/dist/esm/lib/UsersPsychologistScrollList/UsersPsychologistScrollList.d.ts +10 -0
- package/dist/esm/lib/archived-consultation-card/ArchivedConsultationCard.d.ts +14 -0
- package/dist/esm/lib/archived-consultation-card/ArchivedConsultationCard.style.d.ts +4 -0
- package/dist/esm/lib/content-card/ContentCard.d.ts +15 -0
- package/dist/esm/lib/content-card/ContentCard.style.d.ts +11 -0
- package/dist/esm/lib/floating-button/FloatingButton.d.ts +8 -0
- package/dist/esm/lib/floating-button/FloatingButton.style.d.ts +6 -0
- package/dist/esm/lib/footer-for-booking/FooterForBooking.d.ts +9 -0
- package/dist/esm/lib/footer-for-booking/FooterForBooking.style.d.ts +6 -0
- package/dist/esm/lib/footer-for-booking/index.d.ts +1 -0
- package/dist/esm/lib/list-button/ListButton.d.ts +9 -0
- package/dist/esm/lib/list-button/ListButton.style.d.ts +2 -0
- package/dist/esm/lib/navigation-bar/NavigationBar.d.ts +8 -0
- package/dist/esm/lib/navigation-bar/NavigationBar.style.d.ts +8 -0
- package/dist/esm/lib/notes-card-text/NotesCardText.d.ts +6 -0
- package/dist/esm/lib/notes-card-text/NotesCardText.style.d.ts +1 -0
- package/dist/esm/lib/notes-card-text/index.d.ts +1 -0
- package/dist/esm/lib/notes-editor/NotesEditor.d.ts +5 -0
- package/dist/esm/lib/notes-editor/NotesEditor.styled.d.ts +2 -0
- package/dist/esm/lib/scroll-tabs/ScrollTabs.d.ts +7 -0
- package/dist/esm/lib/scroll-tabs/ScrollTabs.style.d.ts +3 -0
- package/dist/esm/lib/tab-bar/TabBar.d.ts +6 -0
- package/dist/esm/lib/tab-bar/TabBar.style.d.ts +5 -0
- package/dist/esm/lib/therapist-information-component/TherapistInformationComponent.d.ts +10 -0
- package/dist/esm/lib/therapist-information-component/TherapistInformationComponent.style.d.ts +2 -0
- package/dist/esm/lib/your-local-time-block/YourLocalTimeBlock.d.ts +6 -0
- package/dist/esm/lib/your-local-time-block/YourLocalTimeBlock.styled.d.ts +2 -0
- package/dist/esm/lib2/shared/assets/icons/IconSort.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +1 -0
- package/dist/esm/lib2/shared/providers/AuthProvider/AuthProvider.d.ts +4 -0
- package/dist/esm/lib2/shared/providers/AuthProvider/index.d.ts +1 -0
- package/dist/esm/lib2/shared/providers/AuthProvider/types.d.ts +19 -0
- package/dist/esm/lib2/shared/providers/index.d.ts +1 -0
- package/dist/esm/lib2/shared/types/filter.d.ts +7 -0
- package/dist/esm/lib2/shared/ui/Counter/Counter.d.ts +4 -0
- package/dist/esm/lib2/shared/ui/Counter/index.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/Counter/styles.d.ts +87 -0
- package/dist/esm/lib2/shared/ui/Counter/types.d.ts +5 -0
- package/dist/esm/lib2/shared/ui/Divider/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Typography/types.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/index.d.ts +1 -0
- package/dist/esm/lib2/shared/utils/filter.d.ts +4 -1
- package/dist/esm/lib2/shared/utils/globalAuthState.d.ts +142 -0
- package/dist/esm/lib2/shared/utils/index.d.ts +1 -0
- package/dist/esm/lib2/widgets/SpecialistCardWithScheduleWidget/types.d.ts +2 -0
- package/dist/index.d.ts +190 -1
- package/package.json +2 -1
- package/dist/cjs/lib2/features/ScheduleFeature/ScheduleFeature.d.ts +0 -4
- package/dist/cjs/lib2/features/ScheduleFeature/ScheduleSkeletonFeature.d.ts +0 -4
- package/dist/cjs/lib2/features/ScheduleFeature/index.d.ts +0 -1
- package/dist/cjs/lib2/features/ScheduleFeature/types.d.ts +0 -11
- package/dist/esm/lib2/features/ScheduleFeature/ScheduleFeature.d.ts +0 -4
- package/dist/esm/lib2/features/ScheduleFeature/ScheduleSkeletonFeature.d.ts +0 -4
- package/dist/esm/lib2/features/ScheduleFeature/index.d.ts +0 -1
- package/dist/esm/lib2/features/ScheduleFeature/types.d.ts +0 -11
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { AriaListBoxProps, AriaCalendarProps, DateValue, AriaTabListProps } from
|
|
|
14
14
|
import { ToastStateProps, ToastState } from '@react-stately/toast';
|
|
15
15
|
import { AriaToastRegionProps } from '@react-aria/toast';
|
|
16
16
|
import { IonSearchbarCustomEvent, SearchbarChangeEventDetail, TextFieldTypes, IonInputCustomEvent, InputChangeEventDetail } from '@ionic/core';
|
|
17
|
+
import { User, SignInResult, SignInWithEmailAndPasswordOptions, LinkWithEmailAndPasswordOptions, CreateUserWithEmailAndPasswordOptions, SendPasswordResetEmailOptions } from '@capacitor-firebase/authentication';
|
|
17
18
|
import { MarkdownToJSX } from 'markdown-to-jsx';
|
|
18
19
|
|
|
19
20
|
interface ButtonProps$2 {
|
|
@@ -742,6 +743,7 @@ declare enum TypographyVariantsEnum {
|
|
|
742
743
|
Text12Regular = "Text/12 Regular",
|
|
743
744
|
Tabbar10Medium = "Tabbar/10 Medium",
|
|
744
745
|
Text8Regular = "Text/8 Regular",
|
|
746
|
+
Text8Semi = "Text/8 Semi",
|
|
745
747
|
Text7Regular = "Text/7 Regular",
|
|
746
748
|
Text6Regular = "Text/6 Regular",
|
|
747
749
|
Badge12Semi = "Badge/12 Semi",
|
|
@@ -1641,6 +1643,13 @@ type MindlyReview = {
|
|
|
1641
1643
|
|
|
1642
1644
|
type AllowFilterValueType = string | number | boolean;
|
|
1643
1645
|
type FilterValue = AllowFilterValueType | AllowFilterValueType[];
|
|
1646
|
+
type SortDirection = 'asc' | 'desc';
|
|
1647
|
+
type SortValue = string;
|
|
1648
|
+
type Sort = {
|
|
1649
|
+
value: SortValue;
|
|
1650
|
+
direction: SortDirection;
|
|
1651
|
+
};
|
|
1652
|
+
type SortKey = `${SortValue}:${SortDirection}`;
|
|
1644
1653
|
type FilterOptionValue = AllowFilterValueType;
|
|
1645
1654
|
type FilterOption = {
|
|
1646
1655
|
value?: AllowFilterValueType;
|
|
@@ -2129,6 +2138,8 @@ type DividerProps = {
|
|
|
2129
2138
|
variant?: 'default';
|
|
2130
2139
|
};
|
|
2131
2140
|
|
|
2141
|
+
declare const Divider: React__default.FC<DividerProps>;
|
|
2142
|
+
|
|
2132
2143
|
type EmptyListProps = {
|
|
2133
2144
|
className?: string;
|
|
2134
2145
|
t?: WithTranslation['t'];
|
|
@@ -2170,6 +2181,14 @@ type SolidInputProps = {
|
|
|
2170
2181
|
|
|
2171
2182
|
declare const SolidInput: React__default.ForwardRefExoticComponent<SolidInputProps & React__default.RefAttributes<HTMLIonInputElement>>;
|
|
2172
2183
|
|
|
2184
|
+
type CounterProps = {
|
|
2185
|
+
className?: string;
|
|
2186
|
+
variant?: 'default';
|
|
2187
|
+
size?: 'xs';
|
|
2188
|
+
};
|
|
2189
|
+
|
|
2190
|
+
declare const Counter: React__default.FC<CounterProps>;
|
|
2191
|
+
|
|
2173
2192
|
declare enum appThemes {
|
|
2174
2193
|
client = "client",
|
|
2175
2194
|
specialist = "specialist"
|
|
@@ -2227,6 +2246,28 @@ type SpecialistScheduleProviderRef = {
|
|
|
2227
2246
|
};
|
|
2228
2247
|
declare const SpecialistScheduleProvider: React__default.FC<Props$5>;
|
|
2229
2248
|
|
|
2249
|
+
type AuthContextType = {
|
|
2250
|
+
isAuthLoading: boolean;
|
|
2251
|
+
isAuthReady: boolean;
|
|
2252
|
+
authUser: User | null;
|
|
2253
|
+
signInAnonymously: () => Promise<SignInResult>;
|
|
2254
|
+
signInWithApple: () => Promise<SignInResult>;
|
|
2255
|
+
signInWithGoogle: () => Promise<SignInResult>;
|
|
2256
|
+
signInWithCustomToken: (token: string) => Promise<SignInResult>;
|
|
2257
|
+
signInWithEmailAndPassword: (options: SignInWithEmailAndPasswordOptions) => Promise<SignInResult>;
|
|
2258
|
+
linkWithApple: () => Promise<SignInResult>;
|
|
2259
|
+
linkWithGoogle: () => Promise<SignInResult>;
|
|
2260
|
+
linkWithEmailAndPassword: (options: LinkWithEmailAndPasswordOptions) => Promise<SignInResult>;
|
|
2261
|
+
signOut: () => Promise<void>;
|
|
2262
|
+
createUserWithEmailAndPassword: (options: CreateUserWithEmailAndPasswordOptions) => Promise<SignInResult>;
|
|
2263
|
+
sendPasswordResetEmail: (options: SendPasswordResetEmailOptions) => Promise<void>;
|
|
2264
|
+
changePassword: (newPassword: string) => Promise<void>;
|
|
2265
|
+
sendEmailVerification: () => Promise<void>;
|
|
2266
|
+
};
|
|
2267
|
+
|
|
2268
|
+
declare const AuthContext: React__default.Context<AuthContextType | null>;
|
|
2269
|
+
declare const AuthProvider: FC;
|
|
2270
|
+
|
|
2230
2271
|
declare function useDomRef<T extends HTMLElement = HTMLElement>(ref: React$1.RefObject<T | null> | React$1.ForwardedRef<T | null>): React$1.RefObject<T>;
|
|
2231
2272
|
|
|
2232
2273
|
type AnyFunction = (...args: any[]) => any;
|
|
@@ -2758,6 +2799,8 @@ interface IconProps extends React$1.SVGAttributes<SVGElement> {
|
|
|
2758
2799
|
}
|
|
2759
2800
|
declare function IconAlignHorizontalTextRight({ size, ...other }: IconProps): react_jsx_runtime.JSX.Element;
|
|
2760
2801
|
|
|
2802
|
+
declare const IconSort: React$1.FC<IconProps$H>;
|
|
2803
|
+
|
|
2761
2804
|
declare const formatByDigits: (value: number) => string;
|
|
2762
2805
|
declare const roundToPrecision: (value: number, decimals?: number) => number;
|
|
2763
2806
|
declare const getDateLocale: (locale: string) => Locale;
|
|
@@ -3439,7 +3482,10 @@ type FiltersWidgetProps = {
|
|
|
3439
3482
|
declare const getMappedFilterValue: (value?: FilterValue) => AllowFilterValueType[];
|
|
3440
3483
|
declare const getFiltersValues: (filters: FilterItem[]) => Record<string, FilterValue>;
|
|
3441
3484
|
declare const isFilterSet: (filtersValues: Record<string, FilterValue>) => boolean;
|
|
3485
|
+
declare const getFilterCount: (filtersValues: Record<string, FilterValue>) => number;
|
|
3442
3486
|
declare const getFiltersQuery: (filters: Record<string, FilterValue>) => string;
|
|
3487
|
+
declare const getSortKey: (sort: SortValue, direction: SortDirection) => string;
|
|
3488
|
+
declare const getSortFromKey: (key: SortKey) => Sort;
|
|
3443
3489
|
|
|
3444
3490
|
type SpecialistPreviewFeatureProps = {
|
|
3445
3491
|
specialist?: Specialist;
|
|
@@ -3817,6 +3863,148 @@ declare const ONBOARDING_THEME_DEFAULT_COLORS: Record<OnboardingVariant, {
|
|
|
3817
3863
|
defaultThemeColor: string;
|
|
3818
3864
|
}>;
|
|
3819
3865
|
|
|
3866
|
+
/**
|
|
3867
|
+
* Global Authentication State Manager
|
|
3868
|
+
*
|
|
3869
|
+
* This utility class manages the authentication readiness state across the entire application.
|
|
3870
|
+
* It ensures that HTTP requests and other auth-dependent operations wait for authentication
|
|
3871
|
+
* initialization to complete before proceeding.
|
|
3872
|
+
*
|
|
3873
|
+
* ## Usage Pattern:
|
|
3874
|
+
*
|
|
3875
|
+
* 1. **UI Library Internal**: The UI library calls `setReady()` when authentication initialization
|
|
3876
|
+
* is complete (e.g., after token validation, user session restoration, etc.)
|
|
3877
|
+
*
|
|
3878
|
+
* 2. **External Consumers**: Global states, HTTP interceptors, and other parts of the application
|
|
3879
|
+
* use `waitForReady()` or `getIsReady()` to ensure auth is initialized before making requests
|
|
3880
|
+
*
|
|
3881
|
+
* ## Example:
|
|
3882
|
+
*
|
|
3883
|
+
* ```typescript
|
|
3884
|
+
* // In UI library (AuthProvider):
|
|
3885
|
+
* globalAuthState.setReady(); // Called after auth initialization
|
|
3886
|
+
*
|
|
3887
|
+
* // In global states or HTTP clients:
|
|
3888
|
+
* await globalAuthState.waitForReady(); // Wait before making authenticated requests
|
|
3889
|
+
*
|
|
3890
|
+
* // In synchronous contexts:
|
|
3891
|
+
* if (globalAuthState.getIsReady()) {
|
|
3892
|
+
* // Proceed with auth-dependent operations
|
|
3893
|
+
* }
|
|
3894
|
+
* ```
|
|
3895
|
+
*
|
|
3896
|
+
* ## Thread Safety:
|
|
3897
|
+
* This class is designed to be safe for concurrent access. Multiple consumers can wait
|
|
3898
|
+
* for readiness simultaneously, and all will be notified when auth becomes ready.
|
|
3899
|
+
*/
|
|
3900
|
+
declare class GlobalAuthState {
|
|
3901
|
+
/** Internal flag tracking whether authentication is ready */
|
|
3902
|
+
private isReady;
|
|
3903
|
+
/** Promise that resolves when authentication becomes ready */
|
|
3904
|
+
private readyPromise;
|
|
3905
|
+
/** Function to resolve the readiness promise */
|
|
3906
|
+
private resolveReady;
|
|
3907
|
+
constructor();
|
|
3908
|
+
/**
|
|
3909
|
+
* Mark authentication as ready and notify all waiting consumers
|
|
3910
|
+
*
|
|
3911
|
+
* **INTERNAL USE ONLY**: This method should only be called by the UI library's
|
|
3912
|
+
* authentication provider when auth initialization is complete.
|
|
3913
|
+
*
|
|
3914
|
+
* This method is idempotent - calling it multiple times has no additional effect.
|
|
3915
|
+
*
|
|
3916
|
+
* @example
|
|
3917
|
+
* ```typescript
|
|
3918
|
+
* // In AuthProvider after successful initialization
|
|
3919
|
+
* globalAuthState.setReady();
|
|
3920
|
+
* ```
|
|
3921
|
+
*/
|
|
3922
|
+
setReady(): void;
|
|
3923
|
+
/**
|
|
3924
|
+
* Wait for authentication to be ready before proceeding
|
|
3925
|
+
*
|
|
3926
|
+
* **PUBLIC API**: This method is intended for use by global states, HTTP interceptors,
|
|
3927
|
+
* and other parts of the application that need to ensure auth is ready before proceeding.
|
|
3928
|
+
*
|
|
3929
|
+
* If auth is already ready, this method returns immediately. Otherwise, it waits
|
|
3930
|
+
* until `setReady()` is called.
|
|
3931
|
+
*
|
|
3932
|
+
* @returns Promise that resolves when authentication is ready
|
|
3933
|
+
*
|
|
3934
|
+
* @example
|
|
3935
|
+
* ```typescript
|
|
3936
|
+
* // In HTTP interceptor
|
|
3937
|
+
* async function makeAuthenticatedRequest(url: string) {
|
|
3938
|
+
* await globalAuthState.waitForReady();
|
|
3939
|
+
* return fetch(url, { headers: { Authorization: getToken() } });
|
|
3940
|
+
* }
|
|
3941
|
+
*
|
|
3942
|
+
* // In global state
|
|
3943
|
+
* async function initializeUserData() {
|
|
3944
|
+
* await globalAuthState.waitForReady();
|
|
3945
|
+
* // Now safe to make authenticated API calls
|
|
3946
|
+
* }
|
|
3947
|
+
* ```
|
|
3948
|
+
*/
|
|
3949
|
+
waitForReady(): Promise<void>;
|
|
3950
|
+
/**
|
|
3951
|
+
* Check if authentication is ready synchronously
|
|
3952
|
+
*
|
|
3953
|
+
* **PUBLIC API**: This method is intended for use in synchronous contexts where
|
|
3954
|
+
* you need to check auth readiness without waiting.
|
|
3955
|
+
*
|
|
3956
|
+
* @returns `true` if authentication is ready, `false` otherwise
|
|
3957
|
+
*
|
|
3958
|
+
* @example
|
|
3959
|
+
* ```typescript
|
|
3960
|
+
* // In a synchronous context
|
|
3961
|
+
* function canMakeAuthRequest(): boolean {
|
|
3962
|
+
* return globalAuthState.getIsReady();
|
|
3963
|
+
* }
|
|
3964
|
+
*
|
|
3965
|
+
* // In conditional logic
|
|
3966
|
+
* if (globalAuthState.getIsReady()) {
|
|
3967
|
+
* // Safe to access auth-dependent features
|
|
3968
|
+
* showUserDashboard();
|
|
3969
|
+
* } else {
|
|
3970
|
+
* // Show loading state
|
|
3971
|
+
* showAuthLoadingSpinner();
|
|
3972
|
+
* }
|
|
3973
|
+
* ```
|
|
3974
|
+
*/
|
|
3975
|
+
getIsReady(): boolean;
|
|
3976
|
+
/**
|
|
3977
|
+
* Reset the authentication ready state
|
|
3978
|
+
*
|
|
3979
|
+
* **PRIVATE METHOD**: This method is for internal use only (testing, re-initialization).
|
|
3980
|
+
* It should not be called by external consumers as it can cause race conditions
|
|
3981
|
+
* and unexpected behavior in production.
|
|
3982
|
+
*
|
|
3983
|
+
* Resets the state to unready and creates a new promise that consumers will wait on.
|
|
3984
|
+
*/
|
|
3985
|
+
private reset;
|
|
3986
|
+
}
|
|
3987
|
+
/**
|
|
3988
|
+
* Global singleton instance of the authentication state manager
|
|
3989
|
+
*
|
|
3990
|
+
* This is the main interface for interacting with authentication readiness state.
|
|
3991
|
+
* Import and use this instance throughout your application to coordinate auth-dependent operations.
|
|
3992
|
+
*
|
|
3993
|
+
* @example
|
|
3994
|
+
* ```typescript
|
|
3995
|
+
* import { globalAuthState } from './globalAuthState';
|
|
3996
|
+
*
|
|
3997
|
+
* // Wait for auth in async contexts
|
|
3998
|
+
* await globalAuthState.waitForReady();
|
|
3999
|
+
*
|
|
4000
|
+
* // Check auth state synchronously
|
|
4001
|
+
* if (globalAuthState.getIsReady()) {
|
|
4002
|
+
* // Proceed with authenticated operations
|
|
4003
|
+
* }
|
|
4004
|
+
* ```
|
|
4005
|
+
*/
|
|
4006
|
+
declare const globalAuthState: GlobalAuthState;
|
|
4007
|
+
|
|
3820
4008
|
type SpecialistCardProps = {
|
|
3821
4009
|
fullName?: string;
|
|
3822
4010
|
specialization?: string;
|
|
@@ -4369,6 +4557,7 @@ type SpecialistCardWithScheduleWidgetProps = {
|
|
|
4369
4557
|
onCardClick(): void;
|
|
4370
4558
|
currentUser?: UserType;
|
|
4371
4559
|
isBookingLoading?: boolean;
|
|
4560
|
+
children?: React.ReactNode;
|
|
4372
4561
|
events?: {
|
|
4373
4562
|
onVideoClick?(): void;
|
|
4374
4563
|
onScheduleDateChange?: (date: ScheduleDate, slots: ScheduleSlot[]) => void;
|
|
@@ -4381,4 +4570,4 @@ declare const _default: React__default.NamedExoticComponent<SpecialistCardWithSc
|
|
|
4381
4570
|
|
|
4382
4571
|
declare const SpecialistCardSkeleton: React__default.FC;
|
|
4383
4572
|
|
|
4384
|
-
export { AcceptAgreementFeature, Action, _default$Y as AlertCard, AllowFilterValueType, AppFooter, _default$X as AppFooter_v2, AppHeader, AppHeaderPage as AppHeaderPageFeature, AppHeader_v2, AppNotSupportedFeature, AutoComplete, Avatar, AvatarProps$1 as AvatarProps, _default$W as Avatar_v2, AvatarProps as Avatar_v2Props, BREAKPOINT_ICON_SIZE, _default$S as Badge, _default$$ as BookingScheduleTime, _default$_ as BookingSpecialistInfo, BreakPointPositionProps, BreakPointPositionResult, Button, Button_v2, CAN_MANAGE_SESSION_TIME_HOURS, COUNTRIES_MAPPER, Calendar, _default$z as CalendarPickerFeature, CancelSession, CardModal, ChangeLanguageModal, _default$1i as ChatListItem, _default$1g as ChatListSkeleton, _default$1h as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$d as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingComponentProps, CircleRatingContent, CircleRatingContext, CircleRatingContextData, CircleRatingContextProps, CircleRatingDataProps, CircleRatingDataResult, CircleRatingLegendProps, CircleRatingProvider, CircleRatingRange, CircleRatingSize, ClientCanAction, ClientCanParams, ClientSpecialistContractStatusEnum, CollapsableText, ConditionRulesType, Consultation, _default$1b as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$18 as ConsultationModal, _default$D as ConsultationPricingFeature, _default$16 as ConsultationSpecialistCard, ConsultationsListSkeleton, Container, Container_v2, ContentRendererProps, ContractDataFeature, ContractStatusEnum, ContentTree as ContractTreeFeature, CountdownTimerFeature, CountryOfOriginModal, CurrencyLocaleMapper, CurrencySignByLocale, CustomButton, _default$e as CustomCheckbox, CustomRadioButton, _default$f as CustomSelect, _default$g as CustomTextarea, DatePicker, _default$14 as DaySlider, DividerProps, DropdownFeature, DrumListPicker, DynamicCommissionValue, _default$10 as EducationCard, _default$1f as EmptyChatList, EmptyChatMessages, EmptyChatModalFeature, _default$19 as EmptyConsultations, EmptyList, EmptySpecialistListFeature, ErrorCardFeature, FilterFeatureProps, FilterItem, FilterItemBoolean, FilterItemChips, FilterItemRange, FilterItemSelect, FilterOption, FilterOptionValue, FilterValue, FiltersWidget, FiltersWidgetProps, FirstChatMessageModalFeature, _default$a as Flag, FlagTypes, _default$U as Flag_v2, FrequentlyAskedQuestions, GoogleCalendarModalFeature, HeaderWithRedirect, ISpecialistReview, IconAddModerator, IconAlignHorizontalTextCenter, IconAlignHorizontalTextLeft, IconAlignHorizontalTextRight, IconAmEx, IconAppStoreRating, IconApple, IconApplePay, IconArrowDown, IconArrowLeft, IconArrowRange, IconArrowRight, IconArrowTopRight, IconAttachMoney, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$O as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCalendarNew, IconCalendarWithDot, IconCancel, IconCancelBold, IconCancelRounded, IconCapFilled, IconChart, IconChat, IconChat3d, IconChat3dSmaller, IconChatFilled, IconChatOutline, IconCheck, IconCheckCircle, IconCheckSmall, IconCheckboxChecked, IconCheckboxCheckedBold, IconCheckboxThinUnchecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconCompare, IconContract, IconCopy, IconCreditCard, IconDelete, IconDivider, IconDocument, IconDot, IconDoubleArrow, IconEcgHeart, IconEdit, IconEditCalendar, IconEmptyList, IconEventBusy, IconExperience, IconEye, IconEyeOff, IconFilters, IconGallery, IconGift, IconGiftNew, IconGlobe, IconGoogle, IconGooglePay, IconHeart, IconHome, IconIdCard, IconInfo, IconInvisible, IconInvoice, IconLanguage, IconLeaderboard, IconLeftArrow, IconLetter, IconLink, IconLock, IconLogout, IconMaestro, IconManageAccounts, IconMastercard, IconMatching, IconMindly, IconMindlyColored, IconMindlyMini, IconMinus, IconMooving, IconMoreVertical, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPaperPencil, IconPause, IconPaywall, IconPersonAlert, IconPlay, IconPlus, IconPoweredByStripe, IconProfile, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconPromocode, IconProps$H as IconProps, IconQueryStats, IconQuestion, IconRadioButtonChecked, IconRadioPartial, IconReceipt, IconReceiptLong, IconRenew, IconResume, IconReviewSessionSubscription, IconReviewSessionTrial, IconSchedule, IconSchema, IconSearch, IconSecure, IconSend, IconSettings, IconShare, IconSpecialistsEnded, IconSpinner, IconStar, IconStarFilled, IconStudyHat, IconStylus, IconSuccess, IconSwitch, IconText, IconTime, IconTimeAdd, IconUnmute, IconUser, IconUserNotFound, IconVerifiedUser, IconVisa, IconVisible, IconWarning, ImageInput, ImageWithFallback, Input, InputSearch, _default$K as Item, _default$R as ItemCard, LabelArrowRedirect, _default$1k as LetterAvatar, _default$b as LineFileInput, ListBox, ListBoxItem, ListBoxItemProps, ListBoxProps, ListBoxSelectionType, ListItemType, _default$H as ListItemWithColumns, _default$L as ListItems, ListOption, ListOptionsProps, ListSelect, ListSelectProps, ListSimple, _default$M as Loading, LocaleCurrencyMapper, MapStatusContractToUIStatus, _default$s as MarkdownContainerFeature, _default$I as MatchProgress, _default$1j as MediaPlayer, MenuFeature, MindlyReview, MindlyReviewFeature, ModalSheet, NEAR_SESSION_TIME_SECONDS, NewSpecialist, NoInternetConnection, NotSupportModal, ONBOARDING_THEME_DEFAULT_COLORS, OnBoardingBaseScreenType, OnBoardingChartScreenPreviewFeature, OnBoardingChartScreenType, OnBoardingCompareScreenPreviewFeature, OnBoardingCompareScreenType, _default$k as OnBoardingConfirmScreenPreviewFeature, OnBoardingConfirmScreenType, _default$l as OnBoardingEmailScreenPreviewFeature, OnBoardingEmailScreenType, OnBoardingFlowType, OnBoardingGoalSelectScreenType, _default$j as OnBoardingGoalSelectionScreenPreviewFeature, OnBoardingGraphScreenPreviewFeature, OnBoardingGraphScreenType, _default$q as OnBoardingInfoScreenPreviewFeature, OnBoardingInfoScreenType, OnBoardingLoaderScreenPreviewFeature, OnBoardingLoaderScreenType, OnBoardingMultiSelectScreenType, _default$p as OnBoardingMultiSelectionScreenPreviewFeature, OnBoardingPaywallScreenPreviewFeature, OnBoardingPaywallScreenType, _default$n as OnBoardingProgressFeature, _default$m as OnBoardingReviewsScreenPreviewFeature, OnBoardingReviewsScreenType, OnBoardingScreenAlertType, OnBoardingScreenButtonType, OnBoardingScreenDescriptionType, OnBoardingScreenEmailType, OnBoardingScreenErrorsType, OnBoardingScreenOptionType, OnBoardingScreenOptionWithScaleType, OnBoardingScreenOptions, OnBoardingScreenPasswordType, OnBoardingScreenPrivacyType, OnBoardingScreenSkipButtonType, OnBoardingScreenStyleOptions, OnBoardingScreenSubgoalButtonType, OnBoardingScreenTranslationsType, OnBoardingScreensType, OnBoardingSingleImageSelectScreenType, OnBoardingSingleRoundImageSelectScreenType, OnBoardingSingleScaleSelectScreenType, OnBoardingSingleSelectScreenType, _default$o as OnBoardingSingleSelectionScreenPreviewFeature, _default$r as OnBoardingStartScreenPreviewFeature, OnBoardingStartScreenType, OnboardingVariant, OutdatedPersonalDataFeature, PasswordInput, PaymentBadgeType, _default$y as PaymentCalendarFeature, PaymentCalendarFeatureProps, _default$A as PaymentSessionsList, _default$T as Picture, PoweredByStripeFeature, _default$9 as ProfileInformation, _default$12 as ProfileView, _default$c as ProgressBar, ProgressBarDashed, _default$N as ProgressBar_v2, ProgressRangeProps, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$P as Rating, RatingCircleWrapper, _default$15 as ReSchedule, ReScheduleSuccess, Refresher, ResponseFileType, ReviewCard, _default$x as ReviewCardFeature, ReviewListFeature, ReviewStatistics, ReviewSubscriptionSessionFeature, ReviewSubscriptionSessionFeatureProps, ReviewSwiperSection, ReviewTrialSessionFeature, ReviewTrialSessionFeatureProps, ReviewsCardFeatureSkeleton, ReviewsSummary, RoundButton, RowItemType, RowSelect, RowSelectProps, Rule, SIZES, SOON_SESSION_TIME_SECONDS, Schedule, ScheduleDate, ScheduleSlot, _default$v as ScreenDrumPickerFormFeature, ScreenInput, _default$w as ScreenInputFormFeature, ScreenInputUpdateFeature, SectionHeading, Segment, SegmentColor, SegmentType, SelectItemType, _default$t as SelectWithSearchFormFeature, Session, SessionDetailWidget, SessionPaymentsWidget, SessionPreviewFeature, SessionReview$1 as SessionReview, SessionTime, SessionVariant, SessionsWidget as SessionsListWidget, SessionsWidgetProps, Sex, ShareModalFeature, ShortCurrencySignByLocale, ShortTranscriptionCurrencySignByLocale, _default$G as ShowMore, _default$1a as SignUpSessionButton, _default$17 as SignUpSessionModal, SizeValues, Skeleton, _default$V as Skeleton_v2, _default$F as SlotsGrid, _default$E as SlotsGridItem, SolidInput, Specialist, _default$11 as SpecialistAbout, SpecialistAreaList as SpecialistAreaListFeature, SpecialistCard, SpecialistCardListWidget, _default$6 as SpecialistCardWidget, SpecialistCardSkeleton as SpecialistCardWithScheduleSkeleton, _default as SpecialistCardWithScheduleWidget, SpecialistConsultation, SpecialistConsultationPayment, _default$3 as SpecialistDetailWidget, SpecialistDetailWidgetSkeleton, SpecialistDetailWithTabsSkeleton, _default$1 as SpecialistDetailWithTabsWidget, SpecialistEducation, SpecialistEducationsFeature, SpecialistInfoColumnFeature, SpecialistLangs, _default$8 as SpecialistMatch, SpecialistOrderType, SpecialistPaymentCardProps, _default$C as SpecialistPaymentCommonCardFeature, SpecialistPaymentCommonCardSkeleton, SpecialistPaymentConsultationDetailsType, _default$B as SpecialistPaymentConsultationsFeature, SpecialistPaymentConsultationsProps, SpecialistPaymentCurrencyProps, _default$4 as SpecialistPaymentResumeWidget, SpecialistPaymentResumeWidgetType, SpecialistPaymentTabs, _default$5 as SpecialistPaymentWidget, SpecialistPaymentWidgetType, SpecialistPreviewFeature, SpecialistPreviewListWidget, _default$2 as SpecialistPreviewWidget, SpecialistProfileNotFound, SpecialistReview$1 as SpecialistReview, SpecialistScheduleFeature, SpecialistScheduleProvider, SpecialistScheduleProviderRef, ScheduleSkeleton as SpecialistScheduleSkeletonFeature, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$7 as SpecialistStatistic, Spinner, Spinner_v2, StarRating, StatisticsScroll, StripeSupportedCurrency, Subscription, SubscriptionStatuses, SuccessScreen, SuperSpecialist, SupportedCurrency, SupportedLangs, SwitchDeviceCard, TabItem, Tabs$1 as Tabs, TabsFeature, TabsFeatureSkeleton, TabsToolbarFeature, Tag, Tariff, TariffFeature, _default$u as TextAreaFormFeature, _default$h as TextInput, _default$i as TextWithClampFeature, _default$1e as Textarea, _default$Q as Textarea_v2, ThemeProvider, ThemeProviderProps, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, TranslationMock, TranslationType, TreeNode, _default$Z as Typography, TypographyVariantsEnum, UpdateContractWidget, UpdatesCard, UserInfoModal, UserType, VariantType, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$J as Video, _default$1c as VideoCallInfo, _default$1d as VideoPlayer, VideoProvider, _default$13 as WorkDirections, appThemes, canManageSession, currentUser, decOfNum, formatByDigits, getCountryKeyByName, getDateLocale, getFiltersQuery, getFiltersValues, getGMTOffset, getMappedFilterValue, getMockSchedule, getMonthNameInGenitive, getProgressForBreakPoint, getSessionTimeLabel, getSessionVariant, getSessionsByDay, getSessionsByMonth, getSessionsByYear, getSignAgreementsTabs, getStartSessionDate, getStartSessionTimestamp, isClientCan, isFilterSet, isNewSpecialist, isSpecialistActive, isSpecialistBlocked, isSpecialistPublic, isSuperSpecialist, listReviews, mergeRefs, mockSession, mockSessions, mockT, newShade, priceNormalize, replaceMarkdownWithReactElements, roundToPrecision, specialist, splitSessions, toast, useAutoFocus, useBreakPointsPosition, useCircleRatingRenderData, useDeepCompareEffect, useDeepUpdateEffect, useDelayMount, useDomRef, useElementWidth, useEvent, useIsKeyBoardShown, useRangeIndex, useRatingCircleBreakPoints, useRatingCircleContentValue, useRatingCircleLegend, useRatingContext, useSpecialistScheduleContext, useStopPropagationEvent, useToastContext, useUpdateEffect, useVideoContext, withSpecialistScheduleContext };
|
|
4573
|
+
export { AcceptAgreementFeature, Action, _default$Y as AlertCard, AllowFilterValueType, AppFooter, _default$X as AppFooter_v2, AppHeader, AppHeaderPage as AppHeaderPageFeature, AppHeader_v2, AppNotSupportedFeature, AuthContext, AuthProvider, AutoComplete, Avatar, AvatarProps$1 as AvatarProps, _default$W as Avatar_v2, AvatarProps as Avatar_v2Props, BREAKPOINT_ICON_SIZE, _default$S as Badge, _default$$ as BookingScheduleTime, _default$_ as BookingSpecialistInfo, BreakPointPositionProps, BreakPointPositionResult, Button, Button_v2, CAN_MANAGE_SESSION_TIME_HOURS, COUNTRIES_MAPPER, Calendar, _default$z as CalendarPickerFeature, CancelSession, CardModal, ChangeLanguageModal, _default$1i as ChatListItem, _default$1g as ChatListSkeleton, _default$1h as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$d as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingComponentProps, CircleRatingContent, CircleRatingContext, CircleRatingContextData, CircleRatingContextProps, CircleRatingDataProps, CircleRatingDataResult, CircleRatingLegendProps, CircleRatingProvider, CircleRatingRange, CircleRatingSize, ClientCanAction, ClientCanParams, ClientSpecialistContractStatusEnum, CollapsableText, ConditionRulesType, Consultation, _default$1b as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$18 as ConsultationModal, _default$D as ConsultationPricingFeature, _default$16 as ConsultationSpecialistCard, ConsultationsListSkeleton, Container, Container_v2, ContentRendererProps, ContractDataFeature, ContractStatusEnum, ContentTree as ContractTreeFeature, CountdownTimerFeature, Counter, CounterProps, CountryOfOriginModal, CurrencyLocaleMapper, CurrencySignByLocale, CustomButton, _default$e as CustomCheckbox, CustomRadioButton, _default$f as CustomSelect, _default$g as CustomTextarea, DatePicker, _default$14 as DaySlider, Divider, DividerProps, DropdownFeature, DrumListPicker, DynamicCommissionValue, _default$10 as EducationCard, _default$1f as EmptyChatList, EmptyChatMessages, EmptyChatModalFeature, _default$19 as EmptyConsultations, EmptyList, EmptySpecialistListFeature, ErrorCardFeature, FilterFeatureProps, FilterItem, FilterItemBoolean, FilterItemChips, FilterItemRange, FilterItemSelect, FilterOption, FilterOptionValue, FilterValue, FiltersWidget, FiltersWidgetProps, FirstChatMessageModalFeature, _default$a as Flag, FlagTypes, _default$U as Flag_v2, FrequentlyAskedQuestions, GoogleCalendarModalFeature, HeaderWithRedirect, ISpecialistReview, IconAddModerator, IconAlignHorizontalTextCenter, IconAlignHorizontalTextLeft, IconAlignHorizontalTextRight, IconAmEx, IconAppStoreRating, IconApple, IconApplePay, IconArrowDown, IconArrowLeft, IconArrowRange, IconArrowRight, IconArrowTopRight, IconAttachMoney, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$O as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCalendarNew, IconCalendarWithDot, IconCancel, IconCancelBold, IconCancelRounded, IconCapFilled, IconChart, IconChat, IconChat3d, IconChat3dSmaller, IconChatFilled, IconChatOutline, IconCheck, IconCheckCircle, IconCheckSmall, IconCheckboxChecked, IconCheckboxCheckedBold, IconCheckboxThinUnchecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconCompare, IconContract, IconCopy, IconCreditCard, IconDelete, IconDivider, IconDocument, IconDot, IconDoubleArrow, IconEcgHeart, IconEdit, IconEditCalendar, IconEmptyList, IconEventBusy, IconExperience, IconEye, IconEyeOff, IconFilters, IconGallery, IconGift, IconGiftNew, IconGlobe, IconGoogle, IconGooglePay, IconHeart, IconHome, IconIdCard, IconInfo, IconInvisible, IconInvoice, IconLanguage, IconLeaderboard, IconLeftArrow, IconLetter, IconLink, IconLock, IconLogout, IconMaestro, IconManageAccounts, IconMastercard, IconMatching, IconMindly, IconMindlyColored, IconMindlyMini, IconMinus, IconMooving, IconMoreVertical, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPaperPencil, IconPause, IconPaywall, IconPersonAlert, IconPlay, IconPlus, IconPoweredByStripe, IconProfile, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconPromocode, IconProps$H as IconProps, IconQueryStats, IconQuestion, IconRadioButtonChecked, IconRadioPartial, IconReceipt, IconReceiptLong, IconRenew, IconResume, IconReviewSessionSubscription, IconReviewSessionTrial, IconSchedule, IconSchema, IconSearch, IconSecure, IconSend, IconSettings, IconShare, IconSort, IconSpecialistsEnded, IconSpinner, IconStar, IconStarFilled, IconStudyHat, IconStylus, IconSuccess, IconSwitch, IconText, IconTime, IconTimeAdd, IconUnmute, IconUser, IconUserNotFound, IconVerifiedUser, IconVisa, IconVisible, IconWarning, ImageInput, ImageWithFallback, Input, InputSearch, _default$K as Item, _default$R as ItemCard, LabelArrowRedirect, _default$1k as LetterAvatar, _default$b as LineFileInput, ListBox, ListBoxItem, ListBoxItemProps, ListBoxProps, ListBoxSelectionType, ListItemType, _default$H as ListItemWithColumns, _default$L as ListItems, ListOption, ListOptionsProps, ListSelect, ListSelectProps, ListSimple, _default$M as Loading, LocaleCurrencyMapper, MapStatusContractToUIStatus, _default$s as MarkdownContainerFeature, _default$I as MatchProgress, _default$1j as MediaPlayer, MenuFeature, MindlyReview, MindlyReviewFeature, ModalSheet, NEAR_SESSION_TIME_SECONDS, NewSpecialist, NoInternetConnection, NotSupportModal, ONBOARDING_THEME_DEFAULT_COLORS, OnBoardingBaseScreenType, OnBoardingChartScreenPreviewFeature, OnBoardingChartScreenType, OnBoardingCompareScreenPreviewFeature, OnBoardingCompareScreenType, _default$k as OnBoardingConfirmScreenPreviewFeature, OnBoardingConfirmScreenType, _default$l as OnBoardingEmailScreenPreviewFeature, OnBoardingEmailScreenType, OnBoardingFlowType, OnBoardingGoalSelectScreenType, _default$j as OnBoardingGoalSelectionScreenPreviewFeature, OnBoardingGraphScreenPreviewFeature, OnBoardingGraphScreenType, _default$q as OnBoardingInfoScreenPreviewFeature, OnBoardingInfoScreenType, OnBoardingLoaderScreenPreviewFeature, OnBoardingLoaderScreenType, OnBoardingMultiSelectScreenType, _default$p as OnBoardingMultiSelectionScreenPreviewFeature, OnBoardingPaywallScreenPreviewFeature, OnBoardingPaywallScreenType, _default$n as OnBoardingProgressFeature, _default$m as OnBoardingReviewsScreenPreviewFeature, OnBoardingReviewsScreenType, OnBoardingScreenAlertType, OnBoardingScreenButtonType, OnBoardingScreenDescriptionType, OnBoardingScreenEmailType, OnBoardingScreenErrorsType, OnBoardingScreenOptionType, OnBoardingScreenOptionWithScaleType, OnBoardingScreenOptions, OnBoardingScreenPasswordType, OnBoardingScreenPrivacyType, OnBoardingScreenSkipButtonType, OnBoardingScreenStyleOptions, OnBoardingScreenSubgoalButtonType, OnBoardingScreenTranslationsType, OnBoardingScreensType, OnBoardingSingleImageSelectScreenType, OnBoardingSingleRoundImageSelectScreenType, OnBoardingSingleScaleSelectScreenType, OnBoardingSingleSelectScreenType, _default$o as OnBoardingSingleSelectionScreenPreviewFeature, _default$r as OnBoardingStartScreenPreviewFeature, OnBoardingStartScreenType, OnboardingVariant, OutdatedPersonalDataFeature, PasswordInput, PaymentBadgeType, _default$y as PaymentCalendarFeature, PaymentCalendarFeatureProps, _default$A as PaymentSessionsList, _default$T as Picture, PoweredByStripeFeature, _default$9 as ProfileInformation, _default$12 as ProfileView, _default$c as ProgressBar, ProgressBarDashed, _default$N as ProgressBar_v2, ProgressRangeProps, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$P as Rating, RatingCircleWrapper, _default$15 as ReSchedule, ReScheduleSuccess, Refresher, ResponseFileType, ReviewCard, _default$x as ReviewCardFeature, ReviewListFeature, ReviewStatistics, ReviewSubscriptionSessionFeature, ReviewSubscriptionSessionFeatureProps, ReviewSwiperSection, ReviewTrialSessionFeature, ReviewTrialSessionFeatureProps, ReviewsCardFeatureSkeleton, ReviewsSummary, RoundButton, RowItemType, RowSelect, RowSelectProps, Rule, SIZES, SOON_SESSION_TIME_SECONDS, Schedule, ScheduleDate, ScheduleSlot, _default$v as ScreenDrumPickerFormFeature, ScreenInput, _default$w as ScreenInputFormFeature, ScreenInputUpdateFeature, SectionHeading, Segment, SegmentColor, SegmentType, SelectItemType, _default$t as SelectWithSearchFormFeature, Session, SessionDetailWidget, SessionPaymentsWidget, SessionPreviewFeature, SessionReview$1 as SessionReview, SessionTime, SessionVariant, SessionsWidget as SessionsListWidget, SessionsWidgetProps, Sex, ShareModalFeature, ShortCurrencySignByLocale, ShortTranscriptionCurrencySignByLocale, _default$G as ShowMore, _default$1a as SignUpSessionButton, _default$17 as SignUpSessionModal, SizeValues, Skeleton, _default$V as Skeleton_v2, _default$F as SlotsGrid, _default$E as SlotsGridItem, SolidInput, Sort, SortDirection, SortKey, SortValue, Specialist, _default$11 as SpecialistAbout, SpecialistAreaList as SpecialistAreaListFeature, SpecialistCard, SpecialistCardListWidget, _default$6 as SpecialistCardWidget, SpecialistCardSkeleton as SpecialistCardWithScheduleSkeleton, _default as SpecialistCardWithScheduleWidget, SpecialistConsultation, SpecialistConsultationPayment, _default$3 as SpecialistDetailWidget, SpecialistDetailWidgetSkeleton, SpecialistDetailWithTabsSkeleton, _default$1 as SpecialistDetailWithTabsWidget, SpecialistEducation, SpecialistEducationsFeature, SpecialistInfoColumnFeature, SpecialistLangs, _default$8 as SpecialistMatch, SpecialistOrderType, SpecialistPaymentCardProps, _default$C as SpecialistPaymentCommonCardFeature, SpecialistPaymentCommonCardSkeleton, SpecialistPaymentConsultationDetailsType, _default$B as SpecialistPaymentConsultationsFeature, SpecialistPaymentConsultationsProps, SpecialistPaymentCurrencyProps, _default$4 as SpecialistPaymentResumeWidget, SpecialistPaymentResumeWidgetType, SpecialistPaymentTabs, _default$5 as SpecialistPaymentWidget, SpecialistPaymentWidgetType, SpecialistPreviewFeature, SpecialistPreviewListWidget, _default$2 as SpecialistPreviewWidget, SpecialistProfileNotFound, SpecialistReview$1 as SpecialistReview, SpecialistScheduleFeature, SpecialistScheduleProvider, SpecialistScheduleProviderRef, ScheduleSkeleton as SpecialistScheduleSkeletonFeature, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$7 as SpecialistStatistic, Spinner, Spinner_v2, StarRating, StatisticsScroll, StripeSupportedCurrency, Subscription, SubscriptionStatuses, SuccessScreen, SuperSpecialist, SupportedCurrency, SupportedLangs, SwitchDeviceCard, TabItem, Tabs$1 as Tabs, TabsFeature, TabsFeatureSkeleton, TabsToolbarFeature, Tag, Tariff, TariffFeature, _default$u as TextAreaFormFeature, _default$h as TextInput, _default$i as TextWithClampFeature, _default$1e as Textarea, _default$Q as Textarea_v2, ThemeProvider, ThemeProviderProps, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, TranslationMock, TranslationType, TreeNode, _default$Z as Typography, TypographyVariantsEnum, UpdateContractWidget, UpdatesCard, UserInfoModal, UserType, VariantType, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$J as Video, _default$1c as VideoCallInfo, _default$1d as VideoPlayer, VideoProvider, _default$13 as WorkDirections, appThemes, canManageSession, currentUser, decOfNum, formatByDigits, getCountryKeyByName, getDateLocale, getFilterCount, getFiltersQuery, getFiltersValues, getGMTOffset, getMappedFilterValue, getMockSchedule, getMonthNameInGenitive, getProgressForBreakPoint, getSessionTimeLabel, getSessionVariant, getSessionsByDay, getSessionsByMonth, getSessionsByYear, getSignAgreementsTabs, getSortFromKey, getSortKey, getStartSessionDate, getStartSessionTimestamp, globalAuthState, isClientCan, isFilterSet, isNewSpecialist, isSpecialistActive, isSpecialistBlocked, isSpecialistPublic, isSuperSpecialist, listReviews, mergeRefs, mockSession, mockSessions, mockT, newShade, priceNormalize, replaceMarkdownWithReactElements, roundToPrecision, specialist, splitSessions, toast, useAutoFocus, useBreakPointsPosition, useCircleRatingRenderData, useDeepCompareEffect, useDeepUpdateEffect, useDelayMount, useDomRef, useElementWidth, useEvent, useIsKeyBoardShown, useRangeIndex, useRatingCircleBreakPoints, useRatingCircleContentValue, useRatingCircleLegend, useRatingContext, useSpecialistScheduleContext, useStopPropagationEvent, useToastContext, useUpdateEffect, useVideoContext, withSpecialistScheduleContext };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindly/ui-components",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.5.0-dev.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rimraf dist",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/polyfill": "7.12.1",
|
|
19
|
+
"@capacitor-firebase/authentication": "^7.3.0",
|
|
19
20
|
"@capacitor/clipboard": "7.0.1",
|
|
20
21
|
"@capacitor/haptics": "7.0.1",
|
|
21
22
|
"@capacitor/keyboard": "7.0.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ScheduleFeature } from './ScheduleFeature';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { WithTranslation } from 'react-i18next';
|
|
2
|
-
import { Schedule, ScheduleDate, ScheduleSlot } from '../../shared/types';
|
|
3
|
-
export type ScheduleFeatureProps = {
|
|
4
|
-
isLoading?: boolean;
|
|
5
|
-
className?: string;
|
|
6
|
-
t?: WithTranslation['t'];
|
|
7
|
-
schedule?: Schedule;
|
|
8
|
-
locale?: string;
|
|
9
|
-
onDateClick?: (date: ScheduleDate, slots: ScheduleSlot[]) => void;
|
|
10
|
-
onSlotClick?: (slot: ScheduleSlot) => void;
|
|
11
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ScheduleFeature } from './ScheduleFeature';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { WithTranslation } from 'react-i18next';
|
|
2
|
-
import { Schedule, ScheduleDate, ScheduleSlot } from '../../shared/types';
|
|
3
|
-
export type ScheduleFeatureProps = {
|
|
4
|
-
isLoading?: boolean;
|
|
5
|
-
className?: string;
|
|
6
|
-
t?: WithTranslation['t'];
|
|
7
|
-
schedule?: Schedule;
|
|
8
|
-
locale?: string;
|
|
9
|
-
onDateClick?: (date: ScheduleDate, slots: ScheduleSlot[]) => void;
|
|
10
|
-
onSlotClick?: (slot: ScheduleSlot) => void;
|
|
11
|
-
};
|