@mindly/ui-components 5.105.6-dev.1 → 5.106.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/OnBoardingFlow/OnBoardingGraphScreenPreviewFeature/OnBoardingGraphScreenPreviewFeature.d.ts +5 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingGraphScreenPreviewFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/conts.d.ts +2 -3
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/OnBoardingSingleSelectionScreenPreviewFeature.d.ts +3 -3
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/components/OnBoardingSelectionFeedback.d.ts +8 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/components/OnBoardingSelectionMinMaxLabels.d.ts +8 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/components/index.d.ts +1 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/index.d.ts +1 -0
- package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/constants.d.ts +4 -5
- package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/constants.d.ts +4 -5
- package/dist/cjs/lib2/shared/assets/icons/IconArrowRange.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconLeaderboard.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +2 -0
- package/dist/cjs/lib2/shared/providers/CircleRatingProvider/CircleRatingProvider.d.ts +1 -1
- package/dist/cjs/lib2/shared/types/onBoardingFlow.type.d.ts +23 -1
- package/dist/cjs/lib2/shared/ui/ListBox/ListBox.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/ListBox/types.d.ts +3 -6
- package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxDefaultItem.d.ts +18 -0
- package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxEmojiItem.d.ts +12 -0
- package/dist/cjs/lib2/shared/ui/ListBoxItem/ListBoxImageItem.d.ts +4 -7
- package/dist/cjs/lib2/shared/ui/ListBoxItem/types.d.ts +1 -10
- package/dist/cjs/lib2/shared/utils/matching.d.ts +1 -2
- package/dist/cjs/lib2/shared/utils/mock.d.ts +1 -2
- package/dist/cjs/lib2/shared/utils/session.d.ts +1 -2
- package/dist/esm/index.js +7 -7
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingGraphScreenPreviewFeature/OnBoardingGraphScreenPreviewFeature.d.ts +5 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingGraphScreenPreviewFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/conts.d.ts +2 -3
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/OnBoardingSingleSelectionScreenPreviewFeature.d.ts +3 -3
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/components/OnBoardingSelectionFeedback.d.ts +8 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/components/OnBoardingSelectionMinMaxLabels.d.ts +8 -0
- package/dist/esm/lib2/features/OnBoardingFlow/components/index.d.ts +1 -0
- package/dist/esm/lib2/features/OnBoardingFlow/index.d.ts +1 -0
- package/dist/esm/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/constants.d.ts +4 -5
- package/dist/esm/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/constants.d.ts +4 -5
- package/dist/esm/lib2/shared/assets/icons/IconArrowRange.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconLeaderboard.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +2 -0
- package/dist/esm/lib2/shared/providers/CircleRatingProvider/CircleRatingProvider.d.ts +1 -1
- package/dist/esm/lib2/shared/types/onBoardingFlow.type.d.ts +23 -1
- package/dist/esm/lib2/shared/ui/ListBox/ListBox.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/ListBox/types.d.ts +3 -6
- package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxDefaultItem.d.ts +18 -0
- package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxEmojiItem.d.ts +12 -0
- package/dist/esm/lib2/shared/ui/ListBoxItem/ListBoxImageItem.d.ts +4 -7
- package/dist/esm/lib2/shared/ui/ListBoxItem/types.d.ts +1 -10
- package/dist/esm/lib2/shared/utils/matching.d.ts +1 -2
- package/dist/esm/lib2/shared/utils/mock.d.ts +1 -2
- package/dist/esm/lib2/shared/utils/session.d.ts +1 -2
- package/dist/index.d.ts +46 -28
- package/package.json +8 -9
- package/dist/cjs/lib2/features/MobilePickerFeature/MobilePickerFeature.d.ts +0 -7
- package/dist/cjs/lib2/features/MobilePickerFeature/index.d.ts +0 -1
- package/dist/cjs/lib2/shared/ui/Flag_v2/flags/Pl.d.ts +0 -2
- package/dist/cjs/lib2/shared/ui/Flag_v2/flags/Uk.d.ts +0 -2
- package/dist/cjs/lib2/shared/ui/Input/Input.d.ts +0 -4
- package/dist/cjs/lib2/shared/ui/Input/types.d.ts +0 -4
- package/dist/esm/lib2/features/MobilePickerFeature/MobilePickerFeature.d.ts +0 -7
- package/dist/esm/lib2/features/MobilePickerFeature/index.d.ts +0 -1
- package/dist/esm/lib2/shared/ui/Flag_v2/flags/Pl.d.ts +0 -2
- package/dist/esm/lib2/shared/ui/Flag_v2/flags/Uk.d.ts +0 -2
- package/dist/esm/lib2/shared/ui/Input/Input.d.ts +0 -4
- package/dist/esm/lib2/shared/ui/Input/types.d.ts +0 -4
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { OnBoardingGraphScreenType } from '../../../shared';
|
|
3
|
+
type OnBoardingPaywallScreenPreviewFeatureProps = OnBoardingGraphScreenType;
|
|
4
|
+
declare const OnBoardingGraphScreenPreviewFeature: FC<OnBoardingPaywallScreenPreviewFeatureProps>;
|
|
5
|
+
export default OnBoardingGraphScreenPreviewFeature;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OnBoardingGraphScreenPreviewFeature } from './OnBoardingGraphScreenPreviewFeature';
|
package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingPaywallScreenPreviewFeature/conts.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { WithTranslation } from 'react-i18next';
|
|
2
1
|
export declare const images: {
|
|
3
2
|
after: string;
|
|
4
3
|
before: string;
|
|
@@ -19,13 +18,13 @@ export declare const images: {
|
|
|
19
18
|
time: string;
|
|
20
19
|
verge: string;
|
|
21
20
|
};
|
|
22
|
-
export declare const getCompareItems: (t?:
|
|
21
|
+
export declare const getCompareItems: (t?: any) => {
|
|
23
22
|
id: string;
|
|
24
23
|
label: string;
|
|
25
24
|
hasInMindly: boolean;
|
|
26
25
|
hasInCompetitors: boolean;
|
|
27
26
|
}[];
|
|
28
|
-
export declare const getHowItWorksItems: (t?:
|
|
27
|
+
export declare const getHowItWorksItems: (t?: any) => {
|
|
29
28
|
id: string;
|
|
30
29
|
title: string;
|
|
31
30
|
description: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { OnBoardingSingleSelectScreenType, OnBoardingSingleImageSelectScreenType } from '../../../shared';
|
|
2
|
+
import { OnBoardingSingleSelectScreenType, OnBoardingSingleImageSelectScreenType, OnBoardingSingleScaleSelectScreenType } from '../../../shared';
|
|
3
3
|
import { OnboardingVariant } from '../../../shared/';
|
|
4
4
|
type OnBoardingSingleSelectionScreenPreviewFeatureProps = {
|
|
5
5
|
onChange?: (value: string) => void;
|
|
6
6
|
defaultValues?: string[];
|
|
7
7
|
variant?: OnboardingVariant;
|
|
8
|
-
template?: 'radio' | 'image';
|
|
9
|
-
} & OnBoardingSingleSelectScreenType & OnBoardingSingleImageSelectScreenType;
|
|
8
|
+
template?: 'radio' | 'image' | 'emoji';
|
|
9
|
+
} & OnBoardingSingleSelectScreenType & OnBoardingSingleImageSelectScreenType & OnBoardingSingleScaleSelectScreenType;
|
|
10
10
|
declare const _default: React.NamedExoticComponent<OnBoardingSingleSelectionScreenPreviewFeatureProps>;
|
|
11
11
|
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { OnBoardingScreenOptionType } from '../../../../shared';
|
|
3
|
+
type OnBoardingSelectionFeedbackProps = {
|
|
4
|
+
isPreview?: boolean;
|
|
5
|
+
selectedOption: OnBoardingScreenOptionType | undefined;
|
|
6
|
+
};
|
|
7
|
+
declare const OnBoardingSelectionFeedback: FC<OnBoardingSelectionFeedbackProps>;
|
|
8
|
+
export default OnBoardingSelectionFeedback;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OnBoardingSelectionHeader } from './OnBoardingSelectionHeader';
|
|
@@ -10,3 +10,4 @@ export * from './OnBoardingConfirmScreenPreviewFeature';
|
|
|
10
10
|
export * from './OnBoardingCompareScreenPreviewFeature ';
|
|
11
11
|
export * from './OnBoardingPaywallScreenPreviewFeature';
|
|
12
12
|
export * from './OnBoardingChartScreenPreviewFeature';
|
|
13
|
+
export * from './OnBoardingGraphScreenPreviewFeature';
|
package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewSubscriptionSessionFeature/constants.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { WithTranslation } from 'react-i18next';
|
|
2
1
|
export type Tag = {
|
|
3
2
|
id: string;
|
|
4
3
|
name: string;
|
|
5
4
|
};
|
|
6
|
-
export declare const TAGS_LIST_1_SUBSCRIPTION: (t?:
|
|
7
|
-
export declare const TAGS_LIST_2_SUBSCRIPTION: (t?:
|
|
8
|
-
export declare const TAGS_LIST_3_SUBSCRIPTION: (t?:
|
|
9
|
-
export declare const TAGS_BY_RATING_SUBSCRIPTION: (t?:
|
|
5
|
+
export declare const TAGS_LIST_1_SUBSCRIPTION: (t?: any) => Tag[];
|
|
6
|
+
export declare const TAGS_LIST_2_SUBSCRIPTION: (t?: any) => Tag[];
|
|
7
|
+
export declare const TAGS_LIST_3_SUBSCRIPTION: (t?: any) => Tag[];
|
|
8
|
+
export declare const TAGS_BY_RATING_SUBSCRIPTION: (t?: any) => Record<number, Tag[]>;
|
package/dist/cjs/lib2/features/SessionReviewsFeature/ReviewTrialSessionFeature/constants.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { WithTranslation } from 'react-i18next';
|
|
2
1
|
export type Tag = {
|
|
3
2
|
id: string;
|
|
4
3
|
name: string;
|
|
5
4
|
};
|
|
6
|
-
export declare const TAGS_LIST_1_TRIAL: (t?:
|
|
7
|
-
export declare const TAGS_LIST_2_TRIAL: (t?:
|
|
8
|
-
export declare const TAGS_LIST_3_TRIAL: (t?:
|
|
9
|
-
export declare const TAGS_BY_RATING_TRIAL: (t?:
|
|
5
|
+
export declare const TAGS_LIST_1_TRIAL: (t?: any) => Tag[];
|
|
6
|
+
export declare const TAGS_LIST_2_TRIAL: (t?: any) => Tag[];
|
|
7
|
+
export declare const TAGS_LIST_3_TRIAL: (t?: any) => Tag[];
|
|
8
|
+
export declare const TAGS_BY_RATING_TRIAL: (t?: any) => Record<number, Tag[]>;
|
|
@@ -5,5 +5,5 @@ export declare const CircleRatingContext: React.Context<CircleRatingContextData>
|
|
|
5
5
|
export declare const CircleRatingProvider: ({ children, data, t, }: {
|
|
6
6
|
children: JSX.Element;
|
|
7
7
|
data: CircleRatingContextProps;
|
|
8
|
-
t:
|
|
8
|
+
t: TFunction<import("react-i18next").FallbackNs<Ns>, KPrefix>;
|
|
9
9
|
}) => JSX.Element | null;
|
|
@@ -26,6 +26,7 @@ export declare enum OnBoardingScreenOptions {
|
|
|
26
26
|
MULTI_SELECT = "MULTI_SELECT",
|
|
27
27
|
SINGLE_SELECT = "SINGLE_SELECT",
|
|
28
28
|
SINGLE_IMAGE_SELECT = "SINGLE_IMAGE_SELECT",
|
|
29
|
+
SINGLE_SCALE_SELECT = "SINGLE_SCALE_SELECT",
|
|
29
30
|
INFO = "INFO",
|
|
30
31
|
LOADER = "LOADER",
|
|
31
32
|
REVIEWS = "REVIEWS",
|
|
@@ -33,7 +34,8 @@ export declare enum OnBoardingScreenOptions {
|
|
|
33
34
|
CONFIRM = "CONFIRM",
|
|
34
35
|
PAYWALL = "PAYWALL",
|
|
35
36
|
COMPARE = "COMPARE",
|
|
36
|
-
CHART = "CHART"
|
|
37
|
+
CHART = "CHART",
|
|
38
|
+
GRAPH = "GRAPH"
|
|
37
39
|
}
|
|
38
40
|
export type OnBoardingScreenOptionType = {
|
|
39
41
|
id: string;
|
|
@@ -45,6 +47,10 @@ export type OnBoardingScreenOptionType = {
|
|
|
45
47
|
export type OnBoardingScreenOptionWithImageType = OnBoardingScreenOptionType & {
|
|
46
48
|
image?: ResponseFileType | null;
|
|
47
49
|
};
|
|
50
|
+
export type OnBoardingScreenOptionWithScaleType = OnBoardingScreenOptionType & {
|
|
51
|
+
feedbackTitle?: string;
|
|
52
|
+
feedbackDescription?: string;
|
|
53
|
+
};
|
|
48
54
|
export type OnBoardingScreenButtonType = {
|
|
49
55
|
buttonText?: string | null;
|
|
50
56
|
buttonColor?: string | null;
|
|
@@ -118,6 +124,11 @@ export type OnBoardingSingleImageSelectScreenType = OnBoardingBaseScreenType & O
|
|
|
118
124
|
legalText?: string;
|
|
119
125
|
options: OnBoardingScreenOptionWithImageType[];
|
|
120
126
|
};
|
|
127
|
+
export type OnBoardingSingleScaleSelectScreenType = OnBoardingBaseScreenType & OnBoardingScreenDescriptionType & {
|
|
128
|
+
minLabel?: string;
|
|
129
|
+
maxLabel?: string;
|
|
130
|
+
options: OnBoardingScreenOptionWithScaleType[];
|
|
131
|
+
};
|
|
121
132
|
export type OnBoardingLoaderScreenType = OnBoardingBaseScreenType & {
|
|
122
133
|
title?: string | null;
|
|
123
134
|
additionalText?: string;
|
|
@@ -164,6 +175,17 @@ export type OnBoardingCompareScreenType = OnBoardingBaseScreenType & OnBoardingS
|
|
|
164
175
|
hasInCompetitors: boolean;
|
|
165
176
|
}[];
|
|
166
177
|
};
|
|
178
|
+
export type OnBoardingGraphScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & {
|
|
179
|
+
title?: string;
|
|
180
|
+
description?: string;
|
|
181
|
+
columnCaption: string;
|
|
182
|
+
columnLabel?: string;
|
|
183
|
+
otherPlatformsColumnCaption: string;
|
|
184
|
+
otherPlatformsColumnLabel?: string;
|
|
185
|
+
percent: string;
|
|
186
|
+
percentDescription?: string;
|
|
187
|
+
graphCaption?: string;
|
|
188
|
+
};
|
|
167
189
|
export type OnBoardingChartScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenErrorsType & {
|
|
168
190
|
title?: string;
|
|
169
191
|
disclaimer?: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ListBoxProps } from './types';
|
|
2
|
-
export default function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, className,
|
|
2
|
+
export default function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, className, variant, isOnboardingPreview, ...props }: ListBoxProps<T>): JSX.Element;
|
|
@@ -3,7 +3,8 @@ import { IconProps, ResponseFileType } from '../../types';
|
|
|
3
3
|
export declare enum ListBoxSelectionType {
|
|
4
4
|
Checkbox = "checkbox",
|
|
5
5
|
Radio = "radio",
|
|
6
|
-
Image = "image"
|
|
6
|
+
Image = "image",
|
|
7
|
+
Emoji = "emoji"
|
|
7
8
|
}
|
|
8
9
|
export type VariantType = 'default' | 'blue';
|
|
9
10
|
export type ListBoxProps<T> = AriaListBoxProps<T> & {
|
|
@@ -11,12 +12,8 @@ export type ListBoxProps<T> = AriaListBoxProps<T> & {
|
|
|
11
12
|
enableSelection?: boolean;
|
|
12
13
|
selectedIconProps?: IconProps;
|
|
13
14
|
selectionPosition?: 'start' | 'end';
|
|
14
|
-
selectionImageClassNames?: {
|
|
15
|
-
label?: string;
|
|
16
|
-
arrowIcon?: string;
|
|
17
|
-
bottomContainer?: string;
|
|
18
|
-
} | null;
|
|
19
15
|
className?: string;
|
|
20
16
|
variant?: VariantType;
|
|
21
17
|
image?: ResponseFileType;
|
|
18
|
+
isOnboardingPreview?: boolean;
|
|
22
19
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Node } from 'react-stately';
|
|
3
|
+
import { VariantType } from '../ListBox/types';
|
|
4
|
+
import { IconProps } from '../../types';
|
|
5
|
+
declare const _default: React.MemoExoticComponent<({ item, isSelected, selectionPosition, enableSelection, selectedIconProps, selectionIconClassName, variant, labelProps, customContent, className, type, }: {
|
|
6
|
+
isSelected: boolean;
|
|
7
|
+
selectionIconClassName: string;
|
|
8
|
+
labelProps: React.DOMAttributes<HTMLDivElement>;
|
|
9
|
+
customContent: boolean;
|
|
10
|
+
className: string;
|
|
11
|
+
variant: VariantType;
|
|
12
|
+
item: Node<unknown>;
|
|
13
|
+
selectionPosition: "end" | "start";
|
|
14
|
+
enableSelection: boolean;
|
|
15
|
+
selectedIconProps: IconProps;
|
|
16
|
+
type: "image" | "checkbox" | "radio" | "emoji";
|
|
17
|
+
}) => JSX.Element>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { DOMAttributes } from 'react';
|
|
2
|
+
import { Node } from 'react-stately';
|
|
3
|
+
import { VariantType } from '../ListBox/types';
|
|
4
|
+
type ListBoxImageItemProps = {
|
|
5
|
+
isSelected: boolean;
|
|
6
|
+
item: Node<unknown>;
|
|
7
|
+
variant: VariantType;
|
|
8
|
+
labelProps: DOMAttributes<HTMLDivElement>;
|
|
9
|
+
isOnboardingPreview?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: React.MemoExoticComponent<({ isSelected, item, variant, labelProps, isOnboardingPreview, }: ListBoxImageItemProps) => JSX.Element>;
|
|
12
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { DOMAttributes } from 'react';
|
|
2
2
|
import { Node } from 'react-stately';
|
|
3
3
|
import { ResponseFileType } from '../../types';
|
|
4
4
|
import { VariantType } from '../ListBox/types';
|
|
@@ -7,11 +7,8 @@ type ListBoxImageItemProps = {
|
|
|
7
7
|
item: Node<unknown>;
|
|
8
8
|
image?: ResponseFileType | null;
|
|
9
9
|
variant: VariantType;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
arrowIcon?: string;
|
|
13
|
-
bottomContainer?: string;
|
|
14
|
-
} | null;
|
|
10
|
+
labelProps: DOMAttributes<HTMLDivElement>;
|
|
11
|
+
isOnboardingPreview?: boolean;
|
|
15
12
|
};
|
|
16
|
-
declare const _default: React.MemoExoticComponent<({ isSelected, item, image, variant,
|
|
13
|
+
declare const _default: React.MemoExoticComponent<({ isSelected, item, image, variant, labelProps, isOnboardingPreview, }: ListBoxImageItemProps) => JSX.Element>;
|
|
17
14
|
export default _default;
|
|
@@ -14,11 +14,7 @@ export type ListOptionsProps = {
|
|
|
14
14
|
enableSelection?: boolean;
|
|
15
15
|
variant?: VariantType;
|
|
16
16
|
image?: ResponseFileType | null;
|
|
17
|
-
|
|
18
|
-
label?: string;
|
|
19
|
-
arrowIcon?: string;
|
|
20
|
-
bottomContainer?: string;
|
|
21
|
-
} | null;
|
|
17
|
+
isOnboardingPreview?: boolean;
|
|
22
18
|
};
|
|
23
19
|
export type ListBoxItemProps = {
|
|
24
20
|
icon?: React.ReactNode;
|
|
@@ -28,11 +24,6 @@ export type ListBoxItemProps = {
|
|
|
28
24
|
value?: string;
|
|
29
25
|
children: React.ReactNode;
|
|
30
26
|
className?: string;
|
|
31
|
-
sselectionImageClassNames?: {
|
|
32
|
-
label?: string;
|
|
33
|
-
arrowIcon?: string;
|
|
34
|
-
bottomContainer?: string;
|
|
35
|
-
} | null;
|
|
36
27
|
customContent?: boolean;
|
|
37
28
|
onClick?: HTMLIonItemElement['onclick'];
|
|
38
29
|
variant?: VariantType;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { WithTranslation } from 'react-i18next';
|
|
2
1
|
import { SpecialistAreaByMatch } from '../../features/SpecialistAreaListFeature/types';
|
|
3
2
|
import { Specialist, UserType } from '../types';
|
|
4
|
-
export declare const getMatchingValues: (specialist: Specialist, user?: UserType, join?: boolean, t?:
|
|
3
|
+
export declare const getMatchingValues: (specialist: Specialist, user?: UserType, join?: boolean, t?: any) => {
|
|
5
4
|
matchingByAreas: SpecialistAreaByMatch[];
|
|
6
5
|
matchingBySpecialization: SpecialistAreaByMatch[];
|
|
7
6
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { WithTranslation } from 'react-i18next';
|
|
2
1
|
import { ClientSpecialistContractStatusEnum } from '../types/contract';
|
|
3
2
|
import { UserType } from '../types/user';
|
|
4
3
|
import { Specialist } from '../types/specialistTypes';
|
|
5
4
|
import { Session, SpecialistReview } from '../types';
|
|
6
|
-
export declare const mockT: (translate?: Record<string, string>) =>
|
|
5
|
+
export declare const mockT: (translate?: Record<string, string>) => TFunction<import("react-i18next").FallbackNs<Ns>, KPrefix>;
|
|
7
6
|
export declare const specialist: Specialist;
|
|
8
7
|
export declare const currentUser: UserType;
|
|
9
8
|
export declare const listReviews: SpecialistReview[];
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { WithTranslation } from 'react-i18next';
|
|
2
1
|
import { Session, SessionTime, SessionVariant } from '../types';
|
|
3
2
|
export declare const SOON_SESSION_TIME_SECONDS: number;
|
|
4
3
|
export declare const NEAR_SESSION_TIME_SECONDS: number;
|
|
@@ -10,5 +9,5 @@ export declare const getSessionsByYear: (sessions: Session[]) => Map<number, Ses
|
|
|
10
9
|
export declare const getSessionsByMonth: (sessions: Session[]) => Map<number, Session[]>;
|
|
11
10
|
export declare const getSessionsByDay: (sessions: Session[]) => Map<number, Session[]>;
|
|
12
11
|
export declare const splitSessions: (sessions: Session[]) => Map<string, Session[]>;
|
|
13
|
-
export declare const getSessionTimeLabel: (variant: SessionVariant, startSessionDate: Date, t:
|
|
12
|
+
export declare const getSessionTimeLabel: (variant: SessionVariant, startSessionDate: Date, t: TFunction<import("react-i18next").FallbackNs<Ns>, KPrefix>, locale: string) => string;
|
|
14
13
|
export declare const canManageSession: (sessionDate?: Date) => boolean;
|