@mindly/ui-components 5.69.0 → 5.70.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 +4 -4
- package/dist/cjs/lib2/features/AcceptAgreementFeature/AcceptAgreemnetFeature.d.ts +8 -0
- package/dist/cjs/lib2/features/AcceptAgreementFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/utils/getSignAgreementsTabs.d.ts +2 -2
- package/dist/cjs/lib2/widgets/UpdateContractWidget/UpdateContractWidget.d.ts +13 -0
- package/dist/cjs/lib2/widgets/UpdateContractWidget/index.d.ts +1 -0
- package/dist/cjs/lib2/widgets/index.d.ts +1 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/lib2/features/AcceptAgreementFeature/AcceptAgreemnetFeature.d.ts +8 -0
- package/dist/esm/lib2/features/AcceptAgreementFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/index.d.ts +1 -0
- package/dist/esm/lib2/shared/utils/getSignAgreementsTabs.d.ts +2 -2
- package/dist/esm/lib2/widgets/UpdateContractWidget/UpdateContractWidget.d.ts +13 -0
- package/dist/esm/lib2/widgets/UpdateContractWidget/index.d.ts +1 -0
- package/dist/esm/lib2/widgets/index.d.ts +1 -0
- package/dist/index.d.ts +24 -3
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type AcceptAgreementFeatureProps = {
|
|
2
|
+
isAccepted: boolean;
|
|
3
|
+
setIsAccepted: (isAccepted: boolean) => void;
|
|
4
|
+
handlePressLink: () => void;
|
|
5
|
+
translations: string[];
|
|
6
|
+
};
|
|
7
|
+
export declare function AcceptAgreementFeature({ isAccepted, setIsAccepted, handlePressLink, translations }: AcceptAgreementFeatureProps): JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AcceptAgreemnetFeature';
|
|
@@ -6,12 +6,12 @@ type Tabs = {
|
|
|
6
6
|
behavior: 'tax-country' | 'profile-lang';
|
|
7
7
|
localeOrCountry: `${SupportedLangs}` | SupportedCountryLocale;
|
|
8
8
|
t: WithTranslation['t'];
|
|
9
|
-
jsonTree: TreeNode[];
|
|
9
|
+
jsonTree: TreeNode[][];
|
|
10
10
|
};
|
|
11
11
|
type TabsReturnType = {
|
|
12
12
|
id: `${SupportedLangs}`;
|
|
13
13
|
title: string;
|
|
14
|
-
value: TreeNode;
|
|
14
|
+
value: TreeNode[];
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
17
|
* This function takes json tree and locale and
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type UpdateContractWidgetProps = {
|
|
2
|
+
isAccepted: boolean;
|
|
3
|
+
setIsAccepted: (isAccepted: boolean) => void;
|
|
4
|
+
handlePressLink: () => void;
|
|
5
|
+
heading: string;
|
|
6
|
+
image: string;
|
|
7
|
+
avatar: string;
|
|
8
|
+
applyText: string;
|
|
9
|
+
onApply: () => void;
|
|
10
|
+
agreementText: string[];
|
|
11
|
+
};
|
|
12
|
+
export declare function UpdateContractWidget({ applyText, onApply, heading, image, avatar, agreementText, handlePressLink, isAccepted, setIsAccepted, }: UpdateContractWidgetProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './UpdateContractWidget';
|
package/dist/index.d.ts
CHANGED
|
@@ -2775,17 +2775,25 @@ type TextAreaFormFeatureProps = {
|
|
|
2775
2775
|
};
|
|
2776
2776
|
declare const _default$3: React__default.NamedExoticComponent<TextAreaFormFeatureProps>;
|
|
2777
2777
|
|
|
2778
|
+
type AcceptAgreementFeatureProps = {
|
|
2779
|
+
isAccepted: boolean;
|
|
2780
|
+
setIsAccepted: (isAccepted: boolean) => void;
|
|
2781
|
+
handlePressLink: () => void;
|
|
2782
|
+
translations: string[];
|
|
2783
|
+
};
|
|
2784
|
+
declare function AcceptAgreementFeature({ isAccepted, setIsAccepted, handlePressLink, translations }: AcceptAgreementFeatureProps): JSX.Element;
|
|
2785
|
+
|
|
2778
2786
|
type SupportedCountryLocale = string;
|
|
2779
2787
|
type Tabs = {
|
|
2780
2788
|
behavior: 'tax-country' | 'profile-lang';
|
|
2781
2789
|
localeOrCountry: `${SupportedLangs}` | SupportedCountryLocale;
|
|
2782
2790
|
t: WithTranslation['t'];
|
|
2783
|
-
jsonTree: TreeNode[];
|
|
2791
|
+
jsonTree: TreeNode[][];
|
|
2784
2792
|
};
|
|
2785
2793
|
type TabsReturnType = {
|
|
2786
2794
|
id: `${SupportedLangs}`;
|
|
2787
2795
|
title: string;
|
|
2788
|
-
value: TreeNode;
|
|
2796
|
+
value: TreeNode[];
|
|
2789
2797
|
};
|
|
2790
2798
|
/**
|
|
2791
2799
|
* This function takes json tree and locale and
|
|
@@ -2845,4 +2853,17 @@ declare const _default$1: React__default.NamedExoticComponent<SpecialistPaymentC
|
|
|
2845
2853
|
|
|
2846
2854
|
declare const _default: React__default.NamedExoticComponent<SpecialistPaymentCardProps & SpecialistPaymentConsultationsProps & TranslationType>;
|
|
2847
2855
|
|
|
2848
|
-
|
|
2856
|
+
type UpdateContractWidgetProps = {
|
|
2857
|
+
isAccepted: boolean;
|
|
2858
|
+
setIsAccepted: (isAccepted: boolean) => void;
|
|
2859
|
+
handlePressLink: () => void;
|
|
2860
|
+
heading: string;
|
|
2861
|
+
image: string;
|
|
2862
|
+
avatar: string;
|
|
2863
|
+
applyText: string;
|
|
2864
|
+
onApply: () => void;
|
|
2865
|
+
agreementText: string[];
|
|
2866
|
+
};
|
|
2867
|
+
declare function UpdateContractWidget({ applyText, onApply, heading, image, avatar, agreementText, handlePressLink, isAccepted, setIsAccepted, }: UpdateContractWidgetProps): JSX.Element;
|
|
2868
|
+
|
|
2869
|
+
export { AcceptAgreementFeature, AppFooter, _default$t as AppFooter_v2, AppHeader, AppHeader_v2, AppNotSupportedFeature, ArchivedConsultationCard, Avatar, AvatarProps$1 as AvatarProps, _default$s as Avatar_v2, BREAKPOINT_ICON_SIZE, _default$o as Badge, _default$H as BookingScheduleTime, _default$G as BookingSpecialistInfo, Button, Button_v2, Calendar, _default$8 as CalendarPickerFeature, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$10 as ChatListItem, _default$_ as ChatListSkeleton, _default$$ as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$B as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingContext, CircleRatingProvider, CollapsableText, _default$T as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$Q as ConsultationModal, _default$c as ConsultationPricingFeature, _default$O as ConsultationSpecialistCard, ConsultationsListSkeleton, Container, Container_v2, ContentCard, ContentRendererProps, ContentTree as ContractTreeFeature, CountdownTimerFeature, CountryOfOriginModal, CustomButton, _default$C as CustomCheckbox, CustomRadioButton, _default$D as CustomSelect, _default$E as CustomTextarea, DatePicker, _default$M as DaySlider, DayToRender, DrumListPicker, _default$I as EducationCard, _default$Z as EmptyChatList, EmptyChatMessages, _default$R as EmptyConsultations, EntryNotFound, EntryNotFoundProps, ErrorCardFeature, _default$y as Flag, FlagTypes, _default$q as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, GoogleCalendarModalFeature, HeaderWithRedirect, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconAddModerator, IconApple, IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowTopRight, IconAttachMoney, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$k as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCancel, IconCancelRounded, IconCapFilled, IconChat3d, IconChatFilled, IconChatOutline, IconCheck, IconCheckCircle, IconCheckSmall, IconCheckboxChecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconCopy, IconCreditCard, IconDelete, IconDocument, IconEcgHeart, IconEdit, IconEditCalendar, IconEventBusy, IconEye, IconEyeOff, IconGallery, IconGift, IconGoogle, IconHome, IconIdCard, IconInvisible, IconLanguage, IconLeftArrow, IconLetter, IconLink, IconLock, IconLogout, IconManageAccounts, IconMinus, IconMoreVertical, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPersonAlert, IconPlus, IconProfile, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconPromocode, IconQueryStats, IconQuestion, IconRadioButtonChecked, IconResume, IconSchema, IconSearch, IconSend, IconSettings, IconShare, IconSpinner, IconStar, IconStarFilled, IconStylus, IconSuccess, IconText, IconTime, IconTimeAdd, IconUnmute, IconUserNotFound, IconVerifiedUser, IconVisible, IconWarning, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, InputSearch, _default$g as Item, _default$n as ItemCard, LabelArrowRedirect, LanguagesList, _default$14 as LetterAvatar, _default$z as LineFileInput, ListBox, ListBoxItem, ListBoxItemProps, ListBoxProps, ListBoxSelectionType, ListButton, ListItemType, _default$h as ListItems, ListOption, ListOptionsProps, ListSelect, ListSelectProps, ListSimple, _default$i as Loading, LouseConnect, _default$11 as MediaPlayer, Modal, ModalCalendar, ModalSheet, NavigationBar, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, OutdatedPersonalDataFeature, PasswordInput, _default$7 as PaymentCalendarFeature, _default$9 as PaymentSessionsList, _default$13 as PersonDateTimeCard, _default$p as Picture, _default$x as ProfileInformation, _default$K as ProfileView, _default$A as ProgressBar, ProgressBarDashed, _default$j as ProgressBar_v2, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$l as Rating, RatingCircleWrapper, _default$N as ReSchedule, ReScheduleSuccess, Refresher, ReviewCard, _default$6 as ReviewCardFeature, ReviewStatistics, ReviewSwiperSection, RoundButton, RowItemType, RowSelect, RowSelectProps, SIZES, _default$4 as ScreenDrumPickerFormFeature, ScreenInput, _default$5 as ScreenInputFormFeature, ScreenInputUpdateFeature, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$12 as SelectImpressionEmoji, SelectItemType, ShareModalFeature, _default$S as SignUpSessionButton, _default$P as SignUpSessionModal, Skeleton, _default$r as Skeleton_v2, _default$e as SlotsGrid, _default$d as SlotsGridItem, _default$J as SpecialistAbout, SpecialistCard$1 as SpecialistCard, SpecialistCardListWidget, _default$2 as SpecialistCardWidget, _default$X as SpecialistEducationCard, SpecialistInfoColumnFeature as SpecialistInfoColumn, SpecialistLangs, _default$w as SpecialistMatch, _default$b as SpecialistPaymentCommonCardFeature, SpecialistPaymentCommonCardSkeleton, _default$a as SpecialistPaymentConsultationsFeature, _default as SpecialistPaymentResumeWidget, _default$1 as SpecialistPaymentWidget, _default$W as SpecialistProfileViewCard, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$v as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, SuccessScreen, SwitchDeviceCard, TabBar, TabItem, Tabs$1 as Tabs, Tag, _default$3 as TextAreaFormFeature, _default$F as TextInput, _default$Y as Textarea, _default$m as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, TreeNode, _default$u as Typography, TypographyVariantsEnum, UpdateContractWidget, UpdatesCard, UserInfoModal, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$f as Video, _default$U as VideoCallInfo, _default$V as VideoPlayer, _default$L as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, getProgressForBreakPoint, getSignAgreementsTabs, mergeRefs, newShade, priceNormalize, replaceAsterisksWithBold, toast, useAutoFocus, useBreakPointsPosition, useCircleRatingRenderData, useDomRef, useEvent, useRangeIndex, useRatingCircleBreakPoints, useRatingCircleContentValue, useRatingCircleLegend, useRatingContext, useToastContext };
|