@mindly/ui-components 5.84.0 → 5.85.1
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/MarkdownContainerFeature/MarkdownContainerFeature.d.ts +9 -0
- package/dist/cjs/lib2/features/MarkdownContainerFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingInfoScreenPreviewFeature/OnBoardingInfoScreenPreviewFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingInfoScreenPreviewFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/OnBoardingLoaderScreenPreviewFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingMultiSelectionScreenPreviewFeature/OnBoardingMultiSelectionScreenPreviewFeature.d.ts +8 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingMultiSelectionScreenPreviewFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/OnBoardingProgressFeature.d.ts +11 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/OnBoardingSingleSelectionScreenPreviewFeature.d.ts +8 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingStartScreenPreviewFeature/OnBoardingStartScreenPreviewFeature.d.ts +4 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingStartScreenPreviewFeature/index.d.ts +1 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/index.d.ts +6 -0
- package/dist/cjs/lib2/features/index.d.ts +2 -0
- package/dist/cjs/lib2/shared/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/types/index.d.ts +2 -0
- package/dist/cjs/lib2/shared/types/onBoardingFlow.type.d.ts +93 -0
- package/dist/cjs/lib2/shared/types/responseFileType.d.ts +9 -0
- package/dist/cjs/lib2/widgets/SpecialistPaymentWidget/SpecialistPaymentWidget.d.ts +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/lib2/features/MarkdownContainerFeature/MarkdownContainerFeature.d.ts +9 -0
- package/dist/esm/lib2/features/MarkdownContainerFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingInfoScreenPreviewFeature/OnBoardingInfoScreenPreviewFeature.d.ts +4 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingInfoScreenPreviewFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/OnBoardingLoaderScreenPreviewFeature.d.ts +4 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingLoaderScreenPreviewFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingMultiSelectionScreenPreviewFeature/OnBoardingMultiSelectionScreenPreviewFeature.d.ts +8 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingMultiSelectionScreenPreviewFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/OnBoardingProgressFeature.d.ts +11 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/OnBoardingSingleSelectionScreenPreviewFeature.d.ts +8 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingStartScreenPreviewFeature/OnBoardingStartScreenPreviewFeature.d.ts +4 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingStartScreenPreviewFeature/index.d.ts +1 -0
- package/dist/esm/lib2/features/OnBoardingFlow/index.d.ts +6 -0
- package/dist/esm/lib2/features/index.d.ts +2 -0
- package/dist/esm/lib2/shared/index.d.ts +1 -0
- package/dist/esm/lib2/shared/types/index.d.ts +2 -0
- package/dist/esm/lib2/shared/types/onBoardingFlow.type.d.ts +93 -0
- package/dist/esm/lib2/shared/types/responseFileType.d.ts +9 -0
- package/dist/esm/lib2/widgets/SpecialistPaymentWidget/SpecialistPaymentWidget.d.ts +1 -1
- package/dist/index.d.ts +244 -68
- package/package.json +2 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { MarkdownToJSX } from 'markdown-to-jsx';
|
|
3
|
+
type MarkdownContainerFeatureProps = {
|
|
4
|
+
children?: string | null;
|
|
5
|
+
options?: MarkdownToJSX.Options;
|
|
6
|
+
className?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: React.NamedExoticComponent<MarkdownContainerFeatureProps>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MarkdownContainerFeature } from './MarkdownContainerFeature';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OnBoardingInfoScreenPreviewFeature } from './OnBoardingInfoScreenPreviewFeature';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OnBoardingLoaderScreenPreviewFeature } from './OnBoardingLoaderScreenPreviewFeature';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { OnBoardingMultiSelectScreenType } from '../../../shared';
|
|
3
|
+
type OnBoardingMultiSelectionScreenPreviewFeatureProps = {
|
|
4
|
+
onChange?: (value: string[]) => void;
|
|
5
|
+
defaultValues?: string[];
|
|
6
|
+
} & OnBoardingMultiSelectScreenType;
|
|
7
|
+
declare const _default: React.NamedExoticComponent<OnBoardingMultiSelectionScreenPreviewFeatureProps>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OnBoardingMultiSelectionScreenPreviewFeature } from './OnBoardingMultiSelectionScreenPreviewFeature';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { OnBoardingScreenStyleOptions } from '../../../shared';
|
|
3
|
+
type OnBoardingProgressFeatureProps = {
|
|
4
|
+
progress: number;
|
|
5
|
+
isPreview?: boolean;
|
|
6
|
+
isBackButtonDisabled?: boolean;
|
|
7
|
+
onBackButtonClick?: () => void;
|
|
8
|
+
contentStyle?: OnBoardingScreenStyleOptions;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: React.NamedExoticComponent<OnBoardingProgressFeatureProps>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OnBoardingProgressFeature } from './OnBoardingProgressFeature';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { OnBoardingSingleSelectScreenType } from '../../../shared';
|
|
3
|
+
type OnBoardingSingleSelectionScreenPreviewFeatureProps = {
|
|
4
|
+
onChange?: (value: string) => void;
|
|
5
|
+
defaultValues?: string[];
|
|
6
|
+
} & OnBoardingSingleSelectScreenType;
|
|
7
|
+
declare const _default: React.NamedExoticComponent<OnBoardingSingleSelectionScreenPreviewFeatureProps>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OnBoardingSingleSelectionScreenPreviewFeature } from './OnBoardingSingleSelectionScreenPreviewFeature';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OnBoardingStartScreenPreviewFeature } from './OnBoardingStartScreenPreviewFeature';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './OnBoardingStartScreenPreviewFeature';
|
|
2
|
+
export * from './OnBoardingInfoScreenPreviewFeature';
|
|
3
|
+
export * from './OnBoardingMultiSelectionScreenPreviewFeature';
|
|
4
|
+
export * from './OnBoardingSingleSelectionScreenPreviewFeature';
|
|
5
|
+
export * from './OnBoardingLoaderScreenPreviewFeature';
|
|
6
|
+
export * from './OnBoardingProgressFeature';
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { ResponseFileType } from './responseFileType';
|
|
2
|
+
export declare enum ConditionRulesType {
|
|
3
|
+
IS = "is"
|
|
4
|
+
}
|
|
5
|
+
export interface Action {
|
|
6
|
+
type: 'go_to_screen';
|
|
7
|
+
target: string;
|
|
8
|
+
}
|
|
9
|
+
export interface Rule {
|
|
10
|
+
condition: ConditionRulesType;
|
|
11
|
+
value: string;
|
|
12
|
+
action: Action;
|
|
13
|
+
}
|
|
14
|
+
export declare enum OnBoardingScreenStyleOptions {
|
|
15
|
+
DARK = "DARK",
|
|
16
|
+
LIGHT = "LIGHT"
|
|
17
|
+
}
|
|
18
|
+
export declare enum OnBoardingScreenOptions {
|
|
19
|
+
START = "START",
|
|
20
|
+
MULTI_SELECT = "MULTI_SELECT",
|
|
21
|
+
SINGLE_SELECT = "SINGLE_SELECT",
|
|
22
|
+
INFO = "INFO",
|
|
23
|
+
LOADER = "LOADER",
|
|
24
|
+
REVIEWS = "REVIEWS"
|
|
25
|
+
}
|
|
26
|
+
export type OnBoardingScreenOptionType = {
|
|
27
|
+
id: string;
|
|
28
|
+
label: string;
|
|
29
|
+
alphabeticalOrder?: string | null;
|
|
30
|
+
isDefault?: boolean;
|
|
31
|
+
filtrationAnswerId?: string;
|
|
32
|
+
};
|
|
33
|
+
export type OnBoardingScreenButtonType = {
|
|
34
|
+
buttonText?: string | null;
|
|
35
|
+
buttonColor?: string | null;
|
|
36
|
+
buttonTextColor?: string | null;
|
|
37
|
+
};
|
|
38
|
+
export type OnBoardingScreenBgType = {
|
|
39
|
+
backgroundColor?: string | null;
|
|
40
|
+
contentStyle: OnBoardingScreenStyleOptions;
|
|
41
|
+
};
|
|
42
|
+
export type OnBoardingScreenDescriptionType = {
|
|
43
|
+
title?: string | null;
|
|
44
|
+
description?: string | null;
|
|
45
|
+
};
|
|
46
|
+
export type OnBoardingBaseScreenType = {
|
|
47
|
+
id: string;
|
|
48
|
+
type: OnBoardingScreenOptions;
|
|
49
|
+
name: string | null;
|
|
50
|
+
isDefault?: boolean;
|
|
51
|
+
filtrationQuestionId?: string;
|
|
52
|
+
order: number;
|
|
53
|
+
position: {
|
|
54
|
+
x: number;
|
|
55
|
+
y: number;
|
|
56
|
+
};
|
|
57
|
+
rules: {
|
|
58
|
+
[ruleId: string]: Rule;
|
|
59
|
+
};
|
|
60
|
+
isPreview?: boolean;
|
|
61
|
+
isPageView?: boolean;
|
|
62
|
+
};
|
|
63
|
+
export type OnBoardingStartScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenBgType & OnBoardingScreenDescriptionType & {
|
|
64
|
+
image?: ResponseFileType | null;
|
|
65
|
+
};
|
|
66
|
+
export type OnBoardingInfoScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenBgType & OnBoardingScreenDescriptionType & {
|
|
67
|
+
image?: ResponseFileType | null;
|
|
68
|
+
};
|
|
69
|
+
export type OnBoardingMultiSelectScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenDescriptionType & {
|
|
70
|
+
options: OnBoardingScreenOptionType[];
|
|
71
|
+
};
|
|
72
|
+
export type OnBoardingSingleSelectScreenType = OnBoardingBaseScreenType & OnBoardingScreenDescriptionType & {
|
|
73
|
+
options: OnBoardingScreenOptionType[];
|
|
74
|
+
};
|
|
75
|
+
export type OnBoardingLoaderScreenType = OnBoardingBaseScreenType & {
|
|
76
|
+
title?: string | null;
|
|
77
|
+
additionalText?: string;
|
|
78
|
+
loaderText: string;
|
|
79
|
+
answerScreenId?: string[];
|
|
80
|
+
allScreens?: Record<string, OnBoardingScreensType>;
|
|
81
|
+
selectedAnswers?: Record<string, string[]>;
|
|
82
|
+
};
|
|
83
|
+
export type OnBoardingReviewsScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & {
|
|
84
|
+
title?: string | null;
|
|
85
|
+
reviewLocale: string;
|
|
86
|
+
};
|
|
87
|
+
export type OnBoardingScreensType = OnBoardingStartScreenType | OnBoardingMultiSelectScreenType | OnBoardingSingleSelectScreenType | OnBoardingInfoScreenType | OnBoardingLoaderScreenType | OnBoardingReviewsScreenType;
|
|
88
|
+
export type OnBoardingFlowType = {
|
|
89
|
+
id: string;
|
|
90
|
+
locale: string;
|
|
91
|
+
name: string;
|
|
92
|
+
screens: Record<string, OnBoardingScreensType>;
|
|
93
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TranslationType } from '../../shared/types';
|
|
3
|
-
declare const _default: React.NamedExoticComponent<import("../../shared
|
|
3
|
+
declare const _default: React.NamedExoticComponent<import("../../shared").SpecialistPaymentCardProps & {
|
|
4
4
|
routeClick: () => void;
|
|
5
5
|
} & TranslationType>;
|
|
6
6
|
export default _default;
|