@mindly/ui-components 6.5.9 → 6.6.0-dev.10
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/features/AcceptAgreementFeature/AcceptAgreemnetFeature.d.ts +0 -1
- package/dist/cjs/lib2/features/GoogleCalendarModalFeature/GoogleCalendarModalFeature.d.ts +0 -1
- package/dist/cjs/lib2/features/OutdatedPersonalDataFeature/OutdatedPersonalDataFeature.d.ts +0 -1
- package/dist/cjs/lib2/features/PushNotificationsIsDisabledBanner/PushNotificationsIsDisabledBanner.d.ts +0 -1
- package/dist/cjs/lib2/features/PushNotificationsModal/PushNotificationsModal.d.ts +0 -1
- package/dist/cjs/lib2/shared/assets/icons/IconMinus.d.ts +0 -1
- package/dist/cjs/lib2/shared/providers/AuthProvider/AuthProvider.d.ts +12 -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/specialistTypes.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Calendar/Calendar.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Calendar/VerticalCalendar.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Calendar/VerticalCalendarMonthSkeleton.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Calendar/VerticalCalendarSkeleton.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/ListBox/ListBox.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxDefaultItem.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxIconItem.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/RatingCircle/RatingCircleIcons.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Tabs/Tab.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Tabs/TabPanel.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Tabs/Tabs.d.ts +0 -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/SpecialistDetailWidget/SpecialistDetailWidgetSkeleton.d.ts +0 -1
- package/dist/cjs/lib2/widgets/SpecialistDetailWidget/types.d.ts +0 -5
- package/dist/cjs/lib2/widgets/SpecialistDetailWithTabsWidget/SpecialistDetailWithTabsSkeleton.d.ts +0 -1
- package/dist/cjs/lib2/widgets/SpecialistDetailWithTabsWidget/types.d.ts +0 -5
- package/dist/cjs/lib2/widgets/UpdateContractWidget/UpdateContractWidget.d.ts +0 -1
- 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/features/AcceptAgreementFeature/AcceptAgreemnetFeature.d.ts +0 -1
- package/dist/esm/lib2/features/GoogleCalendarModalFeature/GoogleCalendarModalFeature.d.ts +0 -1
- package/dist/esm/lib2/features/OutdatedPersonalDataFeature/OutdatedPersonalDataFeature.d.ts +0 -1
- package/dist/esm/lib2/features/PushNotificationsIsDisabledBanner/PushNotificationsIsDisabledBanner.d.ts +0 -1
- package/dist/esm/lib2/features/PushNotificationsModal/PushNotificationsModal.d.ts +0 -1
- package/dist/esm/lib2/shared/assets/icons/IconMinus.d.ts +0 -1
- package/dist/esm/lib2/shared/providers/AuthProvider/AuthProvider.d.ts +12 -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/specialistTypes.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Calendar/Calendar.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Calendar/VerticalCalendar.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Calendar/VerticalCalendarMonthSkeleton.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Calendar/VerticalCalendarSkeleton.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/ListBox/ListBox.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxDefaultItem.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxIconItem.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/RatingCircle/RatingCircleIcons.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Tabs/Tab.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Tabs/TabPanel.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Tabs/Tabs.d.ts +0 -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/SpecialistDetailWidget/SpecialistDetailWidgetSkeleton.d.ts +0 -1
- package/dist/esm/lib2/widgets/SpecialistDetailWidget/types.d.ts +0 -5
- package/dist/esm/lib2/widgets/SpecialistDetailWithTabsWidget/SpecialistDetailWithTabsSkeleton.d.ts +0 -1
- package/dist/esm/lib2/widgets/SpecialistDetailWithTabsWidget/types.d.ts +0 -5
- package/dist/esm/lib2/widgets/UpdateContractWidget/UpdateContractWidget.d.ts +0 -1
- package/dist/index.d.ts +172 -12
- package/package.json +3 -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 {
|
|
@@ -1597,7 +1598,6 @@ type Specialist = {
|
|
|
1597
1598
|
about?: string;
|
|
1598
1599
|
areas_of_work: Array<string> | [];
|
|
1599
1600
|
areas_of_work_by_client_problem: Array<string> | [];
|
|
1600
|
-
localized_areas_of_work_by_client_problem: string[];
|
|
1601
1601
|
therapy_description?: string;
|
|
1602
1602
|
avatar_link?: string;
|
|
1603
1603
|
time_zone: string;
|
|
@@ -2264,6 +2264,34 @@ type SpecialistScheduleProviderRef = {
|
|
|
2264
2264
|
};
|
|
2265
2265
|
declare const SpecialistScheduleProvider: React__default.FC<Props$5>;
|
|
2266
2266
|
|
|
2267
|
+
type AuthContextType = {
|
|
2268
|
+
isAuthLoading: boolean;
|
|
2269
|
+
isAuthReady: boolean;
|
|
2270
|
+
authUser: User | null;
|
|
2271
|
+
signInAnonymously: () => Promise<SignInResult>;
|
|
2272
|
+
signInWithApple: () => Promise<SignInResult>;
|
|
2273
|
+
signInWithGoogle: () => Promise<SignInResult>;
|
|
2274
|
+
signInWithCustomToken: (token: string) => Promise<SignInResult>;
|
|
2275
|
+
signInWithEmailAndPassword: (options: SignInWithEmailAndPasswordOptions) => Promise<SignInResult>;
|
|
2276
|
+
linkWithApple: () => Promise<SignInResult>;
|
|
2277
|
+
linkWithGoogle: () => Promise<SignInResult>;
|
|
2278
|
+
linkWithEmailAndPassword: (options: LinkWithEmailAndPasswordOptions) => Promise<SignInResult>;
|
|
2279
|
+
signOut: () => Promise<void>;
|
|
2280
|
+
createUserWithEmailAndPassword: (options: CreateUserWithEmailAndPasswordOptions) => Promise<SignInResult>;
|
|
2281
|
+
sendPasswordResetEmail: (options: SendPasswordResetEmailOptions) => Promise<void>;
|
|
2282
|
+
changePassword: (newPassword: string) => Promise<void>;
|
|
2283
|
+
sendEmailVerification: () => Promise<void>;
|
|
2284
|
+
};
|
|
2285
|
+
|
|
2286
|
+
declare const AuthContext: React$1.Context<AuthContextType | null>;
|
|
2287
|
+
type AuthProviderProps = {
|
|
2288
|
+
/**
|
|
2289
|
+
* REMOVE WHEN WE MOVE AUTH TO NATIVE CAPACITOR PLUGIN
|
|
2290
|
+
*/
|
|
2291
|
+
webAuthListener?: (callback: (user: User | null) => void) => () => void;
|
|
2292
|
+
};
|
|
2293
|
+
declare const AuthProvider: FC<AuthProviderProps>;
|
|
2294
|
+
|
|
2267
2295
|
declare function useDomRef<T extends HTMLElement = HTMLElement>(ref: React$1.RefObject<T | null> | React$1.ForwardedRef<T | null>): React$1.RefObject<T>;
|
|
2268
2296
|
|
|
2269
2297
|
type AnyFunction = (...args: any[]) => any;
|
|
@@ -3864,6 +3892,148 @@ declare const ONBOARDING_THEME_DEFAULT_COLORS: Record<OnboardingVariant, {
|
|
|
3864
3892
|
defaultThemeColor: string;
|
|
3865
3893
|
}>;
|
|
3866
3894
|
|
|
3895
|
+
/**
|
|
3896
|
+
* Global Authentication State Manager
|
|
3897
|
+
*
|
|
3898
|
+
* This utility class manages the authentication readiness state across the entire application.
|
|
3899
|
+
* It ensures that HTTP requests and other auth-dependent operations wait for authentication
|
|
3900
|
+
* initialization to complete before proceeding.
|
|
3901
|
+
*
|
|
3902
|
+
* ## Usage Pattern:
|
|
3903
|
+
*
|
|
3904
|
+
* 1. **UI Library Internal**: The UI library calls `setReady()` when authentication initialization
|
|
3905
|
+
* is complete (e.g., after token validation, user session restoration, etc.)
|
|
3906
|
+
*
|
|
3907
|
+
* 2. **External Consumers**: Global states, HTTP interceptors, and other parts of the application
|
|
3908
|
+
* use `waitForReady()` or `getIsReady()` to ensure auth is initialized before making requests
|
|
3909
|
+
*
|
|
3910
|
+
* ## Example:
|
|
3911
|
+
*
|
|
3912
|
+
* ```typescript
|
|
3913
|
+
* // In UI library (AuthProvider):
|
|
3914
|
+
* globalAuthState.setReady(); // Called after auth initialization
|
|
3915
|
+
*
|
|
3916
|
+
* // In global states or HTTP clients:
|
|
3917
|
+
* await globalAuthState.waitForReady(); // Wait before making authenticated requests
|
|
3918
|
+
*
|
|
3919
|
+
* // In synchronous contexts:
|
|
3920
|
+
* if (globalAuthState.getIsReady()) {
|
|
3921
|
+
* // Proceed with auth-dependent operations
|
|
3922
|
+
* }
|
|
3923
|
+
* ```
|
|
3924
|
+
*
|
|
3925
|
+
* ## Thread Safety:
|
|
3926
|
+
* This class is designed to be safe for concurrent access. Multiple consumers can wait
|
|
3927
|
+
* for readiness simultaneously, and all will be notified when auth becomes ready.
|
|
3928
|
+
*/
|
|
3929
|
+
declare class GlobalAuthState {
|
|
3930
|
+
/** Internal flag tracking whether authentication is ready */
|
|
3931
|
+
private isReady;
|
|
3932
|
+
/** Promise that resolves when authentication becomes ready */
|
|
3933
|
+
private readyPromise;
|
|
3934
|
+
/** Function to resolve the readiness promise */
|
|
3935
|
+
private resolveReady;
|
|
3936
|
+
constructor();
|
|
3937
|
+
/**
|
|
3938
|
+
* Mark authentication as ready and notify all waiting consumers
|
|
3939
|
+
*
|
|
3940
|
+
* **INTERNAL USE ONLY**: This method should only be called by the UI library's
|
|
3941
|
+
* authentication provider when auth initialization is complete.
|
|
3942
|
+
*
|
|
3943
|
+
* This method is idempotent - calling it multiple times has no additional effect.
|
|
3944
|
+
*
|
|
3945
|
+
* @example
|
|
3946
|
+
* ```typescript
|
|
3947
|
+
* // In AuthProvider after successful initialization
|
|
3948
|
+
* globalAuthState.setReady();
|
|
3949
|
+
* ```
|
|
3950
|
+
*/
|
|
3951
|
+
setReady(): void;
|
|
3952
|
+
/**
|
|
3953
|
+
* Wait for authentication to be ready before proceeding
|
|
3954
|
+
*
|
|
3955
|
+
* **PUBLIC API**: This method is intended for use by global states, HTTP interceptors,
|
|
3956
|
+
* and other parts of the application that need to ensure auth is ready before proceeding.
|
|
3957
|
+
*
|
|
3958
|
+
* If auth is already ready, this method returns immediately. Otherwise, it waits
|
|
3959
|
+
* until `setReady()` is called.
|
|
3960
|
+
*
|
|
3961
|
+
* @returns Promise that resolves when authentication is ready
|
|
3962
|
+
*
|
|
3963
|
+
* @example
|
|
3964
|
+
* ```typescript
|
|
3965
|
+
* // In HTTP interceptor
|
|
3966
|
+
* async function makeAuthenticatedRequest(url: string) {
|
|
3967
|
+
* await globalAuthState.waitForReady();
|
|
3968
|
+
* return fetch(url, { headers: { Authorization: getToken() } });
|
|
3969
|
+
* }
|
|
3970
|
+
*
|
|
3971
|
+
* // In global state
|
|
3972
|
+
* async function initializeUserData() {
|
|
3973
|
+
* await globalAuthState.waitForReady();
|
|
3974
|
+
* // Now safe to make authenticated API calls
|
|
3975
|
+
* }
|
|
3976
|
+
* ```
|
|
3977
|
+
*/
|
|
3978
|
+
waitForReady(): Promise<void>;
|
|
3979
|
+
/**
|
|
3980
|
+
* Check if authentication is ready synchronously
|
|
3981
|
+
*
|
|
3982
|
+
* **PUBLIC API**: This method is intended for use in synchronous contexts where
|
|
3983
|
+
* you need to check auth readiness without waiting.
|
|
3984
|
+
*
|
|
3985
|
+
* @returns `true` if authentication is ready, `false` otherwise
|
|
3986
|
+
*
|
|
3987
|
+
* @example
|
|
3988
|
+
* ```typescript
|
|
3989
|
+
* // In a synchronous context
|
|
3990
|
+
* function canMakeAuthRequest(): boolean {
|
|
3991
|
+
* return globalAuthState.getIsReady();
|
|
3992
|
+
* }
|
|
3993
|
+
*
|
|
3994
|
+
* // In conditional logic
|
|
3995
|
+
* if (globalAuthState.getIsReady()) {
|
|
3996
|
+
* // Safe to access auth-dependent features
|
|
3997
|
+
* showUserDashboard();
|
|
3998
|
+
* } else {
|
|
3999
|
+
* // Show loading state
|
|
4000
|
+
* showAuthLoadingSpinner();
|
|
4001
|
+
* }
|
|
4002
|
+
* ```
|
|
4003
|
+
*/
|
|
4004
|
+
getIsReady(): boolean;
|
|
4005
|
+
/**
|
|
4006
|
+
* Reset the authentication ready state
|
|
4007
|
+
*
|
|
4008
|
+
* **PRIVATE METHOD**: This method is for internal use only (testing, re-initialization).
|
|
4009
|
+
* It should not be called by external consumers as it can cause race conditions
|
|
4010
|
+
* and unexpected behavior in production.
|
|
4011
|
+
*
|
|
4012
|
+
* Resets the state to unready and creates a new promise that consumers will wait on.
|
|
4013
|
+
*/
|
|
4014
|
+
private reset;
|
|
4015
|
+
}
|
|
4016
|
+
/**
|
|
4017
|
+
* Global singleton instance of the authentication state manager
|
|
4018
|
+
*
|
|
4019
|
+
* This is the main interface for interacting with authentication readiness state.
|
|
4020
|
+
* Import and use this instance throughout your application to coordinate auth-dependent operations.
|
|
4021
|
+
*
|
|
4022
|
+
* @example
|
|
4023
|
+
* ```typescript
|
|
4024
|
+
* import { globalAuthState } from './globalAuthState';
|
|
4025
|
+
*
|
|
4026
|
+
* // Wait for auth in async contexts
|
|
4027
|
+
* await globalAuthState.waitForReady();
|
|
4028
|
+
*
|
|
4029
|
+
* // Check auth state synchronously
|
|
4030
|
+
* if (globalAuthState.getIsReady()) {
|
|
4031
|
+
* // Proceed with authenticated operations
|
|
4032
|
+
* }
|
|
4033
|
+
* ```
|
|
4034
|
+
*/
|
|
4035
|
+
declare const globalAuthState: GlobalAuthState;
|
|
4036
|
+
|
|
3867
4037
|
type SpecialistCardProps = {
|
|
3868
4038
|
fullName?: string;
|
|
3869
4039
|
specialization?: string;
|
|
@@ -4288,11 +4458,6 @@ type SpecialistDetailWidgetProps = {
|
|
|
4288
4458
|
onOpenContract?(): void;
|
|
4289
4459
|
onRateSession?(): void;
|
|
4290
4460
|
onEditSpecialistReview?: (review: Pick<SpecialistReview$1, 'id' | 'review_rating' | 'text_of_review'>) => Promise<void>;
|
|
4291
|
-
areasOfWorkByClientProblem: {
|
|
4292
|
-
names: string[];
|
|
4293
|
-
label: string;
|
|
4294
|
-
};
|
|
4295
|
-
isLoadingAreasOfWorkByClientProblem?: boolean;
|
|
4296
4461
|
events: {
|
|
4297
4462
|
onSuperSpecialistArticleClick?(): void;
|
|
4298
4463
|
onNewSpecialistArticleClick?(): void;
|
|
@@ -4395,11 +4560,6 @@ type SpecialistDetailWithTabsWidgetProps = {
|
|
|
4395
4560
|
currentUser?: UserType;
|
|
4396
4561
|
presentingElement?: HTMLElement;
|
|
4397
4562
|
onEditSpecialistReview?: (review: Pick<SpecialistReview$1, 'id' | 'review_rating' | 'text_of_review'>) => Promise<void>;
|
|
4398
|
-
areasOfWorkByClientProblem: {
|
|
4399
|
-
names: string[];
|
|
4400
|
-
label: string;
|
|
4401
|
-
};
|
|
4402
|
-
isLoadingAreasOfWorkByClientProblem?: boolean;
|
|
4403
4563
|
events: {
|
|
4404
4564
|
onOpenSuperSpecialistArticle?(): void;
|
|
4405
4565
|
onOpenNewSpecialistArticle?(): void;
|
|
@@ -4439,4 +4599,4 @@ declare const _default: React__default.NamedExoticComponent<SpecialistCardWithSc
|
|
|
4439
4599
|
|
|
4440
4600
|
declare const SpecialistCardSkeleton: React__default.FC;
|
|
4441
4601
|
|
|
4442
|
-
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, 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, OnBoardingProgressSettingsScreenType, _default$m as OnBoardingReviewsScreenPreviewFeature, OnBoardingReviewsScreenType, OnBoardingScreenAlertType, OnBoardingScreenButtonType, OnBoardingScreenDescriptionType, OnBoardingScreenEmailType, OnBoardingScreenErrorsType, OnBoardingScreenOptionType, OnBoardingScreenOptionWithScaleType, OnBoardingScreenOptions, OnBoardingScreenPasswordType, OnBoardingScreenPrivacyType, OnBoardingScreenProgressType, OnBoardingScreenSkipButtonType, OnBoardingScreenStyleOptions, OnBoardingScreenSubgoalButtonType, OnBoardingScreenTranslationsType, OnBoardingScreensType, OnBoardingSingleImageSelectScreenType, OnBoardingSingleRoundImageSelectScreenType, OnBoardingSingleScaleSelectScreenType, OnBoardingSingleSelectScreenType, _default$o as OnBoardingSingleSelectionScreenPreviewFeature, _default$r as OnBoardingStartScreenPreviewFeature, OnBoardingStartScreenType, OnboardingProgressTemplate, 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, 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 };
|
|
4602
|
+
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, OnBoardingProgressSettingsScreenType, _default$m as OnBoardingReviewsScreenPreviewFeature, OnBoardingReviewsScreenType, OnBoardingScreenAlertType, OnBoardingScreenButtonType, OnBoardingScreenDescriptionType, OnBoardingScreenEmailType, OnBoardingScreenErrorsType, OnBoardingScreenOptionType, OnBoardingScreenOptionWithScaleType, OnBoardingScreenOptions, OnBoardingScreenPasswordType, OnBoardingScreenPrivacyType, OnBoardingScreenProgressType, OnBoardingScreenSkipButtonType, OnBoardingScreenStyleOptions, OnBoardingScreenSubgoalButtonType, OnBoardingScreenTranslationsType, OnBoardingScreensType, OnBoardingSingleImageSelectScreenType, OnBoardingSingleRoundImageSelectScreenType, OnBoardingSingleScaleSelectScreenType, OnBoardingSingleSelectScreenType, _default$o as OnBoardingSingleSelectionScreenPreviewFeature, _default$r as OnBoardingStartScreenPreviewFeature, OnBoardingStartScreenType, OnboardingProgressTemplate, 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.6.0-dev.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rimraf dist",
|
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/polyfill": "7.12.1",
|
|
19
|
+
"@capacitor-firebase/authentication": "7.3.0",
|
|
20
|
+
"@capacitor/app": "7.0.1",
|
|
19
21
|
"@capacitor/clipboard": "7.0.1",
|
|
20
22
|
"@capacitor/haptics": "7.0.1",
|
|
21
23
|
"@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
|
-
};
|