@mindly/ui-components 5.42.0 → 5.43.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.
Files changed (122) hide show
  1. package/dist/cjs/configs/tailwind/colors.d.ts +2 -0
  2. package/dist/cjs/index.js +15 -6
  3. package/dist/cjs/lib2/features/CalendarPickerFeature/CalendarPickerFeature.d.ts +12 -0
  4. package/dist/cjs/lib2/features/CalendarPickerFeature/index.d.ts +1 -0
  5. package/dist/cjs/lib2/features/ConsultationPricingFeature/ConsultationPricingFeature.d.ts +4 -0
  6. package/dist/cjs/lib2/features/ConsultationPricingFeature/ConsultationPricingFeatureSkeleton.d.ts +5 -0
  7. package/dist/cjs/lib2/features/ConsultationPricingFeature/ConsultationUser.d.ts +11 -0
  8. package/dist/cjs/lib2/features/ConsultationPricingFeature/ConsultationUserSkeleton.d.ts +5 -0
  9. package/dist/cjs/lib2/features/ConsultationPricingFeature/index.d.ts +1 -0
  10. package/dist/cjs/lib2/features/PaymentCalendarFeature/PaymentCalendarFeature.d.ts +4 -0
  11. package/dist/cjs/lib2/features/PaymentCalendarFeature/index.d.ts +1 -0
  12. package/dist/cjs/lib2/features/SpecialistPaymentCommonCardFeature/PaymentBadge.d.ts +4 -0
  13. package/dist/cjs/lib2/features/SpecialistPaymentCommonCardFeature/SpecialistPaymentCommonCardFeature.d.ts +4 -0
  14. package/dist/cjs/lib2/features/SpecialistPaymentCommonCardFeature/SpecialistPaymentCommonCardSkeleton.d.ts +5 -0
  15. package/dist/cjs/lib2/features/SpecialistPaymentCommonCardFeature/index.d.ts +2 -0
  16. package/dist/cjs/lib2/features/SpecialistPaymentCommonCardFeature/styles.d.ts +85 -0
  17. package/dist/cjs/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationCard.d.ts +9 -0
  18. package/dist/cjs/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationsList.d.ts +9 -0
  19. package/dist/cjs/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationsListSkeleton.d.ts +6 -0
  20. package/dist/cjs/lib2/features/SpecialistPaymentConsultationsFeature/SpecialistPaymentConsultationsFeature.d.ts +4 -0
  21. package/dist/cjs/lib2/features/SpecialistPaymentConsultationsFeature/index.d.ts +2 -0
  22. package/dist/cjs/lib2/features/SpecialistPaymentConsultationsFeature/styles.d.ts +87 -0
  23. package/dist/cjs/lib2/features/index.d.ts +5 -1
  24. package/dist/cjs/lib2/shared/hooks/useCalendarData.d.ts +10 -0
  25. package/dist/cjs/lib2/shared/hooks/useSpecialistPayments.d.ts +34 -0
  26. package/dist/cjs/lib2/shared/translators/specialistPayments.d.ts +2 -0
  27. package/dist/cjs/lib2/shared/types/common.d.ts +31 -0
  28. package/dist/cjs/lib2/shared/types/index.d.ts +2 -0
  29. package/dist/cjs/lib2/shared/types/specialistPaymentTypes.d.ts +91 -0
  30. package/dist/cjs/lib2/shared/ui/CollapsableText/CollapsableText.d.ts +9 -0
  31. package/dist/cjs/lib2/shared/ui/CollapsableText/index.d.ts +1 -0
  32. package/dist/cjs/lib2/shared/ui/CollapsableText/styles.d.ts +62 -0
  33. package/dist/cjs/lib2/shared/ui/DrumListPicker/DrumListPicker.d.ts +13 -0
  34. package/dist/cjs/lib2/shared/ui/DrumListPicker/index.d.ts +1 -0
  35. package/dist/cjs/lib2/shared/ui/DrumListPicker/utils.d.ts +3 -0
  36. package/dist/cjs/lib2/shared/ui/HeaderWithRedirect/HeaderWithRedirect.d.ts +8 -0
  37. package/dist/cjs/lib2/shared/ui/HeaderWithRedirect/index.d.ts +1 -0
  38. package/dist/cjs/lib2/shared/ui/HeaderWithRedirect/styles.d.ts +5 -0
  39. package/dist/cjs/lib2/shared/ui/LabelArrowRedirect/LabelArrowRedirect.d.ts +9 -0
  40. package/dist/cjs/lib2/shared/ui/LabelArrowRedirect/index.d.ts +1 -0
  41. package/dist/cjs/lib2/shared/ui/LabelArrowRedirect/styles.d.ts +90 -0
  42. package/dist/cjs/lib2/shared/ui/ProgressBarDashed/ProgressBarDash.d.ts +15 -0
  43. package/dist/cjs/lib2/shared/ui/ProgressBarDashed/ProgressBarDashed.d.ts +15 -0
  44. package/dist/cjs/lib2/shared/ui/ProgressBarDashed/constants.d.ts +1 -0
  45. package/dist/cjs/lib2/shared/ui/ProgressBarDashed/index.d.ts +1 -0
  46. package/dist/cjs/lib2/shared/ui/ProgressBarDashed/styles.d.ts +45 -0
  47. package/dist/cjs/lib2/shared/ui/Typography/Typography.d.ts +1 -0
  48. package/dist/cjs/lib2/shared/ui/Typography/types.d.ts +1 -0
  49. package/dist/cjs/lib2/shared/ui/index.d.ts +5 -0
  50. package/dist/cjs/lib2/shared/utils/index.d.ts +1 -0
  51. package/dist/cjs/lib2/shared/utils/priceNormalizer.d.ts +10 -0
  52. package/dist/cjs/lib2/widgets/SpecialistPaymentResumeWidget/SpecialistPaymentResumeWidget.d.ts +4 -0
  53. package/dist/cjs/lib2/widgets/SpecialistPaymentResumeWidget/index.d.ts +1 -0
  54. package/dist/cjs/lib2/widgets/SpecialistPaymentWidget/SpecialistPaymentWidget.d.ts +6 -0
  55. package/dist/cjs/lib2/widgets/SpecialistPaymentWidget/SpecialistPaymentWidget.stories.d.ts +6 -0
  56. package/dist/cjs/lib2/widgets/SpecialistPaymentWidget/index.d.ts +1 -0
  57. package/dist/cjs/lib2/widgets/index.d.ts +2 -0
  58. package/dist/esm/configs/tailwind/colors.d.ts +2 -0
  59. package/dist/esm/index.js +15 -6
  60. package/dist/esm/lib2/features/CalendarPickerFeature/CalendarPickerFeature.d.ts +12 -0
  61. package/dist/esm/lib2/features/CalendarPickerFeature/index.d.ts +1 -0
  62. package/dist/esm/lib2/features/ConsultationPricingFeature/ConsultationPricingFeature.d.ts +4 -0
  63. package/dist/esm/lib2/features/ConsultationPricingFeature/ConsultationPricingFeatureSkeleton.d.ts +5 -0
  64. package/dist/esm/lib2/features/ConsultationPricingFeature/ConsultationUser.d.ts +11 -0
  65. package/dist/esm/lib2/features/ConsultationPricingFeature/ConsultationUserSkeleton.d.ts +5 -0
  66. package/dist/esm/lib2/features/ConsultationPricingFeature/index.d.ts +1 -0
  67. package/dist/esm/lib2/features/PaymentCalendarFeature/PaymentCalendarFeature.d.ts +4 -0
  68. package/dist/esm/lib2/features/PaymentCalendarFeature/index.d.ts +1 -0
  69. package/dist/esm/lib2/features/SpecialistPaymentCommonCardFeature/PaymentBadge.d.ts +4 -0
  70. package/dist/esm/lib2/features/SpecialistPaymentCommonCardFeature/SpecialistPaymentCommonCardFeature.d.ts +4 -0
  71. package/dist/esm/lib2/features/SpecialistPaymentCommonCardFeature/SpecialistPaymentCommonCardSkeleton.d.ts +5 -0
  72. package/dist/esm/lib2/features/SpecialistPaymentCommonCardFeature/index.d.ts +2 -0
  73. package/dist/esm/lib2/features/SpecialistPaymentCommonCardFeature/styles.d.ts +85 -0
  74. package/dist/esm/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationCard.d.ts +9 -0
  75. package/dist/esm/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationsList.d.ts +9 -0
  76. package/dist/esm/lib2/features/SpecialistPaymentConsultationsFeature/Consultations/ConsultationsListSkeleton.d.ts +6 -0
  77. package/dist/esm/lib2/features/SpecialistPaymentConsultationsFeature/SpecialistPaymentConsultationsFeature.d.ts +4 -0
  78. package/dist/esm/lib2/features/SpecialistPaymentConsultationsFeature/index.d.ts +2 -0
  79. package/dist/esm/lib2/features/SpecialistPaymentConsultationsFeature/styles.d.ts +87 -0
  80. package/dist/esm/lib2/features/index.d.ts +5 -1
  81. package/dist/esm/lib2/shared/hooks/useCalendarData.d.ts +10 -0
  82. package/dist/esm/lib2/shared/hooks/useSpecialistPayments.d.ts +34 -0
  83. package/dist/esm/lib2/shared/translators/specialistPayments.d.ts +2 -0
  84. package/dist/esm/lib2/shared/types/common.d.ts +31 -0
  85. package/dist/esm/lib2/shared/types/index.d.ts +2 -0
  86. package/dist/esm/lib2/shared/types/specialistPaymentTypes.d.ts +91 -0
  87. package/dist/esm/lib2/shared/ui/CollapsableText/CollapsableText.d.ts +9 -0
  88. package/dist/esm/lib2/shared/ui/CollapsableText/index.d.ts +1 -0
  89. package/dist/esm/lib2/shared/ui/CollapsableText/styles.d.ts +62 -0
  90. package/dist/esm/lib2/shared/ui/DrumListPicker/DrumListPicker.d.ts +13 -0
  91. package/dist/esm/lib2/shared/ui/DrumListPicker/index.d.ts +1 -0
  92. package/dist/esm/lib2/shared/ui/DrumListPicker/utils.d.ts +3 -0
  93. package/dist/esm/lib2/shared/ui/HeaderWithRedirect/HeaderWithRedirect.d.ts +8 -0
  94. package/dist/esm/lib2/shared/ui/HeaderWithRedirect/index.d.ts +1 -0
  95. package/dist/esm/lib2/shared/ui/HeaderWithRedirect/styles.d.ts +5 -0
  96. package/dist/esm/lib2/shared/ui/LabelArrowRedirect/LabelArrowRedirect.d.ts +9 -0
  97. package/dist/esm/lib2/shared/ui/LabelArrowRedirect/index.d.ts +1 -0
  98. package/dist/esm/lib2/shared/ui/LabelArrowRedirect/styles.d.ts +90 -0
  99. package/dist/esm/lib2/shared/ui/ProgressBarDashed/ProgressBarDash.d.ts +15 -0
  100. package/dist/esm/lib2/shared/ui/ProgressBarDashed/ProgressBarDashed.d.ts +15 -0
  101. package/dist/esm/lib2/shared/ui/ProgressBarDashed/constants.d.ts +1 -0
  102. package/dist/esm/lib2/shared/ui/ProgressBarDashed/index.d.ts +1 -0
  103. package/dist/esm/lib2/shared/ui/ProgressBarDashed/styles.d.ts +45 -0
  104. package/dist/esm/lib2/shared/ui/Typography/Typography.d.ts +1 -0
  105. package/dist/esm/lib2/shared/ui/Typography/types.d.ts +1 -0
  106. package/dist/esm/lib2/shared/ui/index.d.ts +5 -0
  107. package/dist/esm/lib2/shared/utils/index.d.ts +1 -0
  108. package/dist/esm/lib2/shared/utils/priceNormalizer.d.ts +10 -0
  109. package/dist/esm/lib2/widgets/SpecialistPaymentResumeWidget/SpecialistPaymentResumeWidget.d.ts +4 -0
  110. package/dist/esm/lib2/widgets/SpecialistPaymentResumeWidget/index.d.ts +1 -0
  111. package/dist/esm/lib2/widgets/SpecialistPaymentWidget/SpecialistPaymentWidget.d.ts +6 -0
  112. package/dist/esm/lib2/widgets/SpecialistPaymentWidget/SpecialistPaymentWidget.stories.d.ts +6 -0
  113. package/dist/esm/lib2/widgets/SpecialistPaymentWidget/index.d.ts +1 -0
  114. package/dist/esm/lib2/widgets/index.d.ts +2 -0
  115. package/dist/index.d.ts +243 -64
  116. package/package.json +1 -1
  117. package/src/configs/tailwind/colors.ts +2 -0
  118. package/src/lib2/shared/css/tailwind.css +2 -0
  119. package/dist/cjs/lib2/features/MobilePickerFeature/MobilePickerFeature.d.ts +0 -7
  120. package/dist/cjs/lib2/features/MobilePickerFeature/index.d.ts +0 -1
  121. package/dist/esm/lib2/features/MobilePickerFeature/MobilePickerFeature.d.ts +0 -7
  122. package/dist/esm/lib2/features/MobilePickerFeature/index.d.ts +0 -1
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { TranslationType } from '../../shared/types';
3
+ type CalendarPickerFeatureProps = {
4
+ date: Date;
5
+ locale?: string;
6
+ mode: 'button' | 'auto' | undefined;
7
+ opened?: boolean;
8
+ monthsMore?: number;
9
+ dateCallback: (date: Date) => void;
10
+ };
11
+ declare const _default: React.NamedExoticComponent<CalendarPickerFeatureProps & TranslationType>;
12
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as CalendarPickerFeature } from './CalendarPickerFeature';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SpecialistPaymentConsultationDetailsType, TranslationType } from '../../shared/types';
3
+ declare const _default: React.NamedExoticComponent<SpecialistPaymentConsultationDetailsType & TranslationType>;
4
+ export default _default;
@@ -0,0 +1,5 @@
1
+ type ConsultationPricingFeatureSkeletonProps = {
2
+ className?: string;
3
+ };
4
+ declare const ConsultationPricingFeatureSkeleton: (props: ConsultationPricingFeatureSkeletonProps) => JSX.Element;
5
+ export default ConsultationPricingFeatureSkeleton;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { TranslationType } from '../../shared/types';
3
+ type ConsultationUserType = {
4
+ name: string;
5
+ date: Date;
6
+ avatar: string;
7
+ locale: string;
8
+ timezone: string;
9
+ };
10
+ declare const _default: React.NamedExoticComponent<ConsultationUserType & TranslationType>;
11
+ export default _default;
@@ -0,0 +1,5 @@
1
+ type ConsultationUserSkeletonProps = {
2
+ className?: string;
3
+ };
4
+ declare const ConsultationUserSkeleton: (props: ConsultationUserSkeletonProps) => JSX.Element;
5
+ export default ConsultationUserSkeleton;
@@ -0,0 +1 @@
1
+ export { default as ConsultationPricingFeature } from './ConsultationPricingFeature';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { PaymentCalendarFeatureProps, TranslationType } from '../../shared/types';
3
+ declare const _default: React.NamedExoticComponent<PaymentCalendarFeatureProps & TranslationType>;
4
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as PaymentCalendarFeature } from './PaymentCalendarFeature';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { PaymentBadgeType, TranslationType } from '../../shared/types';
3
+ declare const _default: React.NamedExoticComponent<PaymentBadgeType & TranslationType>;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SpecialistPaymentCardProps, TranslationType } from '../../shared/types';
3
+ declare const _default: React.NamedExoticComponent<SpecialistPaymentCardProps & TranslationType>;
4
+ export default _default;
@@ -0,0 +1,5 @@
1
+ type SpecialistPaymentCommonCardSkeletonType = {
2
+ className?: string;
3
+ };
4
+ declare const SpecialistPaymentCommonCardSkeleton: (props: SpecialistPaymentCommonCardSkeletonType) => JSX.Element;
5
+ export default SpecialistPaymentCommonCardSkeleton;
@@ -0,0 +1,2 @@
1
+ export { default as SpecialistPaymentCommonCardFeature } from './SpecialistPaymentCommonCardFeature';
2
+ export { default as SpecialistPaymentCommonCardSkeleton } from './SpecialistPaymentCommonCardSkeleton';
@@ -0,0 +1,85 @@
1
+ export declare const specialistPaymentFeatureStyles: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<{
2
+ sessionsLabel: string;
3
+ skeletonWrapper: string;
4
+ skeletonTLWTile: string;
5
+ skeletonTSWTile: string;
6
+ skeletonBLNTile: string;
7
+ skeletonBLNTile2: string;
8
+ skeletonBSWTile: string;
9
+ skeletonBMWTile: string;
10
+ skeletonBMWTile2: string;
11
+ }, undefined> | {
12
+ [x: string]: {
13
+ [x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<{
14
+ sessionsLabel: string;
15
+ skeletonWrapper: string;
16
+ skeletonTLWTile: string;
17
+ skeletonTSWTile: string;
18
+ skeletonBLNTile: string;
19
+ skeletonBLNTile2: string;
20
+ skeletonBSWTile: string;
21
+ skeletonBMWTile: string;
22
+ skeletonBMWTile2: string;
23
+ }, undefined>;
24
+ } | undefined;
25
+ } | {}, {
26
+ sessionsLabel: string;
27
+ skeletonWrapper: string;
28
+ skeletonTLWTile: string;
29
+ skeletonTSWTile: string;
30
+ skeletonBLNTile: string;
31
+ skeletonBLNTile2: string;
32
+ skeletonBSWTile: string;
33
+ skeletonBMWTile: string;
34
+ skeletonBMWTile2: string;
35
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<{
36
+ sessionsLabel: string;
37
+ skeletonWrapper: string;
38
+ skeletonTLWTile: string;
39
+ skeletonTSWTile: string;
40
+ skeletonBLNTile: string;
41
+ skeletonBLNTile2: string;
42
+ skeletonBSWTile: string;
43
+ skeletonBMWTile: string;
44
+ skeletonBMWTile2: string;
45
+ }, undefined> | {}>, import("tailwind-variants").TVVariantsDefault<{
46
+ sessionsLabel: string;
47
+ skeletonWrapper: string;
48
+ skeletonTLWTile: string;
49
+ skeletonTSWTile: string;
50
+ skeletonBLNTile: string;
51
+ skeletonBLNTile2: string;
52
+ skeletonBSWTile: string;
53
+ skeletonBMWTile: string;
54
+ skeletonBMWTile2: string;
55
+ }, undefined> | {}, {
56
+ sessionsLabel: string;
57
+ skeletonWrapper: string;
58
+ skeletonTLWTile: string;
59
+ skeletonTSWTile: string;
60
+ skeletonBLNTile: string;
61
+ skeletonBLNTile2: string;
62
+ skeletonBSWTile: string;
63
+ skeletonBMWTile: string;
64
+ skeletonBMWTile2: string;
65
+ }, import("tailwind-variants").TVReturnType<unknown, {
66
+ sessionsLabel: string;
67
+ skeletonWrapper: string;
68
+ skeletonTLWTile: string;
69
+ skeletonTSWTile: string;
70
+ skeletonBLNTile: string;
71
+ skeletonBLNTile2: string;
72
+ skeletonBSWTile: string;
73
+ skeletonBMWTile: string;
74
+ skeletonBMWTile2: string;
75
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<{
76
+ sessionsLabel: string;
77
+ skeletonWrapper: string;
78
+ skeletonTLWTile: string;
79
+ skeletonTSWTile: string;
80
+ skeletonBLNTile: string;
81
+ skeletonBLNTile2: string;
82
+ skeletonBSWTile: string;
83
+ skeletonBMWTile: string;
84
+ skeletonBMWTile2: string;
85
+ }, undefined> | {}>, unknown, unknown, undefined>>;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { SpecialistConsultation } from '../../../shared/types';
3
+ type ConsultationCardProps = {
4
+ consultation: SpecialistConsultation;
5
+ consultationClick?: (consultation: SpecialistConsultation) => void;
6
+ locale?: string;
7
+ };
8
+ declare const _default: React.NamedExoticComponent<ConsultationCardProps>;
9
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { SpecialistConsultation } from '../../../shared/types';
3
+ type ConsultationsListProps = {
4
+ consultations: SpecialistConsultation[];
5
+ locale?: string;
6
+ consultationClick?: (consultation: SpecialistConsultation) => void;
7
+ };
8
+ declare const _default: React.NamedExoticComponent<ConsultationsListProps>;
9
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ type ConsultationsListSkeletonType = {
3
+ className?: string;
4
+ };
5
+ export declare const ConsultationsListSkeleton: FC<ConsultationsListSkeletonType>;
6
+ export {};
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SpecialistPaymentConsultationsProps, TranslationType } from '../../shared/types';
3
+ declare const _default: React.NamedExoticComponent<SpecialistPaymentConsultationsProps & TranslationType>;
4
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export { default as SpecialistPaymentConsultationsFeature } from './SpecialistPaymentConsultationsFeature';
2
+ export { ConsultationsListSkeleton } from './Consultations/ConsultationsListSkeleton';
@@ -0,0 +1,87 @@
1
+ export declare const specialistPaymentConsultationsStyles: import("tailwind-variants").TVReturnType<{
2
+ multiple: {
3
+ false: {
4
+ tab: string;
5
+ };
6
+ };
7
+ active: {
8
+ true: {
9
+ tab: string;
10
+ };
11
+ };
12
+ }, {
13
+ tab: string;
14
+ consultationCard: string;
15
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<{
16
+ multiple: {
17
+ false: {
18
+ tab: string;
19
+ };
20
+ };
21
+ active: {
22
+ true: {
23
+ tab: string;
24
+ };
25
+ };
26
+ }, {
27
+ multiple: {
28
+ false: {
29
+ tab: string;
30
+ };
31
+ };
32
+ active: {
33
+ true: {
34
+ tab: string;
35
+ };
36
+ };
37
+ }>, {
38
+ multiple: {
39
+ false: {
40
+ tab: string;
41
+ };
42
+ };
43
+ active: {
44
+ true: {
45
+ tab: string;
46
+ };
47
+ };
48
+ }, {
49
+ tab: string;
50
+ consultationCard: string;
51
+ }, import("tailwind-variants").TVReturnType<{
52
+ multiple: {
53
+ false: {
54
+ tab: string;
55
+ };
56
+ };
57
+ active: {
58
+ true: {
59
+ tab: string;
60
+ };
61
+ };
62
+ }, {
63
+ tab: string;
64
+ consultationCard: string;
65
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<{
66
+ multiple: {
67
+ false: {
68
+ tab: string;
69
+ };
70
+ };
71
+ active: {
72
+ true: {
73
+ tab: string;
74
+ };
75
+ };
76
+ }, {
77
+ multiple: {
78
+ false: {
79
+ tab: string;
80
+ };
81
+ };
82
+ active: {
83
+ true: {
84
+ tab: string;
85
+ };
86
+ };
87
+ }>, unknown, unknown, undefined>>;
@@ -7,8 +7,12 @@ export * from './PushNotificationsIsDisabledBanner';
7
7
  export * from './SpecialistShortInfoItemFeature';
8
8
  export * from './SpecialistInfoColumnFeature';
9
9
  export * from './CountdownTimerFeature';
10
- export * from './MobilePickerFeature';
11
10
  export * from './CheckBoxSectionListFeature';
12
11
  export * from './CheckBoxListFeature';
13
12
  export * from './ShareModalFeature';
13
+ export * from './ConsultationPricingFeature';
14
+ export * from './SpecialistPaymentCommonCardFeature';
15
+ export * from './SpecialistPaymentConsultationsFeature';
16
+ export * from './CalendarPickerFeature';
17
+ export * from './PaymentCalendarFeature';
14
18
  export * from './GoogleCalendarModalFeature';
@@ -0,0 +1,10 @@
1
+ type CalendarListProps = {
2
+ locale?: string;
3
+ monthsMore?: number;
4
+ };
5
+ type CalendarListItem = {
6
+ value: Date;
7
+ label: string;
8
+ };
9
+ export declare function useCalendarListData({ locale, monthsMore, }: CalendarListProps): CalendarListItem[];
10
+ export {};
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Day number of the month for specialists payments
3
+ **/
4
+ export declare const NUMBER_OF_PAYMENT_DAY = 4;
5
+ type DatesResultType = {
6
+ isPreviousMonth: boolean;
7
+ isOldMonth: boolean;
8
+ isCurrentMonth: boolean;
9
+ isFutureMonth: boolean;
10
+ };
11
+ export declare function getDatePosition(calendarDate: Date): DatesResultType;
12
+ export declare function getSelectedFormattedDate(date: Date, locale?: string): string;
13
+ type FormattedDateProps = {
14
+ date: Date;
15
+ locale?: string;
16
+ };
17
+ export declare function useFormattedDate({ date, locale }: FormattedDateProps): string;
18
+ type PaymentsConsultationsTabsProps = {
19
+ t: (args: any) => string;
20
+ defaultTab?: string;
21
+ date: Date;
22
+ futureCount?: number;
23
+ previousCount?: number;
24
+ };
25
+ type SpecialistPaymentTabs = {
26
+ value: string;
27
+ label: string;
28
+ };
29
+ type PaymentsConsultationsTabsResult = {
30
+ activeTab: string;
31
+ tabs: SpecialistPaymentTabs[];
32
+ };
33
+ export declare function usePaymentsConsultationsTabs({ t, date, defaultTab, futureCount, previousCount, }: PaymentsConsultationsTabsProps): PaymentsConsultationsTabsResult;
34
+ export {};
@@ -0,0 +1,2 @@
1
+ import { TranslationType } from '../types';
2
+ export declare const translationFunction: TranslationType['t'];
@@ -0,0 +1,31 @@
1
+ import { WithTranslation } from 'react-i18next';
2
+ export type TranslationMock = {
3
+ t: (v1: any, v2?: any) => string;
4
+ };
5
+ export type TranslationType = {
6
+ t: WithTranslation['t'] | TranslationMock['t'];
7
+ };
8
+ export declare enum SupportedCurrency {
9
+ 'UAH' = "UAH",
10
+ 'EUR' = "EUR",
11
+ 'PLN' = "PLN",
12
+ 'USD' = "USD"
13
+ }
14
+ export declare const CurrencyLocaleMapper: {
15
+ UAH: string;
16
+ EUR: string;
17
+ PLN: string;
18
+ USD: string;
19
+ };
20
+ export declare enum CurrencySignByLocale {
21
+ 'uk' = "\u20B4",
22
+ 'pl' = "z\u0142",
23
+ 'eur' = "\u20AC",
24
+ 'es' = "$"
25
+ }
26
+ export declare enum ShortCurrencySignByLocale {
27
+ 'uk' = "\u0433\u0440\u043D",
28
+ 'pl' = "z\u0142o",
29
+ 'eur' = "EUR",
30
+ 'es' = "USD"
31
+ }
@@ -1,2 +1,4 @@
1
1
  export * from './ratingCircleTypes';
2
+ export * from './specialistPaymentTypes';
2
3
  export * from './iconProps';
4
+ export * from './common';
@@ -0,0 +1,91 @@
1
+ import { SupportedCurrency } from '../types';
2
+ export type DynamicCommissionValue = {
3
+ 1: number;
4
+ 999: number;
5
+ [key: number]: number | undefined;
6
+ };
7
+ export type SpecialistPaymentTabs = {
8
+ value: string;
9
+ label: string;
10
+ };
11
+ export type SpecialistConsultationPayment = {
12
+ currency_local: keyof typeof SupportedCurrency;
13
+ currency_default: keyof typeof SupportedCurrency;
14
+ exchange_rate: number;
15
+ subscription_discount: number;
16
+ subscription_sessions_count: number;
17
+ subscription_interval_in_month: number;
18
+ price_default_in_cents: number;
19
+ price_local_by_exchange_rate_in_cents: number;
20
+ price_default_discount_in_cents: number;
21
+ price_local_discount_by_exchange_rate_in_cents: number;
22
+ price_default_original_in_cents: number;
23
+ price_local_original_by_exchange_rate_in_cents: number;
24
+ commission: number;
25
+ price_default_commission_in_cents: number;
26
+ price_local_commission_by_exchange_rate_in_cents: number;
27
+ price_default_after_commission_in_cents: number;
28
+ price_local_after_commission_by_exchange_rate_in_cents: number;
29
+ };
30
+ export type SpecialistConsultation = {
31
+ id: string;
32
+ name: string;
33
+ avatar: string;
34
+ date: Date;
35
+ subscriptionId?: string | undefined | null;
36
+ payment?: Partial<SpecialistConsultationPayment>;
37
+ };
38
+ export type SpecialistPaymentConsultationsProps = {
39
+ consultations: SpecialistConsultation[];
40
+ calendarDate: Date;
41
+ futureCount?: number;
42
+ previousCount?: number;
43
+ locale?: string;
44
+ defaultTab?: string;
45
+ consultationsModeTrigger: (data: {
46
+ startDate?: Date;
47
+ endDate?: Date;
48
+ }) => void;
49
+ consultationClick?: (consultation: SpecialistConsultation) => void;
50
+ };
51
+ export type SpecialistPaymentCurrencyProps = {
52
+ side?: 'left' | 'right';
53
+ mode?: 'sign' | 'transcription';
54
+ };
55
+ export type SpecialistPaymentCardProps = {
56
+ isLoading?: boolean;
57
+ calendarDate: Date;
58
+ locale?: string;
59
+ revenue?: number;
60
+ currency?: SupportedCurrency | undefined;
61
+ showRevenue: boolean;
62
+ currencyProps?: SpecialistPaymentCurrencyProps;
63
+ showCommission?: boolean;
64
+ commissionRates: Partial<DynamicCommissionValue>;
65
+ commissionValue: number;
66
+ totalSessions: number;
67
+ futureSessions: number;
68
+ hideProgressBar?: boolean;
69
+ };
70
+ export type SpecialistPaymentWidgetType = SpecialistPaymentCardProps & {
71
+ routeClick: () => void;
72
+ };
73
+ export type SpecialistPaymentResumeWidgetType = SpecialistPaymentCardProps & SpecialistPaymentConsultationsProps;
74
+ export type PaymentBadgeType = {
75
+ date: Date;
76
+ locale?: string;
77
+ className?: string;
78
+ };
79
+ export type PaymentCalendarFeatureProps = {
80
+ date: Date;
81
+ locale?: string;
82
+ dateCallback: (date: Date) => void;
83
+ className?: string;
84
+ monthsMore?: number;
85
+ };
86
+ export type SpecialistPaymentConsultationDetailsType = {
87
+ consultation: SpecialistConsultation;
88
+ isLoading: boolean;
89
+ timezone: string;
90
+ locale: string;
91
+ };
@@ -0,0 +1,9 @@
1
+ import { TranslationType } from '../../types';
2
+ type FontWeight = 'Regular' | 'Semi' | 'Bold';
3
+ type CollapsableTextProps = {
4
+ text: string;
5
+ size?: number;
6
+ fontWeight?: FontWeight;
7
+ };
8
+ export declare function CollapsableText({ t, text, size, fontWeight, }: CollapsableTextProps & TranslationType): JSX.Element;
9
+ export {};
@@ -0,0 +1 @@
1
+ export { CollapsableText } from './CollapsableText';
@@ -0,0 +1,62 @@
1
+ export declare const collapsableTextStyles: import("tailwind-variants").TVReturnType<{
2
+ collapsed: {
3
+ true: {
4
+ contentWrap: string;
5
+ contentText: string;
6
+ };
7
+ };
8
+ }, {
9
+ contentWrap: string;
10
+ contentText: string;
11
+ collapsing: string;
12
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<{
13
+ collapsed: {
14
+ true: {
15
+ contentWrap: string;
16
+ contentText: string;
17
+ };
18
+ };
19
+ }, {
20
+ collapsed: {
21
+ true: {
22
+ contentWrap: string;
23
+ contentText: string;
24
+ };
25
+ };
26
+ }>, {
27
+ collapsed: {
28
+ true: {
29
+ contentWrap: string;
30
+ contentText: string;
31
+ };
32
+ };
33
+ }, {
34
+ contentWrap: string;
35
+ contentText: string;
36
+ collapsing: string;
37
+ }, import("tailwind-variants").TVReturnType<{
38
+ collapsed: {
39
+ true: {
40
+ contentWrap: string;
41
+ contentText: string;
42
+ };
43
+ };
44
+ }, {
45
+ contentWrap: string;
46
+ contentText: string;
47
+ collapsing: string;
48
+ }, undefined, import("tailwind-variants/dist/config").TVConfig<{
49
+ collapsed: {
50
+ true: {
51
+ contentWrap: string;
52
+ contentText: string;
53
+ };
54
+ };
55
+ }, {
56
+ collapsed: {
57
+ true: {
58
+ contentWrap: string;
59
+ contentText: string;
60
+ };
61
+ };
62
+ }>, unknown, unknown, undefined>>;
@@ -0,0 +1,13 @@
1
+ type SelectionType = {
2
+ value: any;
3
+ label: string;
4
+ };
5
+ type Props = {
6
+ height?: number | undefined;
7
+ selections: Record<string, SelectionType[]>;
8
+ defaults?: Record<string, string>;
9
+ onChange(value: any): void;
10
+ className?: string;
11
+ };
12
+ declare const DrumListPicker: ({ height, selections, defaults, onChange, className, }: Props) => JSX.Element;
13
+ export default DrumListPicker;
@@ -0,0 +1 @@
1
+ export { default as DrumListPicker } from './DrumListPicker';
@@ -0,0 +1,3 @@
1
+ type PropType = 'color' | 'fontSize';
2
+ export declare const getPropByIndex: (index: number, prop: PropType) => string | number;
3
+ export {};
@@ -0,0 +1,8 @@
1
+ import { FC } from 'react';
2
+ type HeaderWithRedirectProps = {
3
+ title: string;
4
+ label: string;
5
+ routeClick: () => void;
6
+ };
7
+ export declare const HeaderWithRedirect: FC<HeaderWithRedirectProps>;
8
+ export {};
@@ -0,0 +1 @@
1
+ export { HeaderWithRedirect } from './HeaderWithRedirect';
@@ -0,0 +1,5 @@
1
+ export declare const header: import("tailwind-variants").TVReturnType<import("tailwind-variants").TVVariantsDefault<undefined, "flex items-center justify-between"> | {
2
+ [x: string]: {
3
+ [x: string]: import("tailwind-variants").ClassValue | import("tailwind-variants").SlotsClassValue<undefined, "flex items-center justify-between">;
4
+ } | undefined;
5
+ } | {}, undefined, "flex items-center justify-between", import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<undefined, "flex items-center justify-between"> | {}>, import("tailwind-variants").TVVariantsDefault<undefined, "flex items-center justify-between"> | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "flex items-center justify-between", import("tailwind-variants/dist/config").TVConfig<unknown, import("tailwind-variants").TVVariantsDefault<undefined, "flex items-center justify-between"> | {}>, unknown, unknown, undefined>>;
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ type LabelArrowRedirectProps = {
3
+ transparent?: boolean;
4
+ disabled?: boolean;
5
+ label?: string;
6
+ routeClick: () => void;
7
+ };
8
+ export declare const LabelArrowRedirect: FC<LabelArrowRedirectProps>;
9
+ export {};
@@ -0,0 +1 @@
1
+ export { LabelArrowRedirect } from './LabelArrowRedirect';