@mindly/ui-components 3.43.0 → 3.45.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 +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/Consultations/CancelSession/CancelSession.d.ts +9 -1
- package/dist/cjs/types/lib/Consultations/ConsultationCard/types.d.ts +12 -0
- package/dist/cjs/types/lib/Consultations/ConsultationModal/ConsultationModal.d.ts +17 -0
- package/dist/cjs/types/lib/Consultations/ConsultationSpecialistCard/ConsultationSpecialistCard.d.ts +2 -1
- package/dist/cjs/types/lib/Consultations/ReSchedule/ReSchedule.d.ts +6 -0
- package/dist/cjs/types/lib/Consultations/ReScheduleSuccess/ReScheduleSuccess.d.ts +3 -0
- package/dist/cjs/types/lib/Consultations/SignUpSessionModal/SignUpSessionModal.d.ts +3 -1
- package/dist/cjs/types/lib/Consultations/UserInfoModal/UserInfoModal.d.ts +10 -0
- package/dist/cjs/types/lib/Consultations/utils.d.ts +1 -1
- package/dist/cjs/types/lib/DaySlider/DaySlider.d.ts +6 -1
- package/dist/cjs/types/lib/DaySlider/utils.d.ts +1 -1
- package/dist/cjs/types/lib/SpecialistProfile/SpecialistAbout/SpecialistAbout.d.ts +2 -0
- package/dist/cjs/types/lib/SpecialistProfile/WorkDirections/WorkDirections.d.ts +2 -0
- package/dist/cjs/types/lib/StatisticsScroll/StatisticsScroll.d.ts +13 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/Consultations/CancelSession/CancelSession.d.ts +9 -1
- package/dist/esm/types/lib/Consultations/ConsultationCard/types.d.ts +12 -0
- package/dist/esm/types/lib/Consultations/ConsultationModal/ConsultationModal.d.ts +17 -0
- package/dist/esm/types/lib/Consultations/ConsultationSpecialistCard/ConsultationSpecialistCard.d.ts +2 -1
- package/dist/esm/types/lib/Consultations/ReSchedule/ReSchedule.d.ts +6 -0
- package/dist/esm/types/lib/Consultations/ReScheduleSuccess/ReScheduleSuccess.d.ts +3 -0
- package/dist/esm/types/lib/Consultations/SignUpSessionModal/SignUpSessionModal.d.ts +3 -1
- package/dist/esm/types/lib/Consultations/UserInfoModal/UserInfoModal.d.ts +10 -0
- package/dist/esm/types/lib/Consultations/utils.d.ts +1 -1
- package/dist/esm/types/lib/DaySlider/DaySlider.d.ts +6 -1
- package/dist/esm/types/lib/DaySlider/utils.d.ts +1 -1
- package/dist/esm/types/lib/SpecialistProfile/SpecialistAbout/SpecialistAbout.d.ts +2 -0
- package/dist/esm/types/lib/SpecialistProfile/WorkDirections/WorkDirections.d.ts +2 -0
- package/dist/esm/types/lib/StatisticsScroll/StatisticsScroll.d.ts +13 -0
- package/dist/index.d.ts +85 -4
- package/package.json +1 -1
|
@@ -7,7 +7,15 @@ declare type CancelSessionProps = {
|
|
|
7
7
|
onSubmit?: (message: string) => void;
|
|
8
8
|
onReschedule?: () => void;
|
|
9
9
|
isLoading?: boolean;
|
|
10
|
-
|
|
10
|
+
locale: string;
|
|
11
|
+
translations: {
|
|
12
|
+
title: string;
|
|
13
|
+
placeholder: string;
|
|
14
|
+
cancelBtnLabel: string;
|
|
15
|
+
rescheduleBtnLabel: string;
|
|
16
|
+
question: string;
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
11
19
|
};
|
|
12
20
|
declare const CancelSession: FC<CancelSessionProps>;
|
|
13
21
|
export default CancelSession;
|
|
@@ -13,4 +13,16 @@ export declare type ConsultationCardProps = {
|
|
|
13
13
|
onClick?: (sessionId: string) => void;
|
|
14
14
|
isLoading?: boolean;
|
|
15
15
|
onVideoCall?: (sessionId: string) => void;
|
|
16
|
+
locale: string;
|
|
17
|
+
translations?: {
|
|
18
|
+
with?: string;
|
|
19
|
+
join?: string;
|
|
20
|
+
sessionCount?: string;
|
|
21
|
+
forLocalTime?: string;
|
|
22
|
+
days?: string[];
|
|
23
|
+
hour?: string[];
|
|
24
|
+
minutes?: string[];
|
|
25
|
+
from?: string;
|
|
26
|
+
started?: string;
|
|
27
|
+
};
|
|
16
28
|
};
|
|
@@ -14,6 +14,23 @@ declare type ConsultationModalProps = {
|
|
|
14
14
|
onCancel?: (sessionId: string) => void;
|
|
15
15
|
onReschedule?: (sessionId: string) => void;
|
|
16
16
|
onModalClose?: () => void;
|
|
17
|
+
locale: string;
|
|
18
|
+
translations?: {
|
|
19
|
+
with?: string;
|
|
20
|
+
sessionCount?: string;
|
|
21
|
+
forLocalTime?: string;
|
|
22
|
+
finishTitle?: string;
|
|
23
|
+
writeBtnLabel?: string;
|
|
24
|
+
startBtnLabel?: string;
|
|
25
|
+
cancelBtnLabel?: string;
|
|
26
|
+
rescheduleBtnLabel?: string;
|
|
27
|
+
question?: string;
|
|
28
|
+
days?: string[];
|
|
29
|
+
hour?: string[];
|
|
30
|
+
minutes?: string[];
|
|
31
|
+
from?: string;
|
|
32
|
+
started?: string;
|
|
33
|
+
};
|
|
17
34
|
};
|
|
18
35
|
declare const _default: React.NamedExoticComponent<ConsultationModalProps>;
|
|
19
36
|
export default _default;
|
package/dist/cjs/types/lib/Consultations/ConsultationSpecialistCard/ConsultationSpecialistCard.d.ts
CHANGED
|
@@ -3,9 +3,10 @@ declare type ConsultationSpecialistCardProps = {
|
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
5
5
|
avatar?: string;
|
|
6
|
-
sessions:
|
|
6
|
+
sessions: string;
|
|
7
7
|
onClick?: (id: string) => void;
|
|
8
8
|
onSignUp?: (id: string) => void;
|
|
9
|
+
signInBtnLabel: string;
|
|
9
10
|
};
|
|
10
11
|
declare const _default: React.NamedExoticComponent<ConsultationSpecialistCardProps>;
|
|
11
12
|
export default _default;
|
|
@@ -6,6 +6,12 @@ declare type ReScheduleProps = {
|
|
|
6
6
|
timeZone?: string;
|
|
7
7
|
onSubmit?: (message: string) => void;
|
|
8
8
|
isLoading?: boolean;
|
|
9
|
+
locale: string;
|
|
10
|
+
translations?: {
|
|
11
|
+
title?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
btnLabel: string;
|
|
14
|
+
};
|
|
9
15
|
};
|
|
10
16
|
declare const _default: React.NamedExoticComponent<ReScheduleProps>;
|
|
11
17
|
export default _default;
|
|
@@ -8,6 +8,9 @@ declare type ReScheduleSuccessProps = {
|
|
|
8
8
|
type?: 'reschedule' | 'cancel';
|
|
9
9
|
successTitle?: string;
|
|
10
10
|
cancelTitle?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
success: string;
|
|
13
|
+
locale: string;
|
|
11
14
|
};
|
|
12
15
|
declare const ReScheduleSuccess: FC<ReScheduleSuccessProps>;
|
|
13
16
|
export default ReScheduleSuccess;
|
|
@@ -3,7 +3,7 @@ declare type SpecialistData = {
|
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
5
5
|
avatar?: string;
|
|
6
|
-
sessions:
|
|
6
|
+
sessions: string;
|
|
7
7
|
};
|
|
8
8
|
declare type SignUpSessionModalProps = {
|
|
9
9
|
isOpen: boolean;
|
|
@@ -11,6 +11,8 @@ declare type SignUpSessionModalProps = {
|
|
|
11
11
|
onSpecialistSelected?: (id: string) => void;
|
|
12
12
|
onCancel?: () => void;
|
|
13
13
|
viewportHeight: number;
|
|
14
|
+
title: string;
|
|
15
|
+
cancelBtnLabel: string;
|
|
14
16
|
};
|
|
15
17
|
declare const _default: React.NamedExoticComponent<SignUpSessionModalProps>;
|
|
16
18
|
export default _default;
|
|
@@ -11,6 +11,16 @@ declare type UserInfoModalProps = {
|
|
|
11
11
|
onSignUp?: (id: string) => void;
|
|
12
12
|
onClose: () => void;
|
|
13
13
|
isClient?: boolean;
|
|
14
|
+
translations?: {
|
|
15
|
+
sessions?: string[];
|
|
16
|
+
writeBtnLabel?: string;
|
|
17
|
+
buyBtnLabel?: string;
|
|
18
|
+
buyTooltip?: string;
|
|
19
|
+
profile?: string;
|
|
20
|
+
clientBtnLabel?: string;
|
|
21
|
+
writeLabelBtn?: string;
|
|
22
|
+
sigUpBtnLabel?: string;
|
|
23
|
+
};
|
|
14
24
|
};
|
|
15
25
|
declare const UserInfoModal: FC<UserInfoModalProps>;
|
|
16
26
|
export default UserInfoModal;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { DateTime } from 'luxon';
|
|
2
2
|
export declare const decOfNum: (number: number, titles: string[]) => string;
|
|
3
|
-
export declare const timeNormalize: (dt: DateTime) => string;
|
|
3
|
+
export declare const timeNormalize: (dt: DateTime, days?: string[] | undefined, hour?: string[] | undefined, minutes?: string[] | undefined, from?: string | undefined, started?: string | undefined) => string;
|
|
@@ -3,6 +3,11 @@ import { JSX } from '@ionic/core/components';
|
|
|
3
3
|
declare type DaySliderProps = JSX.IonSlides & HTMLAttributes<HTMLIonSlidesElement> & RefAttributes<HTMLIonSlidesElement> & {
|
|
4
4
|
slides: number[];
|
|
5
5
|
onDayClick?: (i: number, item: number) => void;
|
|
6
|
+
locale: string;
|
|
7
|
+
translations?: {
|
|
8
|
+
today?: string;
|
|
9
|
+
tomorrow?: string;
|
|
10
|
+
};
|
|
6
11
|
};
|
|
7
|
-
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<DaySliderProps, "key" | keyof JSX.IonSlides | keyof React.HTMLAttributes<HTMLIonSlidesElement> | "slides" | "onDayClick"> & React.RefAttributes<HTMLIonSlidesElement>>>;
|
|
12
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<DaySliderProps, "key" | "locale" | "translations" | keyof JSX.IonSlides | keyof React.HTMLAttributes<HTMLIonSlidesElement> | "slides" | "onDayClick"> & React.RefAttributes<HTMLIonSlidesElement>>>;
|
|
8
13
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const dateNormalize: (date: number) => string;
|
|
1
|
+
export declare const dateNormalize: (date: number, locale: string, today?: string | undefined, tomorrow?: string | undefined) => string;
|
|
@@ -3,6 +3,8 @@ export declare type SpecialistWorkDirectionsPropsType = {
|
|
|
3
3
|
workDirections?: string[] | [];
|
|
4
4
|
limit?: number;
|
|
5
5
|
showLoader?: boolean;
|
|
6
|
+
moreLabel?: string;
|
|
7
|
+
hideLabel?: string;
|
|
6
8
|
};
|
|
7
9
|
declare const WorkDirections: React.FC<SpecialistWorkDirectionsPropsType>;
|
|
8
10
|
export default WorkDirections;
|
|
@@ -15,6 +15,19 @@ export declare type SpecialistStatisticsCardProps = {
|
|
|
15
15
|
sessionDuration?: number;
|
|
16
16
|
subscriptionStatus?: boolean;
|
|
17
17
|
subscriptionBalance?: number;
|
|
18
|
+
translations?: {
|
|
19
|
+
checked?: string;
|
|
20
|
+
active?: string;
|
|
21
|
+
subscription?: string;
|
|
22
|
+
balance?: string;
|
|
23
|
+
perSessions?: string;
|
|
24
|
+
clients?: string[];
|
|
25
|
+
sessions?: string[];
|
|
26
|
+
practice?: string;
|
|
27
|
+
experience?: string;
|
|
28
|
+
minutes?: string;
|
|
29
|
+
perSession?: string;
|
|
30
|
+
};
|
|
18
31
|
};
|
|
19
32
|
declare const StatisticsScroll: React.FC<SpecialistStatisticsCardProps>;
|
|
20
33
|
export default StatisticsScroll;
|