@mindly/ui-components 6.11.1-dev.1 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/lib/Chat/ChatListItem/ChatListItem.d.ts +2 -1
- package/dist/cjs/lib/Chat/ChatMessage/ChatMessage.d.ts +2 -1
- package/dist/cjs/lib/Chat/utils.d.ts +2 -1
- package/dist/cjs/lib/Consultations/CancelSession/CancelSession.d.ts +2 -1
- package/dist/cjs/lib/Consultations/ConsultationCard/types.d.ts +2 -1
- package/dist/cjs/lib/Consultations/ConsultationModal/ConsultationModal.d.ts +2 -1
- package/dist/cjs/lib/Consultations/ReSchedule/ReSchedule.d.ts +2 -1
- package/dist/cjs/lib/Consultations/ReScheduleSuccess/ReScheduleSuccess.d.ts +2 -1
- package/dist/cjs/lib/DaySlider/DaySlider.d.ts +2 -1
- package/dist/cjs/lib/DaySlider/utils.d.ts +2 -1
- package/dist/cjs/lib/SpecialistCard/SpecialistCard.d.ts +2 -1
- package/dist/cjs/lib/VideoCallInfo/VideoCallInfo.d.ts +2 -1
- package/dist/cjs/lib2/features/CalendarPickerFeature/CalendarPickerFeature.d.ts +2 -2
- package/dist/cjs/lib2/features/Charts/ChartLinesFeature/ChartLinesFeature.d.ts +2 -1
- package/dist/cjs/lib2/features/ConsultationPricingFeature/ConsultationPricingFeature_Euro.d.ts +4 -0
- package/dist/cjs/lib2/features/ConsultationPricingFeature/ConsultationPricingFeature_Usd.d.ts +4 -0
- package/dist/cjs/lib2/features/ConsultationPricingFeature/ConsultationUser.d.ts +2 -2
- package/dist/cjs/lib2/features/FilterFeature/FilterRangeFeature.d.ts +2 -1
- package/dist/cjs/lib2/features/FilterFeature/types.d.ts +2 -0
- package/dist/cjs/lib2/features/MindlyReviewFeature/MindlyReviewFeature.d.ts +2 -1
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingChartScreenPreviewFeature/OnBoardingChartScreenPreviewFeature.d.ts +2 -2
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/OnBoardingPaywallScreenPreviewFeature.d.ts +2 -2
- package/dist/cjs/lib2/features/ReviewCardFeature/ReviewCardFeature.d.ts +2 -2
- package/dist/cjs/lib2/features/ScheduleFeature/ScheduleFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/ScheduleFeature/ScheduleSkeletonFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/ScheduleFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/ScheduleFeature/types.d.ts +11 -0
- package/dist/cjs/lib2/features/SessionPreviewFeature/types.d.ts +2 -2
- package/dist/cjs/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.d.ts +2 -1
- package/dist/cjs/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationCard.d.ts +2 -2
- package/dist/cjs/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationCard_Euro.d.ts +9 -0
- package/dist/cjs/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationCard_Usd.d.ts +9 -0
- package/dist/cjs/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationsList.d.ts +2 -2
- package/dist/cjs/lib2/features/SpecialistScheduleFeature/types.d.ts +2 -2
- package/dist/cjs/lib2/features/TariffFeature/types.d.ts +2 -2
- package/dist/cjs/lib2/shared/hooks/useCalendarData.d.ts +2 -1
- package/dist/cjs/lib2/shared/hooks/useSpecialistPayments.d.ts +2 -1
- package/dist/cjs/lib2/shared/types/common.d.ts +30 -6
- package/dist/cjs/lib2/shared/types/onBoardingFlow.type.d.ts +3 -3
- package/dist/cjs/lib2/shared/types/specialistPaymentTypes.d.ts +7 -6
- package/dist/cjs/lib2/shared/types/specialistTypes.d.ts +2 -2
- package/dist/cjs/lib2/shared/ui/Avatar_v2/UserDefaultIcon.d.ts +3 -0
- package/dist/cjs/lib2/shared/ui/Calendar/CalendarCell.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/Calendar/types.d.ts +2 -1
- package/dist/cjs/lib2/shared/ui/Calendar/utils/getWeekDayNames.d.ts +2 -1
- package/dist/cjs/lib2/shared/utils/format.d.ts +3 -2
- package/dist/cjs/lib2/shared/utils/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/utils/payoutPriceNormalizer.d.ts +11 -0
- package/dist/cjs/lib2/shared/utils/priceNormalizer.d.ts +2 -2
- package/dist/cjs/lib2/shared/utils/session.d.ts +2 -2
- package/dist/cjs/lib2/widgets/FiltersWidget/types.d.ts +2 -1
- package/dist/cjs/lib2/widgets/SessionDetailWidget/types.d.ts +2 -2
- package/dist/cjs/lib2/widgets/SessionsListWidget/types.d.ts +2 -2
- package/dist/cjs/lib2/widgets/SpecialistDetailWidget/types.d.ts +2 -1
- package/dist/cjs/lib2/widgets/SpecialistDetailWithTabsWidget/types.d.ts +2 -1
- package/dist/esm/index.js +8 -8
- package/dist/esm/lib/Chat/ChatListItem/ChatListItem.d.ts +2 -1
- package/dist/esm/lib/Chat/ChatMessage/ChatMessage.d.ts +2 -1
- package/dist/esm/lib/Chat/utils.d.ts +2 -1
- package/dist/esm/lib/Consultations/CancelSession/CancelSession.d.ts +2 -1
- package/dist/esm/lib/Consultations/ConsultationCard/types.d.ts +2 -1
- package/dist/esm/lib/Consultations/ConsultationModal/ConsultationModal.d.ts +2 -1
- package/dist/esm/lib/Consultations/ReSchedule/ReSchedule.d.ts +2 -1
- package/dist/esm/lib/Consultations/ReScheduleSuccess/ReScheduleSuccess.d.ts +2 -1
- package/dist/esm/lib/DaySlider/DaySlider.d.ts +2 -1
- package/dist/esm/lib/DaySlider/utils.d.ts +2 -1
- package/dist/esm/lib/SpecialistCard/SpecialistCard.d.ts +2 -1
- package/dist/esm/lib/VideoCallInfo/VideoCallInfo.d.ts +2 -1
- package/dist/esm/lib2/features/CalendarPickerFeature/CalendarPickerFeature.d.ts +2 -2
- package/dist/esm/lib2/features/Charts/ChartLinesFeature/ChartLinesFeature.d.ts +2 -1
- package/dist/esm/lib2/features/ConsultationPricingFeature/ConsultationPricingFeature_Euro.d.ts +4 -0
- package/dist/esm/lib2/features/ConsultationPricingFeature/ConsultationPricingFeature_Usd.d.ts +4 -0
- package/dist/esm/lib2/features/ConsultationPricingFeature/ConsultationUser.d.ts +2 -2
- package/dist/esm/lib2/features/FilterFeature/FilterRangeFeature.d.ts +2 -1
- package/dist/esm/lib2/features/FilterFeature/types.d.ts +2 -0
- package/dist/esm/lib2/features/MindlyReviewFeature/MindlyReviewFeature.d.ts +2 -1
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingChartScreenPreviewFeature/OnBoardingChartScreenPreviewFeature.d.ts +2 -2
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/OnBoardingPaywallScreenPreviewFeature.d.ts +2 -2
- package/dist/esm/lib2/features/ReviewCardFeature/ReviewCardFeature.d.ts +2 -2
- package/dist/esm/lib2/features/ScheduleFeature/ScheduleFeature.d.ts +4 -0
- package/dist/esm/lib2/features/ScheduleFeature/ScheduleSkeletonFeature.d.ts +4 -0
- package/dist/esm/lib2/features/ScheduleFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/ScheduleFeature/types.d.ts +11 -0
- package/dist/esm/lib2/features/SessionPreviewFeature/types.d.ts +2 -2
- package/dist/esm/lib2/features/SpecialistInfoColumnFeature/SpecialistInfoColumnFeature.d.ts +2 -1
- package/dist/esm/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationCard.d.ts +2 -2
- package/dist/esm/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationCard_Euro.d.ts +9 -0
- package/dist/esm/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationCard_Usd.d.ts +9 -0
- package/dist/esm/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationsList.d.ts +2 -2
- package/dist/esm/lib2/features/SpecialistScheduleFeature/types.d.ts +2 -2
- package/dist/esm/lib2/features/TariffFeature/types.d.ts +2 -2
- package/dist/esm/lib2/shared/hooks/useCalendarData.d.ts +2 -1
- package/dist/esm/lib2/shared/hooks/useSpecialistPayments.d.ts +2 -1
- package/dist/esm/lib2/shared/types/common.d.ts +30 -6
- package/dist/esm/lib2/shared/types/onBoardingFlow.type.d.ts +3 -3
- package/dist/esm/lib2/shared/types/specialistPaymentTypes.d.ts +7 -6
- package/dist/esm/lib2/shared/types/specialistTypes.d.ts +2 -2
- package/dist/esm/lib2/shared/ui/Avatar_v2/UserDefaultIcon.d.ts +3 -0
- package/dist/esm/lib2/shared/ui/Calendar/CalendarCell.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/Calendar/types.d.ts +2 -1
- package/dist/esm/lib2/shared/ui/Calendar/utils/getWeekDayNames.d.ts +2 -1
- package/dist/esm/lib2/shared/utils/format.d.ts +3 -2
- package/dist/esm/lib2/shared/utils/index.d.ts +1 -0
- package/dist/esm/lib2/shared/utils/payoutPriceNormalizer.d.ts +11 -0
- package/dist/esm/lib2/shared/utils/priceNormalizer.d.ts +2 -2
- package/dist/esm/lib2/shared/utils/session.d.ts +2 -2
- package/dist/esm/lib2/widgets/FiltersWidget/types.d.ts +2 -1
- package/dist/esm/lib2/widgets/SessionDetailWidget/types.d.ts +2 -2
- package/dist/esm/lib2/widgets/SessionsListWidget/types.d.ts +2 -2
- package/dist/esm/lib2/widgets/SpecialistDetailWidget/types.d.ts +2 -1
- package/dist/esm/lib2/widgets/SpecialistDetailWithTabsWidget/types.d.ts +2 -1
- package/dist/index.d.ts +1095 -1053
- package/package.json +1 -1
- package/dist/cjs/b7649e1531c181af.svg +0 -69
- package/dist/cjs/deprecated/SpecialistEducationCard/EmptyInstitutionLogo.d.ts +0 -3
- package/dist/cjs/deprecated/SpecialistEducationCard/SpecialistEducationCard.d.ts +0 -12
- package/dist/cjs/deprecated/SpecialistEducationCard/SpecialistEducationCard.style.d.ts +0 -6
- package/dist/cjs/deprecated/SpecialistEducationCard/index.d.ts +0 -1
- package/dist/cjs/deprecated/SpecialistProfileViewCard/PlayVideoIcon/PlayVideoIcon.d.ts +0 -3
- package/dist/cjs/deprecated/SpecialistProfileViewCard/SpecialistProfileViewCard.d.ts +0 -14
- package/dist/cjs/deprecated/SpecialistProfileViewCard/SpecialistProfileViewCard.style.d.ts +0 -11
- package/dist/cjs/deprecated/SpecialistProfileViewCard/index.d.ts +0 -1
- package/dist/cjs/deprecated/SpecialistStatisticsCard/SpecialistStatisticsCard.d.ts +0 -11
- package/dist/cjs/deprecated/SpecialistStatisticsCard/SpecialistStatisticsCard.style.d.ts +0 -5
- package/dist/cjs/deprecated/SpecialistStatisticsCard/index.d.ts +0 -1
- package/dist/cjs/deprecated/SpecialistStatisticsCard/utils.d.ts +0 -1
- package/dist/cjs/deprecated/SpecialistWorkDirections/SpecialistWorkDirections.d.ts +0 -11
- package/dist/cjs/deprecated/SpecialistWorkDirections/SpecialistWorkDirections.style.d.ts +0 -2
- package/dist/cjs/deprecated/SpecialistWorkDirections/index.d.ts +0 -1
- package/dist/cjs/deprecated/therapist-card/TherapistCard.d.ts +0 -16
- package/dist/cjs/deprecated/therapist-card/TherapistCard.style.d.ts +0 -5
- package/dist/cjs/lib/ChangeLangModal/ChangeLangModal.d.ts +0 -15
- package/dist/cjs/lib/ChangeLangModal/ChangeLangModal.style.d.ts +0 -4
- package/dist/cjs/lib/ChangeLangModal/index.d.ts +0 -2
- package/dist/cjs/lib/Chat/LouseConnect/LouseConnect.d.ts +0 -6
- package/dist/cjs/lib/Chat/LouseConnect/LouseConnect.style.d.ts +0 -3
- package/dist/cjs/lib/Chat/LouseConnect/index.d.ts +0 -1
- package/dist/cjs/lib/EntryNotFound/EntryNotFound.d.ts +0 -5
- package/dist/cjs/lib/EntryNotFound/EntryNotFound.style.d.ts +0 -2
- package/dist/cjs/lib/EntryNotFound/index.d.ts +0 -1
- package/dist/cjs/lib/HorisontalCalendar/HorizontalCalendar.d.ts +0 -40
- package/dist/cjs/lib/HorisontalCalendar/HorizontalCalendar.styled.d.ts +0 -2
- package/dist/cjs/lib/HorisontalCalendar/index.d.ts +0 -1
- package/dist/cjs/lib/Modal/Modal.d.ts +0 -8
- package/dist/cjs/lib/Modal/Modal.style.d.ts +0 -6
- package/dist/cjs/lib/Modal/index.d.ts +0 -1
- package/dist/cjs/lib/ModalCalendar/ModalCalendar.d.ts +0 -10
- package/dist/cjs/lib/ModalCalendar/ModalCalendar.styled.d.ts +0 -12
- package/dist/cjs/lib/PersonDateTimeCard/PersonDateTimeCard.d.ts +0 -8
- package/dist/cjs/lib/PersonDateTimeCard/PersonDateTimeCard.styled.d.ts +0 -2
- package/dist/cjs/lib/SelectImpressionEmoji/ImpressionEmojiEnum.d.ts +0 -8
- package/dist/cjs/lib/SelectImpressionEmoji/SelectImpressionEmoji.d.ts +0 -4
- package/dist/cjs/lib/SelectImpressionEmoji/SelectImpressionEmoji.styled.d.ts +0 -2
- package/dist/cjs/lib/SelectImpressionEmoji/SelectImpressionEmojiProps.d.ts +0 -6
- package/dist/cjs/lib/SelectImpressionEmoji/emojis.d.ts +0 -5
- package/dist/cjs/lib/SelectImpressionEmoji/index.d.ts +0 -4
- package/dist/cjs/lib/StatusTag/StatusTag.d.ts +0 -7
- package/dist/cjs/lib/StatusTag/StatusTag.style.d.ts +0 -6
- package/dist/cjs/lib/StatusTag/index.d.ts +0 -1
- package/dist/cjs/lib/UsersPsychologistScrollList/UserPsychologistScrollList.styled.d.ts +0 -6
- package/dist/cjs/lib/UsersPsychologistScrollList/UsersPsychologistScrollList.d.ts +0 -10
- package/dist/cjs/lib/archived-consultation-card/ArchivedConsultationCard.d.ts +0 -14
- package/dist/cjs/lib/archived-consultation-card/ArchivedConsultationCard.style.d.ts +0 -4
- package/dist/cjs/lib/content-card/ContentCard.d.ts +0 -15
- package/dist/cjs/lib/content-card/ContentCard.style.d.ts +0 -11
- package/dist/cjs/lib/floating-button/FloatingButton.d.ts +0 -8
- package/dist/cjs/lib/floating-button/FloatingButton.style.d.ts +0 -6
- package/dist/cjs/lib/footer-for-booking/FooterForBooking.d.ts +0 -9
- package/dist/cjs/lib/footer-for-booking/FooterForBooking.style.d.ts +0 -6
- package/dist/cjs/lib/footer-for-booking/index.d.ts +0 -1
- package/dist/cjs/lib/list-button/ListButton.d.ts +0 -9
- package/dist/cjs/lib/list-button/ListButton.style.d.ts +0 -2
- package/dist/cjs/lib/navigation-bar/NavigationBar.d.ts +0 -8
- package/dist/cjs/lib/navigation-bar/NavigationBar.style.d.ts +0 -8
- package/dist/cjs/lib/notes-card-text/NotesCardText.d.ts +0 -6
- package/dist/cjs/lib/notes-card-text/NotesCardText.style.d.ts +0 -1
- package/dist/cjs/lib/notes-card-text/index.d.ts +0 -1
- package/dist/cjs/lib/notes-editor/NotesEditor.d.ts +0 -5
- package/dist/cjs/lib/notes-editor/NotesEditor.styled.d.ts +0 -2
- package/dist/cjs/lib/scroll-tabs/ScrollTabs.d.ts +0 -7
- package/dist/cjs/lib/scroll-tabs/ScrollTabs.style.d.ts +0 -3
- package/dist/cjs/lib/tab-bar/TabBar.d.ts +0 -6
- package/dist/cjs/lib/tab-bar/TabBar.style.d.ts +0 -5
- package/dist/cjs/lib/therapist-information-component/TherapistInformationComponent.d.ts +0 -10
- package/dist/cjs/lib/therapist-information-component/TherapistInformationComponent.style.d.ts +0 -2
- package/dist/cjs/lib/your-local-time-block/YourLocalTimeBlock.d.ts +0 -6
- package/dist/cjs/lib/your-local-time-block/YourLocalTimeBlock.styled.d.ts +0 -2
- package/dist/esm/b7649e1531c181af.svg +0 -69
- package/dist/esm/deprecated/SpecialistEducationCard/EmptyInstitutionLogo.d.ts +0 -3
- package/dist/esm/deprecated/SpecialistEducationCard/SpecialistEducationCard.d.ts +0 -12
- package/dist/esm/deprecated/SpecialistEducationCard/SpecialistEducationCard.style.d.ts +0 -6
- package/dist/esm/deprecated/SpecialistEducationCard/index.d.ts +0 -1
- package/dist/esm/deprecated/SpecialistProfileViewCard/PlayVideoIcon/PlayVideoIcon.d.ts +0 -3
- package/dist/esm/deprecated/SpecialistProfileViewCard/SpecialistProfileViewCard.d.ts +0 -14
- package/dist/esm/deprecated/SpecialistProfileViewCard/SpecialistProfileViewCard.style.d.ts +0 -11
- package/dist/esm/deprecated/SpecialistProfileViewCard/index.d.ts +0 -1
- package/dist/esm/deprecated/SpecialistStatisticsCard/SpecialistStatisticsCard.d.ts +0 -11
- package/dist/esm/deprecated/SpecialistStatisticsCard/SpecialistStatisticsCard.style.d.ts +0 -5
- package/dist/esm/deprecated/SpecialistStatisticsCard/index.d.ts +0 -1
- package/dist/esm/deprecated/SpecialistStatisticsCard/utils.d.ts +0 -1
- package/dist/esm/deprecated/SpecialistWorkDirections/SpecialistWorkDirections.d.ts +0 -11
- package/dist/esm/deprecated/SpecialistWorkDirections/SpecialistWorkDirections.style.d.ts +0 -2
- package/dist/esm/deprecated/SpecialistWorkDirections/index.d.ts +0 -1
- package/dist/esm/deprecated/therapist-card/TherapistCard.d.ts +0 -16
- package/dist/esm/deprecated/therapist-card/TherapistCard.style.d.ts +0 -5
- package/dist/esm/lib/ChangeLangModal/ChangeLangModal.d.ts +0 -15
- package/dist/esm/lib/ChangeLangModal/ChangeLangModal.style.d.ts +0 -4
- package/dist/esm/lib/ChangeLangModal/index.d.ts +0 -2
- package/dist/esm/lib/Chat/LouseConnect/LouseConnect.d.ts +0 -6
- package/dist/esm/lib/Chat/LouseConnect/LouseConnect.style.d.ts +0 -3
- package/dist/esm/lib/Chat/LouseConnect/index.d.ts +0 -1
- package/dist/esm/lib/EntryNotFound/EntryNotFound.d.ts +0 -5
- package/dist/esm/lib/EntryNotFound/EntryNotFound.style.d.ts +0 -2
- package/dist/esm/lib/EntryNotFound/index.d.ts +0 -1
- package/dist/esm/lib/HorisontalCalendar/HorizontalCalendar.d.ts +0 -40
- package/dist/esm/lib/HorisontalCalendar/HorizontalCalendar.styled.d.ts +0 -2
- package/dist/esm/lib/HorisontalCalendar/index.d.ts +0 -1
- package/dist/esm/lib/Modal/Modal.d.ts +0 -8
- package/dist/esm/lib/Modal/Modal.style.d.ts +0 -6
- package/dist/esm/lib/Modal/index.d.ts +0 -1
- package/dist/esm/lib/ModalCalendar/ModalCalendar.d.ts +0 -10
- package/dist/esm/lib/ModalCalendar/ModalCalendar.styled.d.ts +0 -12
- package/dist/esm/lib/PersonDateTimeCard/PersonDateTimeCard.d.ts +0 -8
- package/dist/esm/lib/PersonDateTimeCard/PersonDateTimeCard.styled.d.ts +0 -2
- package/dist/esm/lib/SelectImpressionEmoji/ImpressionEmojiEnum.d.ts +0 -8
- package/dist/esm/lib/SelectImpressionEmoji/SelectImpressionEmoji.d.ts +0 -4
- package/dist/esm/lib/SelectImpressionEmoji/SelectImpressionEmoji.styled.d.ts +0 -2
- package/dist/esm/lib/SelectImpressionEmoji/SelectImpressionEmojiProps.d.ts +0 -6
- package/dist/esm/lib/SelectImpressionEmoji/emojis.d.ts +0 -5
- package/dist/esm/lib/SelectImpressionEmoji/index.d.ts +0 -4
- package/dist/esm/lib/StatusTag/StatusTag.d.ts +0 -7
- package/dist/esm/lib/StatusTag/StatusTag.style.d.ts +0 -6
- package/dist/esm/lib/StatusTag/index.d.ts +0 -1
- package/dist/esm/lib/UsersPsychologistScrollList/UserPsychologistScrollList.styled.d.ts +0 -6
- package/dist/esm/lib/UsersPsychologistScrollList/UsersPsychologistScrollList.d.ts +0 -10
- package/dist/esm/lib/archived-consultation-card/ArchivedConsultationCard.d.ts +0 -14
- package/dist/esm/lib/archived-consultation-card/ArchivedConsultationCard.style.d.ts +0 -4
- package/dist/esm/lib/content-card/ContentCard.d.ts +0 -15
- package/dist/esm/lib/content-card/ContentCard.style.d.ts +0 -11
- package/dist/esm/lib/floating-button/FloatingButton.d.ts +0 -8
- package/dist/esm/lib/floating-button/FloatingButton.style.d.ts +0 -6
- package/dist/esm/lib/footer-for-booking/FooterForBooking.d.ts +0 -9
- package/dist/esm/lib/footer-for-booking/FooterForBooking.style.d.ts +0 -6
- package/dist/esm/lib/footer-for-booking/index.d.ts +0 -1
- package/dist/esm/lib/list-button/ListButton.d.ts +0 -9
- package/dist/esm/lib/list-button/ListButton.style.d.ts +0 -2
- package/dist/esm/lib/navigation-bar/NavigationBar.d.ts +0 -8
- package/dist/esm/lib/navigation-bar/NavigationBar.style.d.ts +0 -8
- package/dist/esm/lib/notes-card-text/NotesCardText.d.ts +0 -6
- package/dist/esm/lib/notes-card-text/NotesCardText.style.d.ts +0 -1
- package/dist/esm/lib/notes-card-text/index.d.ts +0 -1
- package/dist/esm/lib/notes-editor/NotesEditor.d.ts +0 -5
- package/dist/esm/lib/notes-editor/NotesEditor.styled.d.ts +0 -2
- package/dist/esm/lib/scroll-tabs/ScrollTabs.d.ts +0 -7
- package/dist/esm/lib/scroll-tabs/ScrollTabs.style.d.ts +0 -3
- package/dist/esm/lib/tab-bar/TabBar.d.ts +0 -6
- package/dist/esm/lib/tab-bar/TabBar.style.d.ts +0 -5
- package/dist/esm/lib/therapist-information-component/TherapistInformationComponent.d.ts +0 -10
- package/dist/esm/lib/therapist-information-component/TherapistInformationComponent.style.d.ts +0 -2
- package/dist/esm/lib/your-local-time-block/YourLocalTimeBlock.d.ts +0 -6
- package/dist/esm/lib/your-local-time-block/YourLocalTimeBlock.styled.d.ts +0 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { SupportedLocales } from '../../../lib2';
|
|
2
3
|
import { WithTranslation } from 'react-i18next';
|
|
3
4
|
type ChatListItemProps = {
|
|
4
5
|
name: string;
|
|
@@ -11,7 +12,7 @@ type ChatListItemProps = {
|
|
|
11
12
|
time?: number;
|
|
12
13
|
timeZone?: string;
|
|
13
14
|
lastMessageType?: 'text' | 'file' | 'image' | 'video' | 'system' | 'broadcast';
|
|
14
|
-
locale?:
|
|
15
|
+
locale?: SupportedLocales;
|
|
15
16
|
isDisabled?: boolean;
|
|
16
17
|
t?: WithTranslation['t'];
|
|
17
18
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { SupportedLocales } from '../../../lib2';
|
|
2
3
|
type ChatMessageProps = {
|
|
3
4
|
message: string | File;
|
|
4
5
|
/**
|
|
@@ -19,7 +20,7 @@ type ChatMessageProps = {
|
|
|
19
20
|
width?: number;
|
|
20
21
|
height?: number;
|
|
21
22
|
};
|
|
22
|
-
locale
|
|
23
|
+
locale: SupportedLocales;
|
|
23
24
|
buttons?: {
|
|
24
25
|
text: string;
|
|
25
26
|
onClickHandler: () => void;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { SupportedLocales } from '../../lib2';
|
|
2
|
+
export declare const timeNormalize: (message: string, timeZone: string, locale?: SupportedLocales) => string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { SupportedLocales } from '../../../lib2';
|
|
2
3
|
type CancelSessionProps = {
|
|
3
4
|
name: string;
|
|
4
5
|
avatar?: string;
|
|
@@ -7,7 +8,7 @@ type CancelSessionProps = {
|
|
|
7
8
|
onSubmit?: (message: string) => void;
|
|
8
9
|
onReschedule?: () => void;
|
|
9
10
|
isLoading?: boolean;
|
|
10
|
-
locale:
|
|
11
|
+
locale: SupportedLocales;
|
|
11
12
|
emptyReasonErrorMessage?: string;
|
|
12
13
|
translations: {
|
|
13
14
|
title: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SupportedLocales } from '../../../lib2';
|
|
1
2
|
export declare enum ConsultationCardType {
|
|
2
3
|
FEATURE = "feature",
|
|
3
4
|
PAST = "past",
|
|
@@ -15,7 +16,7 @@ export type ConsultationCardProps = {
|
|
|
15
16
|
isLoading?: boolean;
|
|
16
17
|
onVideoCall?: (sessionId: string) => void;
|
|
17
18
|
withBorder?: boolean;
|
|
18
|
-
locale:
|
|
19
|
+
locale: SupportedLocales;
|
|
19
20
|
translations?: {
|
|
20
21
|
with?: string;
|
|
21
22
|
join?: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { SupportedLocales } from '../../../lib2';
|
|
2
3
|
type ConsultationModalProps = {
|
|
3
4
|
isOpen: boolean;
|
|
4
5
|
sessionId: string;
|
|
@@ -15,7 +16,7 @@ type ConsultationModalProps = {
|
|
|
15
16
|
onReschedule?: (sessionId: string) => void;
|
|
16
17
|
onModalClose?: () => void;
|
|
17
18
|
isContractLoading?: boolean;
|
|
18
|
-
locale:
|
|
19
|
+
locale: SupportedLocales;
|
|
19
20
|
translations?: {
|
|
20
21
|
with?: string;
|
|
21
22
|
sessionDuration?: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { SupportedLocales } from '../../../lib2';
|
|
2
3
|
type ReScheduleProps = {
|
|
3
4
|
name: string;
|
|
4
5
|
avatar?: string;
|
|
@@ -6,7 +7,7 @@ type ReScheduleProps = {
|
|
|
6
7
|
timeZone?: string;
|
|
7
8
|
onSubmit?: (message: string) => void;
|
|
8
9
|
isLoading?: boolean;
|
|
9
|
-
locale:
|
|
10
|
+
locale: SupportedLocales;
|
|
10
11
|
emptyReasonErrorMessage?: string;
|
|
11
12
|
translations?: {
|
|
12
13
|
title?: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
+
import { SupportedLocales } from '../../../lib2';
|
|
2
3
|
type ReScheduleSuccessProps = {
|
|
3
4
|
name: string;
|
|
4
5
|
avatar?: string;
|
|
@@ -11,7 +12,7 @@ type ReScheduleSuccessProps = {
|
|
|
11
12
|
paymentTitle?: string;
|
|
12
13
|
description?: string;
|
|
13
14
|
success: string;
|
|
14
|
-
locale:
|
|
15
|
+
locale: SupportedLocales;
|
|
15
16
|
};
|
|
16
17
|
declare const ReScheduleSuccess: FC<ReScheduleSuccessProps>;
|
|
17
18
|
export default ReScheduleSuccess;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React, { HTMLAttributes, RefAttributes } from 'react';
|
|
2
2
|
import { JSX } from '@ionic/core/components';
|
|
3
|
+
import { SupportedLocales } from '../../lib2';
|
|
3
4
|
type DaySliderProps = JSX.IonSlides & HTMLAttributes<HTMLIonSlidesElement> & RefAttributes<HTMLIonSlidesElement> & {
|
|
4
5
|
slides: number[] | string[];
|
|
5
6
|
onDayClick?: (i: number, item: number | string) => void;
|
|
6
|
-
locale:
|
|
7
|
+
locale: SupportedLocales;
|
|
7
8
|
translations?: {
|
|
8
9
|
today?: string;
|
|
9
10
|
tomorrow?: string;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { SupportedLocales } from '../../lib2';
|
|
2
|
+
export declare const dateNormalize: (date: number, locale: SupportedLocales, today?: string, tomorrow?: string) => string;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SupportedCurrency } from '../../lib2/shared';
|
|
2
|
+
import { SupportedCurrency, SupportedLocales } from '../../lib2/shared';
|
|
3
3
|
type SpecialistCardProps = {
|
|
4
4
|
fullName?: string;
|
|
5
5
|
specialization?: string;
|
|
6
6
|
priceCurrencySign?: string;
|
|
7
7
|
currency?: SupportedCurrency;
|
|
8
|
+
locale: SupportedLocales;
|
|
8
9
|
pricePerSession?: number;
|
|
9
10
|
/**
|
|
10
11
|
* @deprecated
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { SupportedLocales } from '../../lib2';
|
|
2
3
|
type UserInfo = {
|
|
3
4
|
name: string;
|
|
4
5
|
avatar?: string;
|
|
@@ -8,7 +9,7 @@ export type VideoCallInfoProps = {
|
|
|
8
9
|
userInfo: UserInfo;
|
|
9
10
|
consultationDate?: number;
|
|
10
11
|
timeZone?: string;
|
|
11
|
-
locale:
|
|
12
|
+
locale: SupportedLocales;
|
|
12
13
|
translations: {
|
|
13
14
|
dateAndTime: string;
|
|
14
15
|
toStartSession: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TranslationType } from '../../shared/types';
|
|
2
|
+
import { SupportedLocales, TranslationType } from '../../shared/types';
|
|
3
3
|
type CalendarPickerFeatureProps = {
|
|
4
4
|
date: Date;
|
|
5
|
-
locale
|
|
5
|
+
locale: SupportedLocales;
|
|
6
6
|
mode: 'button' | 'auto' | undefined;
|
|
7
7
|
opened?: boolean;
|
|
8
8
|
dateCallback: (date: Date) => void;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ChartData } from '../types';
|
|
3
|
+
import { SupportedLocales } from '../../../shared';
|
|
3
4
|
type ChartLinesProps = Omit<ChartData<'lines'>, 'chartType'> & {
|
|
4
|
-
locale:
|
|
5
|
+
locale: SupportedLocales;
|
|
5
6
|
};
|
|
6
7
|
declare const ChartLines: FC<ChartLinesProps>;
|
|
7
8
|
export default ChartLines;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TranslationType } from '../../shared/types';
|
|
2
|
+
import { SupportedLocales, TranslationType } from '../../shared/types';
|
|
3
3
|
type ConsultationUserType = {
|
|
4
4
|
name: string;
|
|
5
5
|
date: Date;
|
|
6
6
|
avatar: string;
|
|
7
|
-
locale:
|
|
7
|
+
locale: SupportedLocales;
|
|
8
8
|
timezone: string;
|
|
9
9
|
onUserClick?: () => void;
|
|
10
10
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { SupportedCurrency } from '../../shared';
|
|
2
|
+
import { SupportedCurrency, SupportedLocales } from '../../shared';
|
|
3
3
|
export type FilterRangeFeatureProps = {
|
|
4
|
+
locale: SupportedLocales;
|
|
4
5
|
className?: string;
|
|
5
6
|
min?: number;
|
|
6
7
|
max?: number;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { WithTranslation } from 'react-i18next';
|
|
2
2
|
import { FilterOption, FilterValue } from '../../shared/types/filter';
|
|
3
3
|
import { BadgeProps } from '../../shared/ui/Badge/types';
|
|
4
|
+
import { SupportedLocales } from '../../shared';
|
|
4
5
|
export type FilterFeatureProps = {
|
|
5
6
|
presentingElement?: HTMLElement;
|
|
6
7
|
options?: FilterOption[];
|
|
@@ -12,6 +13,7 @@ export type FilterFeatureProps = {
|
|
|
12
13
|
description?: string;
|
|
13
14
|
multiple?: boolean;
|
|
14
15
|
range?: number[];
|
|
16
|
+
locale: SupportedLocales;
|
|
15
17
|
totalItems?: number;
|
|
16
18
|
isLoadingTotalItems?: boolean;
|
|
17
19
|
onChange?(value: FilterValue): void;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WithTranslation } from 'react-i18next';
|
|
3
|
+
import { SupportedLocales } from '../../shared';
|
|
3
4
|
export type MindlyReviewFeatureProps = {
|
|
4
5
|
isOpen: boolean;
|
|
5
|
-
locale:
|
|
6
|
+
locale: SupportedLocales;
|
|
6
7
|
linkMapper: Record<string, string>;
|
|
7
8
|
isCommentRequired?: boolean;
|
|
8
9
|
isInterviewEnabled?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { OnBoardingChartScreenType, OnBoardingThemeV2Type } from '../../../shared';
|
|
2
|
+
import { OnBoardingChartScreenType, OnBoardingThemeV2Type, SupportedLocales } from '../../../shared';
|
|
3
3
|
type OnBoardingChartScreenPreviewFeatureProps = {
|
|
4
4
|
className?: string;
|
|
5
|
-
locale:
|
|
5
|
+
locale: SupportedLocales;
|
|
6
6
|
isPreview?: boolean;
|
|
7
7
|
theme?: OnBoardingThemeV2Type;
|
|
8
8
|
} & OnBoardingChartScreenType;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { OnBoardingPaywallScreenType, Specialist, OnBoardingThemeV2Type } from '../../../shared';
|
|
2
|
+
import { OnBoardingPaywallScreenType, Specialist, OnBoardingThemeV2Type, SupportedLocales } from '../../../shared';
|
|
3
3
|
import 'slick-carousel/slick/slick.css';
|
|
4
4
|
import 'slick-carousel/slick/slick-theme.css';
|
|
5
5
|
import { ISpecialistReview } from '../../../..';
|
|
6
6
|
type OnBoardingPaywallScreenPreviewFeatureProps = {
|
|
7
7
|
specialists: Specialist[];
|
|
8
8
|
reviews: ISpecialistReview[];
|
|
9
|
-
locale
|
|
9
|
+
locale: SupportedLocales;
|
|
10
10
|
useAdditionalDiscount?: boolean;
|
|
11
11
|
onBuyTariff?: (tariffId: string) => void;
|
|
12
12
|
isLoading?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SpecialistReview, TranslationType } from '../../shared/types';
|
|
2
|
+
import { SpecialistReview, SupportedLocales, TranslationType } from '../../shared/types';
|
|
3
3
|
export type ReviewCardFeatureVariantType = 'default' | 'outlined' | 'full' | 'store' | 'starFirst';
|
|
4
4
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
5
5
|
id?: string | undefined;
|
|
@@ -14,7 +14,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
|
14
14
|
onExpandReview?(): void;
|
|
15
15
|
className?: string | undefined;
|
|
16
16
|
useDate?: boolean | undefined;
|
|
17
|
-
locale?:
|
|
17
|
+
locale?: SupportedLocales | undefined;
|
|
18
18
|
isEditable?: boolean | undefined;
|
|
19
19
|
onEditReview?: ((review: Pick<SpecialistReview, "id" | "review_rating" | "text_of_review">) => void) | undefined;
|
|
20
20
|
} & TranslationType & React.RefAttributes<HTMLDivElement>>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ScheduleFeature } from './ScheduleFeature';
|
|
@@ -0,0 +1,11 @@
|
|
|
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,11 +1,11 @@
|
|
|
1
|
-
import { Session } from '../../shared';
|
|
1
|
+
import { Session, SupportedLocales } from '../../shared';
|
|
2
2
|
import { WithTranslation } from 'react-i18next';
|
|
3
3
|
export type SessionPreviewFeatureProps = {
|
|
4
4
|
session?: Session;
|
|
5
5
|
viewPerson?: 'client' | 'specialist';
|
|
6
6
|
t?: WithTranslation['t'];
|
|
7
7
|
isLoading?: boolean;
|
|
8
|
-
locale
|
|
8
|
+
locale: SupportedLocales;
|
|
9
9
|
maxPeriodToReviewPastSessionInHours?: number;
|
|
10
10
|
onSessionClick?(session: Session): void;
|
|
11
11
|
onSessionStart?(session: Session): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { SupportedCurrency } from '../../shared';
|
|
2
|
+
import { SupportedCurrency, SupportedLocales } from '../../shared';
|
|
3
3
|
import { WithTranslation } from 'react-i18next';
|
|
4
4
|
export type SpecialistInfoColumnFeatureProps = {
|
|
5
5
|
t?: WithTranslation['t'];
|
|
@@ -12,6 +12,7 @@ export type SpecialistInfoColumnFeatureProps = {
|
|
|
12
12
|
currentPriceType: SupportedCurrency;
|
|
13
13
|
className?: string;
|
|
14
14
|
userBalance?: number;
|
|
15
|
+
locale: SupportedLocales;
|
|
15
16
|
};
|
|
16
17
|
declare const SpecialistInfoColumnFeature: FC<SpecialistInfoColumnFeatureProps>;
|
|
17
18
|
export default SpecialistInfoColumnFeature;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SpecialistConsultation } from '../../../shared/types';
|
|
2
|
+
import { SpecialistConsultation, SupportedLocales } from '../../../shared/types';
|
|
3
3
|
type ConsultationCardProps = {
|
|
4
4
|
consultation: SpecialistConsultation;
|
|
5
5
|
consultationClick?: (consultation: SpecialistConsultation) => void;
|
|
6
|
-
locale
|
|
6
|
+
locale: SupportedLocales;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: React.NamedExoticComponent<ConsultationCardProps>;
|
|
9
9
|
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SpecialistConsultation, SupportedLocales } from '../../../shared/types';
|
|
3
|
+
type ConsultationCardProps = {
|
|
4
|
+
consultation: SpecialistConsultation;
|
|
5
|
+
consultationClick?: (consultation: SpecialistConsultation) => void;
|
|
6
|
+
locale: SupportedLocales;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: React.NamedExoticComponent<ConsultationCardProps>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SpecialistConsultation, SupportedLocales } from '../../../shared/types';
|
|
3
|
+
type ConsultationCardProps = {
|
|
4
|
+
consultation: SpecialistConsultation;
|
|
5
|
+
consultationClick?: (consultation: SpecialistConsultation) => void;
|
|
6
|
+
locale: SupportedLocales;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: React.NamedExoticComponent<ConsultationCardProps>;
|
|
9
|
+
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SpecialistConsultation } from '../../../shared/types';
|
|
2
|
+
import { SpecialistConsultation, SupportedLocales } from '../../../shared/types';
|
|
3
3
|
type ConsultationsListProps = {
|
|
4
|
+
locale: SupportedLocales;
|
|
4
5
|
consultations: SpecialistConsultation[];
|
|
5
|
-
locale?: string;
|
|
6
6
|
consultationClick?: (consultation: SpecialistConsultation) => void;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: React.NamedExoticComponent<ConsultationsListProps>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { WithTranslation } from 'react-i18next';
|
|
2
|
-
import { ScheduleSlot, TypographyVariantsEnum } from '../../shared';
|
|
2
|
+
import { ScheduleSlot, SupportedLocales, TypographyVariantsEnum } from '../../shared';
|
|
3
3
|
import { ScheduleDate } from '../../shared';
|
|
4
4
|
export type ScheduleFeatureProps = {
|
|
5
5
|
className?: string;
|
|
6
6
|
t?: WithTranslation['t'];
|
|
7
|
-
locale?:
|
|
7
|
+
locale?: SupportedLocales;
|
|
8
8
|
forceLoading?: boolean;
|
|
9
9
|
variant?: 'full' | 'flat';
|
|
10
10
|
slotsLimit?: number;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { WithTranslation } from 'react-i18next';
|
|
2
2
|
import { VariantEnum } from '../../shared/types/variant';
|
|
3
|
-
import { OnBoardingThemeV2Type } from '../../shared';
|
|
3
|
+
import { OnBoardingThemeV2Type, SupportedLocales } from '../../shared';
|
|
4
4
|
export type TariffFeatureProps = {
|
|
5
5
|
className?: string;
|
|
6
6
|
t?: WithTranslation['t'];
|
|
7
7
|
label: string;
|
|
8
8
|
priceBefore?: number;
|
|
9
9
|
price: number;
|
|
10
|
-
locale
|
|
10
|
+
locale: SupportedLocales;
|
|
11
11
|
id: string;
|
|
12
12
|
isSelected: boolean;
|
|
13
13
|
badge?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SupportedLocales } from '../types';
|
|
1
2
|
/**
|
|
2
3
|
* Day number of the month for specialists payments
|
|
3
4
|
**/
|
|
@@ -12,7 +13,7 @@ export declare function getDatePosition(calendarDate: Date): DatesResultType;
|
|
|
12
13
|
export declare function getSelectedFormattedDate(date: Date, locale?: string): string;
|
|
13
14
|
type FormattedDateProps = {
|
|
14
15
|
date: Date;
|
|
15
|
-
locale?:
|
|
16
|
+
locale?: SupportedLocales;
|
|
16
17
|
};
|
|
17
18
|
export declare function useFormattedDate({ date, locale }: FormattedDateProps): string;
|
|
18
19
|
type PaymentsConsultationsTabsProps = {
|
|
@@ -6,6 +6,12 @@ export type TranslationMock = {
|
|
|
6
6
|
export type TranslationType = {
|
|
7
7
|
t: WithTranslation['t'] | TranslationMock['t'];
|
|
8
8
|
};
|
|
9
|
+
export declare enum SupportedLocales {
|
|
10
|
+
'uk' = "uk",
|
|
11
|
+
'pl' = "pl",
|
|
12
|
+
'es' = "es",
|
|
13
|
+
'en' = "en"
|
|
14
|
+
}
|
|
9
15
|
export declare enum SupportedCurrency {
|
|
10
16
|
'UAH' = "UAH",
|
|
11
17
|
'EUR' = "EUR",
|
|
@@ -13,33 +19,51 @@ export declare enum SupportedCurrency {
|
|
|
13
19
|
'USD' = "USD"
|
|
14
20
|
}
|
|
15
21
|
export declare const CurrencyLocaleMapper: {
|
|
16
|
-
UAH:
|
|
22
|
+
UAH: SupportedLocales;
|
|
17
23
|
EUR: string;
|
|
18
|
-
PLN:
|
|
19
|
-
USD:
|
|
24
|
+
PLN: SupportedLocales;
|
|
25
|
+
USD: SupportedLocales;
|
|
20
26
|
};
|
|
21
27
|
export declare const LocaleCurrencyMapper: {
|
|
22
28
|
uk: SupportedCurrency;
|
|
23
29
|
pl: SupportedCurrency;
|
|
24
30
|
es: SupportedCurrency;
|
|
31
|
+
en: SupportedCurrency;
|
|
25
32
|
};
|
|
26
33
|
export declare enum CurrencySignByLocale {
|
|
27
34
|
'uk' = "\u20B4",
|
|
28
35
|
'pl' = "z\u0142",
|
|
29
36
|
'eur' = "\u20AC",
|
|
30
|
-
'es' = "$"
|
|
37
|
+
'es' = "$",
|
|
38
|
+
'en' = "$"
|
|
31
39
|
}
|
|
32
40
|
export declare enum ShortCurrencySignByLocale {
|
|
33
41
|
'uk' = "\u0433\u0440\u043D",
|
|
34
42
|
'pl' = "z\u0142o",
|
|
35
43
|
'eur' = "EUR",
|
|
36
|
-
'es' = "USD"
|
|
44
|
+
'es' = "USD",
|
|
45
|
+
'en' = "USD"
|
|
46
|
+
}
|
|
47
|
+
export declare enum PayoutCurrencySignByLocale {
|
|
48
|
+
'uk' = "\u20AC",
|
|
49
|
+
'pl' = "\u20AC",
|
|
50
|
+
'eur' = "\u20AC",
|
|
51
|
+
'es' = "\u20AC",
|
|
52
|
+
'en' = "$"
|
|
53
|
+
}
|
|
54
|
+
export declare enum PayoutShortCurrencySignByLocale {
|
|
55
|
+
'uk' = "EUR",
|
|
56
|
+
'pl' = "EUR",
|
|
57
|
+
'eur' = "EUR",
|
|
58
|
+
'es' = "EUR",
|
|
59
|
+
'en' = "USD"
|
|
37
60
|
}
|
|
38
61
|
export declare enum ShortTranscriptionCurrencySignByLocale {
|
|
39
62
|
'uk' = "\u0433\u0440",
|
|
40
63
|
'pl' = "z\u0142o",
|
|
41
64
|
'eur' = "EUR",
|
|
42
|
-
'es' = "US"
|
|
65
|
+
'es' = "US",
|
|
66
|
+
'en' = "USD"
|
|
43
67
|
}
|
|
44
68
|
export declare const StripeSupportedCurrency: SupportedCurrency[];
|
|
45
69
|
export type CSSVarStyles = React.CSSProperties & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ResponseFileType } from './responseFileType';
|
|
2
2
|
import { ISpecialistReview } from '../../../lib/ReviewSwiperSection';
|
|
3
|
-
import { TranslationType } from './common';
|
|
3
|
+
import { SupportedLocales, TranslationType } from './common';
|
|
4
4
|
import { WithTranslation } from 'react-i18next';
|
|
5
5
|
import { ChartData } from '../../features/Charts/types';
|
|
6
6
|
import { Tariff } from './tariff';
|
|
@@ -199,7 +199,7 @@ export type OnBoardingLoaderScreenType = OnBoardingBaseScreenType & {
|
|
|
199
199
|
};
|
|
200
200
|
export type OnBoardingReviewsScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & TranslationType & {
|
|
201
201
|
title?: string | null;
|
|
202
|
-
|
|
202
|
+
reviewlocale: SupportedLocales;
|
|
203
203
|
reviews: ISpecialistReview[];
|
|
204
204
|
isLoading?: boolean;
|
|
205
205
|
};
|
|
@@ -249,7 +249,7 @@ export type OnBoardingChartScreenType = OnBoardingBaseScreenType & OnBoardingScr
|
|
|
249
249
|
export type OnBoardingScreensType = OnBoardingStartScreenType | OnBoardingMultiSelectScreenType | OnBoardingGoalSelectScreenType | OnBoardingSingleSelectScreenType | OnBoardingSingleImageSelectScreenType | OnBoardingSingleRoundImageSelectScreenType | OnBoardingSingleScaleSelectScreenType | OnBoardingInfoScreenType | OnBoardingLoaderScreenType | OnBoardingReviewsScreenType | OnBoardingEmailScreenType | OnBoardingConfirmScreenType | OnBoardingCompareScreenType | OnBoardingPaywallScreenType | OnBoardingChartScreenType | OnBoardingGraphScreenType;
|
|
250
250
|
export type OnBoardingFlowType = {
|
|
251
251
|
id: string;
|
|
252
|
-
locale:
|
|
252
|
+
locale: SupportedLocales;
|
|
253
253
|
name: string;
|
|
254
254
|
screens: Record<string, OnBoardingScreensType>;
|
|
255
255
|
isWebToWeb?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SupportedCurrency } from '../types';
|
|
1
|
+
import { SupportedCurrency, SupportedLocales } from '../types';
|
|
2
2
|
export type DynamicCommissionValue = {
|
|
3
3
|
1: number;
|
|
4
4
|
999: number;
|
|
@@ -29,6 +29,7 @@ export type SpecialistConsultationPayment = {
|
|
|
29
29
|
price_local_commission_by_exchange_rate_in_cents: number;
|
|
30
30
|
price_default_after_commission_in_cents: number;
|
|
31
31
|
price_local_after_commission_by_exchange_rate_in_cents: number;
|
|
32
|
+
price_local_original_by_specialist_in_cents?: number;
|
|
32
33
|
};
|
|
33
34
|
export type SpecialistConsultation = {
|
|
34
35
|
id: string;
|
|
@@ -43,7 +44,7 @@ export type SpecialistPaymentConsultationsProps = {
|
|
|
43
44
|
calendarDate: Date;
|
|
44
45
|
futureCount?: number;
|
|
45
46
|
previousCount?: number;
|
|
46
|
-
locale
|
|
47
|
+
locale: SupportedLocales;
|
|
47
48
|
defaultTab?: string;
|
|
48
49
|
consultationsModeTrigger: (tab: string) => void;
|
|
49
50
|
consultationClick?: (consultation: SpecialistConsultation) => void;
|
|
@@ -56,7 +57,7 @@ export type SpecialistPaymentCardProps = {
|
|
|
56
57
|
isLoading?: boolean;
|
|
57
58
|
isInvoiceLoading?: boolean;
|
|
58
59
|
calendarDate: Date;
|
|
59
|
-
locale
|
|
60
|
+
locale: SupportedLocales;
|
|
60
61
|
revenue?: number;
|
|
61
62
|
currency?: SupportedCurrency | undefined;
|
|
62
63
|
showRevenue: boolean;
|
|
@@ -75,12 +76,12 @@ export type SpecialistPaymentWidgetType = SpecialistPaymentCardProps & {
|
|
|
75
76
|
export type SpecialistPaymentResumeWidgetType = SpecialistPaymentCardProps & SpecialistPaymentConsultationsProps;
|
|
76
77
|
export type PaymentBadgeType = {
|
|
77
78
|
date: Date;
|
|
78
|
-
locale
|
|
79
|
+
locale: SupportedLocales;
|
|
79
80
|
className?: string;
|
|
80
81
|
};
|
|
81
82
|
export type PaymentCalendarFeatureProps = {
|
|
82
83
|
date: Date;
|
|
83
|
-
locale
|
|
84
|
+
locale: SupportedLocales;
|
|
84
85
|
dateCallback: (date: Date) => void;
|
|
85
86
|
className?: string;
|
|
86
87
|
lastDate: Date;
|
|
@@ -89,6 +90,6 @@ export type SpecialistPaymentConsultationDetailsType = {
|
|
|
89
90
|
consultation: SpecialistConsultation;
|
|
90
91
|
isLoading: boolean;
|
|
91
92
|
timezone: string;
|
|
92
|
-
locale:
|
|
93
|
+
locale: SupportedLocales;
|
|
93
94
|
onUserClick?: () => void;
|
|
94
95
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SupportedCurrency } from './common';
|
|
1
|
+
import { SupportedCurrency, SupportedLocales } from './common';
|
|
2
2
|
import { ClientSpecialistContractStatusEnum, ContractStatusEnum } from './contract';
|
|
3
3
|
import { Schedule } from './schedule';
|
|
4
4
|
import { Sex } from './user';
|
|
@@ -26,7 +26,7 @@ export type Specialist = {
|
|
|
26
26
|
super_specialist: boolean;
|
|
27
27
|
reviews_average_rating: number;
|
|
28
28
|
reviews_count: number;
|
|
29
|
-
profile_lang:
|
|
29
|
+
profile_lang: SupportedLocales;
|
|
30
30
|
summary: string;
|
|
31
31
|
years_of_experience: number;
|
|
32
32
|
hours_of_practice?: number;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { CalendarCellProps } from './types';
|
|
3
3
|
export declare const CalendarCell: React.ForwardRefExoticComponent<{
|
|
4
4
|
onDatePress?: ((date: string, evt: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined;
|
|
5
|
-
locale:
|
|
5
|
+
locale: import("../..").SupportedLocales;
|
|
6
6
|
timeZone?: string | undefined;
|
|
7
7
|
selectionMode?: import("react-stately").SelectionMode | undefined;
|
|
8
8
|
renderCustomDateContent?: ((date: string, formattedDate: string, isSelected: boolean, isToday: boolean) => React.ReactNode) | undefined;
|