@mindly/ui-components 5.93.0 → 5.94.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 +7 -7
- package/dist/cjs/lib2/features/AppHeaderPageFeature/AppHeaderPageSkeletonFeature.d.ts +3 -1
- package/dist/cjs/lib2/features/ContractDataFeature/ContractDataFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/ContractDataFeature/ContractDataFeature.stories.d.ts +11 -0
- package/dist/cjs/lib2/features/ContractDataFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/ContractDataFeature/styles.d.ts +160 -0
- package/dist/cjs/lib2/features/ContractDataFeature/types.d.ts +8 -0
- package/dist/cjs/lib2/features/MenuFeature/MenuFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/MenuFeature/MenuFeatureSkeleton.d.ts +4 -0
- package/dist/cjs/lib2/features/MenuFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/MenuFeature/types.d.ts +13 -0
- package/dist/cjs/lib2/features/SessionPreviewFeature/SessionPreviewFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/SessionPreviewFeature/SessionPreviewFeature.stories.d.ts +13 -0
- package/dist/cjs/lib2/features/SessionPreviewFeature/SessionPreviewFeatureSkeleton.d.ts +3 -0
- package/dist/cjs/lib2/features/SessionPreviewFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/SessionPreviewFeature/styles.d.ts +157 -0
- package/dist/cjs/lib2/features/SessionPreviewFeature/types.d.ts +10 -0
- package/dist/cjs/lib2/features/index.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconCalendarWithDot.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconContract.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconReceipt.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +3 -0
- package/dist/cjs/lib2/shared/types/contract.d.ts +1 -0
- package/dist/cjs/lib2/shared/types/index.d.ts +1 -1
- package/dist/cjs/lib2/shared/types/{consultation.d.ts → session.d.ts} +18 -14
- package/dist/cjs/lib2/shared/types/subscription.d.ts +3 -2
- package/dist/cjs/lib2/shared/utils/format.d.ts +2 -0
- package/dist/cjs/lib2/shared/utils/mock.d.ts +41 -1
- package/dist/cjs/lib2/shared/utils/session.d.ts +12 -0
- package/dist/cjs/lib2/shared/utils/userCan.d.ts +2 -2
- package/dist/cjs/lib2/widgets/SessionDetailWidget/SessionDetailWidget.d.ts +4 -0
- package/dist/cjs/lib2/widgets/SessionDetailWidget/SessionDetailWidget.stories.d.ts +15 -0
- package/dist/cjs/lib2/widgets/SessionDetailWidget/SessionDetailWidgetSkeleton.d.ts +3 -0
- package/dist/cjs/lib2/widgets/SessionDetailWidget/index.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SessionDetailWidget/types.d.ts +18 -0
- package/dist/cjs/lib2/widgets/SessionPaymentsWidget/SessionPaymentsWidget.d.ts +4 -0
- package/dist/cjs/lib2/widgets/SessionPaymentsWidget/SessionPaymentsWidget.stories.d.ts +7 -0
- package/dist/cjs/lib2/widgets/SessionPaymentsWidget/index.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SessionPaymentsWidget/types.d.ts +11 -0
- package/dist/cjs/lib2/widgets/SessionsListWidget/SessionsListWidget.d.ts +4 -0
- package/dist/cjs/lib2/widgets/SessionsListWidget/SessionsListWidget.stories.d.ts +8 -0
- package/dist/cjs/lib2/widgets/SessionsListWidget/SessionsListWidgetSkeleton.d.ts +3 -0
- package/dist/cjs/lib2/widgets/SessionsListWidget/index.d.ts +1 -0
- package/dist/cjs/lib2/widgets/SessionsListWidget/types.d.ts +14 -0
- package/dist/cjs/lib2/widgets/index.d.ts +3 -0
- package/dist/esm/index.js +7 -7
- package/dist/esm/lib2/features/AppHeaderPageFeature/AppHeaderPageSkeletonFeature.d.ts +3 -1
- package/dist/esm/lib2/features/ContractDataFeature/ContractDataFeature.d.ts +4 -0
- package/dist/esm/lib2/features/ContractDataFeature/ContractDataFeature.stories.d.ts +11 -0
- package/dist/esm/lib2/features/ContractDataFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/ContractDataFeature/styles.d.ts +160 -0
- package/dist/esm/lib2/features/ContractDataFeature/types.d.ts +8 -0
- package/dist/esm/lib2/features/MenuFeature/MenuFeature.d.ts +4 -0
- package/dist/esm/lib2/features/MenuFeature/MenuFeatureSkeleton.d.ts +4 -0
- package/dist/esm/lib2/features/MenuFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/MenuFeature/types.d.ts +13 -0
- package/dist/esm/lib2/features/SessionPreviewFeature/SessionPreviewFeature.d.ts +4 -0
- package/dist/esm/lib2/features/SessionPreviewFeature/SessionPreviewFeature.stories.d.ts +13 -0
- package/dist/esm/lib2/features/SessionPreviewFeature/SessionPreviewFeatureSkeleton.d.ts +3 -0
- package/dist/esm/lib2/features/SessionPreviewFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/SessionPreviewFeature/styles.d.ts +157 -0
- package/dist/esm/lib2/features/SessionPreviewFeature/types.d.ts +10 -0
- package/dist/esm/lib2/features/index.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconCalendarWithDot.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconContract.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconReceipt.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +3 -0
- package/dist/esm/lib2/shared/types/contract.d.ts +1 -0
- package/dist/esm/lib2/shared/types/index.d.ts +1 -1
- package/dist/esm/lib2/shared/types/{consultation.d.ts → session.d.ts} +18 -14
- package/dist/esm/lib2/shared/types/subscription.d.ts +3 -2
- package/dist/esm/lib2/shared/utils/format.d.ts +2 -0
- package/dist/esm/lib2/shared/utils/mock.d.ts +41 -1
- package/dist/esm/lib2/shared/utils/session.d.ts +12 -0
- package/dist/esm/lib2/shared/utils/userCan.d.ts +2 -2
- package/dist/esm/lib2/widgets/SessionDetailWidget/SessionDetailWidget.d.ts +4 -0
- package/dist/esm/lib2/widgets/SessionDetailWidget/SessionDetailWidget.stories.d.ts +15 -0
- package/dist/esm/lib2/widgets/SessionDetailWidget/SessionDetailWidgetSkeleton.d.ts +3 -0
- package/dist/esm/lib2/widgets/SessionDetailWidget/index.d.ts +1 -0
- package/dist/esm/lib2/widgets/SessionDetailWidget/types.d.ts +18 -0
- package/dist/esm/lib2/widgets/SessionPaymentsWidget/SessionPaymentsWidget.d.ts +4 -0
- package/dist/esm/lib2/widgets/SessionPaymentsWidget/SessionPaymentsWidget.stories.d.ts +7 -0
- package/dist/esm/lib2/widgets/SessionPaymentsWidget/index.d.ts +1 -0
- package/dist/esm/lib2/widgets/SessionPaymentsWidget/types.d.ts +11 -0
- package/dist/esm/lib2/widgets/SessionsListWidget/SessionsListWidget.d.ts +4 -0
- package/dist/esm/lib2/widgets/SessionsListWidget/SessionsListWidget.stories.d.ts +8 -0
- package/dist/esm/lib2/widgets/SessionsListWidget/SessionsListWidgetSkeleton.d.ts +3 -0
- package/dist/esm/lib2/widgets/SessionsListWidget/index.d.ts +1 -0
- package/dist/esm/lib2/widgets/SessionsListWidget/types.d.ts +14 -0
- package/dist/esm/lib2/widgets/index.d.ts +3 -0
- package/dist/index.d.ts +111 -18
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { WithTranslation } from 'react-i18next';
|
|
2
|
+
import { Session, Specialist } from '../../shared/types';
|
|
3
|
+
export type SessionDetailWidgetProps = {
|
|
4
|
+
session?: Session;
|
|
5
|
+
specialist?: Specialist;
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
t?: WithTranslation['t'];
|
|
8
|
+
viewPerson?: 'client' | 'specialist';
|
|
9
|
+
locale?: string;
|
|
10
|
+
onSessionStart?(session: Session): void;
|
|
11
|
+
onRescheduleClick?(session: Session): void;
|
|
12
|
+
onCancelClick?(session: Session): void;
|
|
13
|
+
onPaymentDetailsClick?(session: Session): void;
|
|
14
|
+
onContractClick?(): void;
|
|
15
|
+
onChatClick?(session: Session): void;
|
|
16
|
+
onBackClick?(): void;
|
|
17
|
+
onSpecialistProfileClick?(session: Session): void;
|
|
18
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import SessionPaymentsWidget from './SessionPaymentsWidget';
|
|
3
|
+
declare const meta: Meta<typeof SessionPaymentsWidget>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SessionPaymentsWidget>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const IsLoading: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SessionPaymentsWidget } from './SessionPaymentsWidget';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WithTranslation } from 'react-i18next';
|
|
2
|
+
import { Session } from '../../shared/types/session';
|
|
3
|
+
export type SessionPaymentsWidgetProps = {
|
|
4
|
+
t?: WithTranslation['t'];
|
|
5
|
+
onInvoiceClick?(): void;
|
|
6
|
+
onPaymentReceiptClick?(): void;
|
|
7
|
+
onAllSessionsClick?(): void;
|
|
8
|
+
onBackClick?(): void;
|
|
9
|
+
isLoading?: boolean;
|
|
10
|
+
session?: Session;
|
|
11
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import SessionsListWidget from './SessionsListWidget';
|
|
3
|
+
declare const meta: Meta<typeof SessionsListWidget>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SessionsListWidget>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Loading: Story;
|
|
8
|
+
export declare const Empty: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SessionsListWidget } from './SessionsListWidget';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WithTranslation } from 'react-i18next';
|
|
2
|
+
import { Session } from '../../shared/types';
|
|
3
|
+
export type SessionTab = 'future' | 'past';
|
|
4
|
+
export type SessionsWidgetProps = {
|
|
5
|
+
sessions?: Session[];
|
|
6
|
+
t?: WithTranslation['t'];
|
|
7
|
+
locale: string;
|
|
8
|
+
isLoading?: boolean;
|
|
9
|
+
hasMore?: boolean;
|
|
10
|
+
onSessionClick?(session: Session): void;
|
|
11
|
+
onSessionStart?(session: Session): void;
|
|
12
|
+
onScheduleSession?(): void;
|
|
13
|
+
onLoadMore?(tab: SessionTab): void;
|
|
14
|
+
};
|
|
@@ -5,3 +5,6 @@ export * from './SpecialistPaymentResumeWidget';
|
|
|
5
5
|
export * from './UpdateContractWidget';
|
|
6
6
|
export * from './SpecialistDetailWidget';
|
|
7
7
|
export * from './SpecialistPreviewListWidget';
|
|
8
|
+
export * from './SessionsListWidget';
|
|
9
|
+
export * from './SessionDetailWidget';
|
|
10
|
+
export * from './SessionPaymentsWidget';
|
package/dist/index.d.ts
CHANGED
|
@@ -1946,6 +1946,7 @@ declare enum ClientSpecialistContractStatusEnum {
|
|
|
1946
1946
|
signed_by_client = "signed_by_client",
|
|
1947
1947
|
expired = "expired"
|
|
1948
1948
|
}
|
|
1949
|
+
declare const MapStatusContractToUIStatus: Record<ClientSpecialistContractStatusEnum, 'active' | 'pending' | 'not_signed' | 'expired'>;
|
|
1949
1950
|
|
|
1950
1951
|
type Sex = 'male' | 'female';
|
|
1951
1952
|
type SpecialistOrderType = {
|
|
@@ -2100,29 +2101,32 @@ type Subscription = {
|
|
|
2100
2101
|
pause_used_at?: number | null;
|
|
2101
2102
|
number_of_sessions_per_week: number;
|
|
2102
2103
|
used_balance: number;
|
|
2103
|
-
therapist
|
|
2104
|
-
user
|
|
2104
|
+
therapist?: Specialist;
|
|
2105
|
+
user?: UserType;
|
|
2105
2106
|
next_payment_default_in_cents: number;
|
|
2106
2107
|
next_payment_original_in_cents: number;
|
|
2107
2108
|
exchange_rate_in_basis_points: number;
|
|
2108
2109
|
charge_currency: SupportedCurrency;
|
|
2110
|
+
exchange_rate: string;
|
|
2109
2111
|
};
|
|
2110
2112
|
|
|
2111
|
-
type
|
|
2113
|
+
type SessionTime = {
|
|
2114
|
+
_seconds: number;
|
|
2115
|
+
nanoseconds?: number;
|
|
2116
|
+
seconds: number;
|
|
2117
|
+
_nanoseconds?: number;
|
|
2118
|
+
} | string;
|
|
2119
|
+
type Session = {
|
|
2112
2120
|
id: string;
|
|
2113
|
-
consultation_time:
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
} | string;
|
|
2121
|
+
consultation_time: SessionTime;
|
|
2122
|
+
consultation_booking_date?: SessionTime;
|
|
2123
|
+
consultation_id?: string;
|
|
2117
2124
|
consultation_with: string;
|
|
2118
2125
|
duration: number;
|
|
2119
2126
|
exchange_rate: string;
|
|
2120
|
-
payment_date
|
|
2121
|
-
_seconds: number;
|
|
2122
|
-
nanoseconds: number;
|
|
2123
|
-
};
|
|
2127
|
+
payment_date?: SessionTime;
|
|
2124
2128
|
payment_type?: string;
|
|
2125
|
-
price: number;
|
|
2129
|
+
price: number | string;
|
|
2126
2130
|
price_uah: number;
|
|
2127
2131
|
psychologist_avatar: string;
|
|
2128
2132
|
psychologist_id: string;
|
|
@@ -2135,11 +2139,9 @@ type Consultation = {
|
|
|
2135
2139
|
videochat_url: string;
|
|
2136
2140
|
was_rescheduled: boolean;
|
|
2137
2141
|
session_status?: 'client_showed' | 'client_not_showed';
|
|
2138
|
-
consultation_time_before_rescheduling?:
|
|
2139
|
-
_seconds: number;
|
|
2140
|
-
nanoseconds: number;
|
|
2141
|
-
};
|
|
2142
|
+
consultation_time_before_rescheduling?: SessionTime;
|
|
2142
2143
|
therapist?: Specialist;
|
|
2144
|
+
user?: UserType;
|
|
2143
2145
|
client?: {
|
|
2144
2146
|
specialist_client_contract_id?: string | null;
|
|
2145
2147
|
specialist_client_contract_status?: ClientSpecialistContractStatusEnum | null;
|
|
@@ -2150,7 +2152,9 @@ type Consultation = {
|
|
|
2150
2152
|
price_type?: string;
|
|
2151
2153
|
price_default?: number;
|
|
2152
2154
|
payment_intent_id?: string;
|
|
2155
|
+
subscription?: Subscription;
|
|
2153
2156
|
};
|
|
2157
|
+
type SessionVariant = 'default' | 'current' | 'soon' | 'near' | 'past';
|
|
2154
2158
|
|
|
2155
2159
|
type AutoComplete<T extends string> = T | (string & {});
|
|
2156
2160
|
|
|
@@ -2955,8 +2959,16 @@ declare const IconMindlyMini: React$1.FC<IconProps$B>;
|
|
|
2955
2959
|
|
|
2956
2960
|
declare const IconSchedule: React$1.FC<IconProps$B>;
|
|
2957
2961
|
|
|
2962
|
+
declare const IconContract: React$1.FC<IconProps$B>;
|
|
2963
|
+
|
|
2964
|
+
declare const IconReceipt: React$1.FC<IconProps$B>;
|
|
2965
|
+
|
|
2966
|
+
declare const IconCalendarWithDot: React$1.FC<IconProps$B>;
|
|
2967
|
+
|
|
2958
2968
|
declare const formatByDigits: (value: number) => string;
|
|
2959
2969
|
declare const roundToPrecision: (value: number, decimals?: number) => number;
|
|
2970
|
+
declare const getDateLocale: (locale: string) => Locale;
|
|
2971
|
+
declare const getGMTOffset: (timeZone: string) => string;
|
|
2960
2972
|
|
|
2961
2973
|
type AnyRef = React__default.Ref<any>;
|
|
2962
2974
|
declare const mergeRefs: <T extends unknown>(...refs: AnyRef[]) => React__default.Ref<T>;
|
|
@@ -3489,6 +3501,17 @@ type TabsToolbarProps = {
|
|
|
3489
3501
|
|
|
3490
3502
|
declare const TabsToolbarFeature: React__default.FC<TabsToolbarProps>;
|
|
3491
3503
|
|
|
3504
|
+
type SessionPreviewFeatureProps = {
|
|
3505
|
+
session?: Session;
|
|
3506
|
+
viewPerson?: 'client' | 'specialist';
|
|
3507
|
+
t?: WithTranslation['t'];
|
|
3508
|
+
isLoading?: boolean;
|
|
3509
|
+
onSessionClick?(session: Session): void;
|
|
3510
|
+
onSessionStart?(session: Session): void;
|
|
3511
|
+
};
|
|
3512
|
+
|
|
3513
|
+
declare const SessionPreviewFeature: React__default.FC<SessionPreviewFeatureProps>;
|
|
3514
|
+
|
|
3492
3515
|
type EmptyChatModalFeatureProps = {
|
|
3493
3516
|
buttonTitle?: string;
|
|
3494
3517
|
onButtonClick?: () => void;
|
|
@@ -3503,6 +3526,30 @@ type FirstChatMessageModalFeatureProps = {
|
|
|
3503
3526
|
};
|
|
3504
3527
|
declare const FirstChatMessageModalFeature: FC<FirstChatMessageModalFeatureProps>;
|
|
3505
3528
|
|
|
3529
|
+
type ContractDataFeatureProps = {
|
|
3530
|
+
specialist?: Specialist;
|
|
3531
|
+
onOpenContract?(): void;
|
|
3532
|
+
t?: WithTranslation['t'];
|
|
3533
|
+
className?: string;
|
|
3534
|
+
};
|
|
3535
|
+
|
|
3536
|
+
declare const ContractDataFeature: React__default.FC<ContractDataFeatureProps>;
|
|
3537
|
+
|
|
3538
|
+
type MenuItem = {
|
|
3539
|
+
Icon?: FC<SVGProps<SVGSVGElement>>;
|
|
3540
|
+
label: string;
|
|
3541
|
+
withArrow?: boolean;
|
|
3542
|
+
disabled?: boolean;
|
|
3543
|
+
onClick?: () => void;
|
|
3544
|
+
};
|
|
3545
|
+
type MenuFeatureProps = {
|
|
3546
|
+
items: MenuItem[];
|
|
3547
|
+
className?: string;
|
|
3548
|
+
isLoading?: boolean;
|
|
3549
|
+
};
|
|
3550
|
+
|
|
3551
|
+
declare const MenuFeature: React__default.FC<MenuFeatureProps>;
|
|
3552
|
+
|
|
3506
3553
|
type SupportedCountryLocale = string;
|
|
3507
3554
|
type Tabs = {
|
|
3508
3555
|
behavior: 'tax-country' | 'profile-lang';
|
|
@@ -3539,7 +3586,7 @@ type ClientCanParams = {
|
|
|
3539
3586
|
specialist: Specialist;
|
|
3540
3587
|
activeSubscription?: Subscription | null;
|
|
3541
3588
|
subscriptionAvailableBalance?: number;
|
|
3542
|
-
|
|
3589
|
+
sessions?: Session[];
|
|
3543
3590
|
};
|
|
3544
3591
|
declare const isClientCan: ({ action, ...params }: ClientCanParams) => boolean;
|
|
3545
3592
|
|
|
@@ -3622,4 +3669,50 @@ type SpecialistPreviewListWidgetProps = {
|
|
|
3622
3669
|
|
|
3623
3670
|
declare const SpecialistPreviewListWidget: React__default.FC<SpecialistPreviewListWidgetProps>;
|
|
3624
3671
|
|
|
3625
|
-
|
|
3672
|
+
type SessionTab = 'future' | 'past';
|
|
3673
|
+
type SessionsWidgetProps = {
|
|
3674
|
+
sessions?: Session[];
|
|
3675
|
+
t?: WithTranslation['t'];
|
|
3676
|
+
locale: string;
|
|
3677
|
+
isLoading?: boolean;
|
|
3678
|
+
hasMore?: boolean;
|
|
3679
|
+
onSessionClick?(session: Session): void;
|
|
3680
|
+
onSessionStart?(session: Session): void;
|
|
3681
|
+
onScheduleSession?(): void;
|
|
3682
|
+
onLoadMore?(tab: SessionTab): void;
|
|
3683
|
+
};
|
|
3684
|
+
|
|
3685
|
+
declare const SessionsWidget: React__default.FC<SessionsWidgetProps>;
|
|
3686
|
+
|
|
3687
|
+
type SessionDetailWidgetProps = {
|
|
3688
|
+
session?: Session;
|
|
3689
|
+
specialist?: Specialist;
|
|
3690
|
+
isLoading?: boolean;
|
|
3691
|
+
t?: WithTranslation['t'];
|
|
3692
|
+
viewPerson?: 'client' | 'specialist';
|
|
3693
|
+
locale?: string;
|
|
3694
|
+
onSessionStart?(session: Session): void;
|
|
3695
|
+
onRescheduleClick?(session: Session): void;
|
|
3696
|
+
onCancelClick?(session: Session): void;
|
|
3697
|
+
onPaymentDetailsClick?(session: Session): void;
|
|
3698
|
+
onContractClick?(): void;
|
|
3699
|
+
onChatClick?(session: Session): void;
|
|
3700
|
+
onBackClick?(): void;
|
|
3701
|
+
onSpecialistProfileClick?(session: Session): void;
|
|
3702
|
+
};
|
|
3703
|
+
|
|
3704
|
+
declare const SessionDetailWidget: React__default.FC<SessionDetailWidgetProps>;
|
|
3705
|
+
|
|
3706
|
+
type SessionPaymentsWidgetProps = {
|
|
3707
|
+
t?: WithTranslation['t'];
|
|
3708
|
+
onInvoiceClick?(): void;
|
|
3709
|
+
onPaymentReceiptClick?(): void;
|
|
3710
|
+
onAllSessionsClick?(): void;
|
|
3711
|
+
onBackClick?(): void;
|
|
3712
|
+
isLoading?: boolean;
|
|
3713
|
+
session?: Session;
|
|
3714
|
+
};
|
|
3715
|
+
|
|
3716
|
+
declare const SessionPaymentsWidget: React__default.FC<SessionPaymentsWidgetProps>;
|
|
3717
|
+
|
|
3718
|
+
export { AcceptAgreementFeature, Action, _default$I as AlertCard, AppFooter, _default$H as AppFooter_v2, AppHeader, AppHeaderPage as AppHeaderPageFeature, AppHeader_v2, AppNotSupportedFeature, ArchivedConsultationCard, AutoComplete, Avatar, AvatarProps$1 as AvatarProps, _default$G as Avatar_v2, AvatarProps as Avatar_v2Props, BREAKPOINT_ICON_SIZE, _default$C as Badge, _default$W as BookingScheduleTime, _default$V as BookingSpecialistInfo, BreakPointPositionProps, BreakPointPositionResult, Button, Button_v2, COUNTRIES_MAPPER, Calendar, _default$j as CalendarPickerFeature, CancelSession, CardModal, ChangeLangModal, ChangeLanguageModal, _default$1f as ChatListItem, _default$1d as ChatListSkeleton, _default$1e as ChatMessage, ChatMessageSkeleton, CheckBoxItem, CheckBoxListFeature, CheckBoxSectionListFeature, _default$Q as CheckboxList, CheckboxListCategory, CheckboxListItem, CheckboxTypes, ChevronHeader, CircleRatingComponentProps, CircleRatingContent, CircleRatingContext, CircleRatingContextData, CircleRatingContextProps, CircleRatingDataProps, CircleRatingDataResult, CircleRatingLegendProps, CircleRatingProvider, CircleRatingRange, CircleRatingSize, ClientCanAction, ClientCanParams, ClientSpecialistContractStatusEnum, CollapsableText, ConditionRulesType, _default$16 as ConsultationCard, ConsultationCardProps, ConsultationCardType, _default$13 as ConsultationModal, _default$n as ConsultationPricingFeature, _default$11 as ConsultationSpecialistCard, ConsultationsListSkeleton, Container, Container_v2, ContentCard, ContentRendererProps, ContractDataFeature, ContractStatusEnum, ContentTree as ContractTreeFeature, CountdownTimerFeature, CountryOfOriginModal, CurrencyLocaleMapper, CurrencySignByLocale, CustomButton, _default$R as CustomCheckbox, CustomRadioButton, _default$S as CustomSelect, _default$T as CustomTextarea, DatePicker, _default$$ as DaySlider, DayToRender, DividerProps, DrumListPicker, DynamicCommissionValue, _default$X as EducationCard, _default$1c as EmptyChatList, EmptyChatMessages, EmptyChatModalFeature, _default$14 as EmptyConsultations, EmptyList, EntryNotFound, EntryNotFoundProps, ErrorCardFeature, FirstChatMessageModalFeature, _default$N as Flag, FlagTypes, _default$E as Flag_v2, FloatingButton, FooterForBooking, FrequentlyAskedQuestions, GoogleCalendarModalFeature, HeaderWithRedirect, HorizontalCalendar, HorizontalCalendarProps, ISpecialistReview, IconAddModerator, IconApple, IconArrowDown, IconArrowLeft, IconArrowRight, IconArrowTopRight, IconAttachMoney, IconBeachAccess, IconBookmark, IconBookmarkOutlined, _default$y as IconButton, IconCalendar, IconCalendarFilled, IconCalendarMonth, IconCalendarWithDot, IconCancel, IconCancelRounded, IconCapFilled, IconChat, IconChat3d, IconChat3dSmaller, IconChatFilled, IconChatOutline, IconCheck, IconCheckCircle, IconCheckSmall, IconCheckboxChecked, IconCheckboxUnchecked, IconClient, IconClientFilled, IconClose, IconContract, IconCopy, IconCreditCard, IconDelete, IconDocument, IconDot, IconEcgHeart, IconEdit, IconEditCalendar, IconEmptyList, IconEventBusy, IconEye, IconEyeOff, IconGallery, IconGift, IconGoogle, IconHeart, IconHome, IconIdCard, IconInvisible, IconInvoice, IconLanguage, IconLeftArrow, IconLetter, IconLink, IconLock, IconLogout, IconManageAccounts, IconMindly, IconMindlyColored, IconMindlyMini, IconMinus, IconMoreVertical, IconMute, IconNotificationMuted, IconPaid, IconPaper, IconPause, IconPersonAlert, IconPlay, IconPlus, IconProfile, IconProfileChecked, IconProfileCircle, IconProfileSetting, IconProfileUnderReview, IconPromocode, IconProps$B as IconProps, IconQueryStats, IconQuestion, IconRadioButtonChecked, IconReceipt, IconReceiptLong, IconRenew, IconResume, IconSchedule, IconSchema, IconSearch, IconSend, IconSettings, IconShare, IconSpinner, IconStar, IconStarFilled, IconStudyHat, IconStylus, IconSuccess, IconText, IconTime, IconTimeAdd, IconUnmute, IconUser, IconUserNotFound, IconVerifiedUser, IconVisible, IconWarning, ImageInput, ImageWithFallback, ImpressionEmojiEnum, Input, InputSearch, _default$u as Item, _default$B as ItemCard, LabelArrowRedirect, LanguagesList, _default$1j as LetterAvatar, _default$O as LineFileInput, ListBox, ListBoxItem, ListBoxItemProps, ListBoxProps, ListBoxSelectionType, ListButton, ListItemType, _default$r as ListItemWithColumns, _default$v as ListItems, ListOption, ListOptionsProps, ListSelect, ListSelectProps, ListSimple, _default$w as Loading, LouseConnect, MapStatusContractToUIStatus, _default$c as MarkdownContainerFeature, _default$s as MatchProgress, _default$1g as MediaPlayer, MenuFeature, Modal, ModalCalendar, ModalSheet, NavigationBar, NewSpecialist, NoInternetConnection, NotSupportModal, NotesCardText, NotesEditor, OnBoardingBaseScreenType, OnBoardingFlowType, _default$a as OnBoardingInfoScreenPreviewFeature, OnBoardingInfoScreenType, _default$7 as OnBoardingLoaderScreenPreviewFeature, OnBoardingLoaderScreenType, OnBoardingMultiSelectScreenType, _default$9 as OnBoardingMultiSelectionScreenPreviewFeature, _default$6 as OnBoardingProgressFeature, _default$5 as OnBoardingReviewsScreenPreviewFeature, OnBoardingReviewsScreenType, OnBoardingScreenBgType, OnBoardingScreenButtonType, OnBoardingScreenDescriptionType, OnBoardingScreenOptionType, OnBoardingScreenOptions, OnBoardingScreenStyleOptions, OnBoardingScreensType, OnBoardingSingleSelectScreenType, _default$8 as OnBoardingSingleSelectionScreenPreviewFeature, _default$b as OnBoardingStartScreenPreviewFeature, OnBoardingStartScreenType, OutdatedPersonalDataFeature, PasswordInput, PaymentBadgeType, _default$i as PaymentCalendarFeature, PaymentCalendarFeatureProps, _default$k as PaymentSessionsList, _default$1i as PersonDateTimeCard, _default$D as Picture, _default$M as ProfileInformation, _default$Z as ProfileView, _default$P as ProgressBar, ProgressBarDashed, _default$x as ProgressBar_v2, ProgressRangeProps, PushNotificationsIsDisabledBanner, PushNotificationsModal, Range, _default$z as Rating, RatingCircleWrapper, _default$10 as ReSchedule, ReScheduleSuccess, Refresher, ResponseFileType, ReviewCard, _default$h as ReviewCardFeature, ReviewListFeature, ReviewStatistics, ReviewSwiperSection, ReviewsCardFeatureSkeleton, ReviewsSummary, RoundButton, RowItemType, RowSelect, RowSelectProps, Rule, SIZES, _default$f as ScreenDrumPickerFormFeature, ScreenInput, _default$g as ScreenInputFormFeature, ScreenInputUpdateFeature, ScrollTabs, SectionHeading, Segment, SegmentColor, SegmentType, _default$1h as SelectImpressionEmoji, SelectItemType, _default$d as SelectWithSearchFormFeature, Session, SessionDetailWidget, SessionPaymentsWidget, SessionPreviewFeature, SessionTime, SessionVariant, SessionsWidget as SessionsListWidget, Sex, ShareModalFeature, ShortCurrencySignByLocale, _default$q as ShowMore, _default$15 as SignUpSessionButton, _default$12 as SignUpSessionModal, SizeValues, Skeleton, _default$F as Skeleton_v2, _default$p as SlotsGrid, _default$o as SlotsGridItem, Specialist, _default$Y as SpecialistAbout, SpecialistAreaList as SpecialistAreaListFeature, SpecialistCard, SpecialistCardListWidget, _default$3 as SpecialistCardWidget, SpecialistConsultation, SpecialistConsultationPayment, _default as SpecialistDetailWidget, SpecialistEducation, _default$1a as SpecialistEducationCard, SpecialistEducationsFeature, SpecialistInfoColumnFeature, SpecialistLangs, _default$L as SpecialistMatch, SpecialistOrderType, SpecialistPaymentCardProps, _default$m as SpecialistPaymentCommonCardFeature, SpecialistPaymentCommonCardSkeleton, SpecialistPaymentConsultationDetailsType, _default$l as SpecialistPaymentConsultationsFeature, SpecialistPaymentConsultationsProps, SpecialistPaymentCurrencyProps, _default$1 as SpecialistPaymentResumeWidget, SpecialistPaymentResumeWidgetType, SpecialistPaymentTabs, _default$2 as SpecialistPaymentWidget, SpecialistPaymentWidgetType, SpecialistPreviewFeature, SpecialistPreviewListWidget, SpecialistProfileNotFound, _default$19 as SpecialistProfileViewCard, SpecialistReview, SpecialistShortInfoItemFeature as SpecialistShortInfoItem, _default$K as SpecialistStatistic, SpecialistStatisticsCard, SpecialistWorkDirections, Spinner, Spinner_v2, StarRating, StatisticsScroll, StatusTag, StripeSupportedCurrency, Subscription, SubscriptionStatuses, SuccessScreen, SuperSpecialist, SupportedCurrency, SupportedLangs, SwitchDeviceCard, TabBar, TabItem, Tabs$1 as Tabs, TabsToolbarFeature, Tag, _default$e as TextAreaFormFeature, _default$U as TextInput, _default$4 as TextWithClampFeature, _default$1b as Textarea, _default$A as Textarea_v2, ThemeProvider, ThemeProviderProps, TherapistCard, TherapistInformationComponent, Toast, ToastButton, ToastContext, ToastProps, ToastProvider, ToastRegion, Toggle, TooltipComponent, TranslationMock, TranslationType, TreeNode, _default$J as Typography, TypographyVariantsEnum, UpdateContractWidget, UpdatesCard, UserInfoModal, UserType, UsersPsychologistScrollList, VerticalCalendar, VerticalCalendarMonthSkeleton, VerticalCalendarSkeleton, _default$t as Video, _default$17 as VideoCallInfo, _default$18 as VideoPlayer, VideoProvider, _default$_ as WorkDirections, YourLocalTimeBlock, appThemes, decOfNum, formatByDigits, getCountryKeyByName, getDateLocale, getGMTOffset, getProgressForBreakPoint, getSignAgreementsTabs, isClientCan, isNewSpecialist, isSpecialistActive, isSpecialistBlocked, isSpecialistPublic, isSuperSpecialist, mergeRefs, newShade, priceNormalize, replaceMarkdownWithReactElements, roundToPrecision, toast, useAutoFocus, useBreakPointsPosition, useCircleRatingRenderData, useDomRef, useElementWidth, useEvent, useRangeIndex, useRatingCircleBreakPoints, useRatingCircleContentValue, useRatingCircleLegend, useRatingContext, useToastContext, useVideoContext };
|