@mindly/ui-components 3.1.2 → 3.1.4

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 (192) hide show
  1. package/package.json +2 -2
  2. package/dist/cjs/b7649e1531c181af.svg +0 -69
  3. package/dist/cjs/index.js +0 -181
  4. package/dist/cjs/index.js.map +0 -1
  5. package/dist/cjs/types/index.d.ts +0 -59
  6. package/dist/cjs/types/lib/AppHeader/AppHeader.d.ts +0 -6
  7. package/dist/cjs/types/lib/AppHeader/AppHeader.style.d.ts +0 -7
  8. package/dist/cjs/types/lib/AppHeader/index.d.ts +0 -1
  9. package/dist/cjs/types/lib/Avatar/Avatar.d.ts +0 -9
  10. package/dist/cjs/types/lib/Avatar/Avatar.style.d.ts +0 -5
  11. package/dist/cjs/types/lib/Avatar/index.d.ts +0 -1
  12. package/dist/cjs/types/lib/Container/Container.d.ts +0 -3
  13. package/dist/cjs/types/lib/Container/Container.styled.d.ts +0 -5
  14. package/dist/cjs/types/lib/Container/index.d.ts +0 -1
  15. package/dist/cjs/types/lib/EntryNotFound/EntryNotFound.d.ts +0 -5
  16. package/dist/cjs/types/lib/EntryNotFound/EntryNotFound.style.d.ts +0 -2
  17. package/dist/cjs/types/lib/EntryNotFound/index.d.ts +0 -1
  18. package/dist/cjs/types/lib/Filters/ListSelect/ListSelect.d.ts +0 -13
  19. package/dist/cjs/types/lib/Filters/ListSelect/ListSelect.style.d.ts +0 -9
  20. package/dist/cjs/types/lib/Filters/ListSelect/index.d.ts +0 -1
  21. package/dist/cjs/types/lib/Filters/Range/Range.d.ts +0 -14
  22. package/dist/cjs/types/lib/Filters/Range/Range.style.d.ts +0 -3
  23. package/dist/cjs/types/lib/Filters/Range/index.d.ts +0 -1
  24. package/dist/cjs/types/lib/Filters/RowSelect/RowSelect.d.ts +0 -13
  25. package/dist/cjs/types/lib/Filters/RowSelect/RowSelect.style.d.ts +0 -7
  26. package/dist/cjs/types/lib/Filters/RowSelect/index.d.ts +0 -1
  27. package/dist/cjs/types/lib/Filters/Toggle/Toggle.d.ts +0 -8
  28. package/dist/cjs/types/lib/Filters/Toggle/Toggle.style.d.ts +0 -2
  29. package/dist/cjs/types/lib/Filters/Toggle/index.d.ts +0 -1
  30. package/dist/cjs/types/lib/HorisontalCalendar/HorizontalCalendar.d.ts +0 -40
  31. package/dist/cjs/types/lib/HorisontalCalendar/HorizontalCalendar.styled.d.ts +0 -2
  32. package/dist/cjs/types/lib/HorisontalCalendar/index.d.ts +0 -1
  33. package/dist/cjs/types/lib/ImageWithFallback/ImageWithFallback.d.ts +0 -6
  34. package/dist/cjs/types/lib/LetterAvatar/LetterAvatar.d.ts +0 -9
  35. package/dist/cjs/types/lib/LetterAvatar/LetterAvatar.styled.d.ts +0 -5
  36. package/dist/cjs/types/lib/Modal/Modal.d.ts +0 -8
  37. package/dist/cjs/types/lib/Modal/Modal.style.d.ts +0 -6
  38. package/dist/cjs/types/lib/Modal/index.d.ts +0 -1
  39. package/dist/cjs/types/lib/ModalCalendar/ModalCalendar.d.ts +0 -10
  40. package/dist/cjs/types/lib/ModalCalendar/ModalCalendar.styled.d.ts +0 -12
  41. package/dist/cjs/types/lib/PersonDateTimeCard/PersonDateTimeCard.d.ts +0 -8
  42. package/dist/cjs/types/lib/PersonDateTimeCard/PersonDateTimeCard.styled.d.ts +0 -2
  43. package/dist/cjs/types/lib/Segment/Segment.d.ts +0 -9
  44. package/dist/cjs/types/lib/Segment/Segment.style.d.ts +0 -3
  45. package/dist/cjs/types/lib/Segment/index.d.ts +0 -2
  46. package/dist/cjs/types/lib/Segment/types.d.ts +0 -4
  47. package/dist/cjs/types/lib/SelectImpressionEmoji/ImpressionEmojiEnum.d.ts +0 -8
  48. package/dist/cjs/types/lib/SelectImpressionEmoji/SelectImpressionEmoji.d.ts +0 -4
  49. package/dist/cjs/types/lib/SelectImpressionEmoji/SelectImpressionEmoji.styled.d.ts +0 -2
  50. package/dist/cjs/types/lib/SelectImpressionEmoji/SelectImpressionEmojiProps.d.ts +0 -6
  51. package/dist/cjs/types/lib/SelectImpressionEmoji/emojis.d.ts +0 -5
  52. package/dist/cjs/types/lib/SelectImpressionEmoji/index.d.ts +0 -4
  53. package/dist/cjs/types/lib/Theme/mindly_constants.d.ts +0 -22
  54. package/dist/cjs/types/lib/UsersPsychologistScrollList/UserPsychologistScrollList.styled.d.ts +0 -6
  55. package/dist/cjs/types/lib/UsersPsychologistScrollList/UsersPsychologistScrollList.d.ts +0 -10
  56. package/dist/cjs/types/lib/archived-consultation-card/ArchivedConsultationCard.d.ts +0 -14
  57. package/dist/cjs/types/lib/archived-consultation-card/ArchivedConsultationCard.style.d.ts +0 -3
  58. package/dist/cjs/types/lib/button/Button.d.ts +0 -9
  59. package/dist/cjs/types/lib/button/Button.style.d.ts +0 -6
  60. package/dist/cjs/types/lib/consultation-card/ConsultationCard.d.ts +0 -31
  61. package/dist/cjs/types/lib/consultation-card/ConsultationCard.style.d.ts +0 -7
  62. package/dist/cjs/types/lib/consultation-card/ConsultationCardSkeleton.d.ts +0 -2
  63. package/dist/cjs/types/lib/consultation-card/index.d.ts +0 -2
  64. package/dist/cjs/types/lib/content-card/ContentCard.d.ts +0 -15
  65. package/dist/cjs/types/lib/content-card/ContentCard.style.d.ts +0 -11
  66. package/dist/cjs/types/lib/date-picker/DatePicker.d.ts +0 -13
  67. package/dist/cjs/types/lib/date-picker/DatePicker.style.d.ts +0 -6
  68. package/dist/cjs/types/lib/floating-button/FloatingButton.d.ts +0 -8
  69. package/dist/cjs/types/lib/floating-button/FloatingButton.style.d.ts +0 -6
  70. package/dist/cjs/types/lib/footer-for-booking/FooterForBooking.d.ts +0 -10
  71. package/dist/cjs/types/lib/footer-for-booking/FooterForBooking.style.d.ts +0 -7
  72. package/dist/cjs/types/lib/input/Input.d.ts +0 -13
  73. package/dist/cjs/types/lib/input/Input.style.d.ts +0 -7
  74. package/dist/cjs/types/lib/list-button/ListButton.d.ts +0 -9
  75. package/dist/cjs/types/lib/list-button/ListButton.style.d.ts +0 -2
  76. package/dist/cjs/types/lib/navigation-bar/NavigationBar.d.ts +0 -8
  77. package/dist/cjs/types/lib/navigation-bar/NavigationBar.style.d.ts +0 -8
  78. package/dist/cjs/types/lib/no-internet-connection/NoInternetConnection.d.ts +0 -7
  79. package/dist/cjs/types/lib/no-internet-connection/NoInternetConnection.style.d.ts +0 -6
  80. package/dist/cjs/types/lib/notes-card-text/NotesCardText.d.ts +0 -6
  81. package/dist/cjs/types/lib/notes-card-text/NotesCardText.style.d.ts +0 -1
  82. package/dist/cjs/types/lib/notes-card-text/index.d.ts +0 -1
  83. package/dist/cjs/types/lib/notes-editor/NotesEditor.d.ts +0 -5
  84. package/dist/cjs/types/lib/notes-editor/NotesEditor.styled.d.ts +0 -2
  85. package/dist/cjs/types/lib/scroll-tabs/ScrollTabs.d.ts +0 -7
  86. package/dist/cjs/types/lib/scroll-tabs/ScrollTabs.style.d.ts +0 -3
  87. package/dist/cjs/types/lib/tab-bar/TabBar.d.ts +0 -6
  88. package/dist/cjs/types/lib/tab-bar/TabBar.style.d.ts +0 -5
  89. package/dist/cjs/types/lib/therapist-card/TherapistCard.d.ts +0 -13
  90. package/dist/cjs/types/lib/therapist-card/TherapistCard.style.d.ts +0 -5
  91. package/dist/cjs/types/lib/therapist-information-component/TherapistInformationComponent.d.ts +0 -10
  92. package/dist/cjs/types/lib/therapist-information-component/TherapistInformationComponent.style.d.ts +0 -2
  93. package/dist/cjs/types/lib/toast/toast.d.ts +0 -5
  94. package/dist/cjs/types/lib/userAppTypes.d.ts +0 -239
  95. package/dist/cjs/types/lib/your-local-time-block/YourLocalTimeBlock.d.ts +0 -6
  96. package/dist/cjs/types/lib/your-local-time-block/YourLocalTimeBlock.styled.d.ts +0 -2
  97. package/dist/esm/b7649e1531c181af.svg +0 -69
  98. package/dist/esm/index.js +0 -181
  99. package/dist/esm/index.js.map +0 -1
  100. package/dist/esm/types/index.d.ts +0 -59
  101. package/dist/esm/types/lib/AppHeader/AppHeader.d.ts +0 -6
  102. package/dist/esm/types/lib/AppHeader/AppHeader.style.d.ts +0 -7
  103. package/dist/esm/types/lib/AppHeader/index.d.ts +0 -1
  104. package/dist/esm/types/lib/Avatar/Avatar.d.ts +0 -9
  105. package/dist/esm/types/lib/Avatar/Avatar.style.d.ts +0 -5
  106. package/dist/esm/types/lib/Avatar/index.d.ts +0 -1
  107. package/dist/esm/types/lib/Container/Container.d.ts +0 -3
  108. package/dist/esm/types/lib/Container/Container.styled.d.ts +0 -5
  109. package/dist/esm/types/lib/Container/index.d.ts +0 -1
  110. package/dist/esm/types/lib/EntryNotFound/EntryNotFound.d.ts +0 -5
  111. package/dist/esm/types/lib/EntryNotFound/EntryNotFound.style.d.ts +0 -2
  112. package/dist/esm/types/lib/EntryNotFound/index.d.ts +0 -1
  113. package/dist/esm/types/lib/Filters/ListSelect/ListSelect.d.ts +0 -13
  114. package/dist/esm/types/lib/Filters/ListSelect/ListSelect.style.d.ts +0 -9
  115. package/dist/esm/types/lib/Filters/ListSelect/index.d.ts +0 -1
  116. package/dist/esm/types/lib/Filters/Range/Range.d.ts +0 -14
  117. package/dist/esm/types/lib/Filters/Range/Range.style.d.ts +0 -3
  118. package/dist/esm/types/lib/Filters/Range/index.d.ts +0 -1
  119. package/dist/esm/types/lib/Filters/RowSelect/RowSelect.d.ts +0 -13
  120. package/dist/esm/types/lib/Filters/RowSelect/RowSelect.style.d.ts +0 -7
  121. package/dist/esm/types/lib/Filters/RowSelect/index.d.ts +0 -1
  122. package/dist/esm/types/lib/Filters/Toggle/Toggle.d.ts +0 -8
  123. package/dist/esm/types/lib/Filters/Toggle/Toggle.style.d.ts +0 -2
  124. package/dist/esm/types/lib/Filters/Toggle/index.d.ts +0 -1
  125. package/dist/esm/types/lib/HorisontalCalendar/HorizontalCalendar.d.ts +0 -40
  126. package/dist/esm/types/lib/HorisontalCalendar/HorizontalCalendar.styled.d.ts +0 -2
  127. package/dist/esm/types/lib/HorisontalCalendar/index.d.ts +0 -1
  128. package/dist/esm/types/lib/ImageWithFallback/ImageWithFallback.d.ts +0 -6
  129. package/dist/esm/types/lib/LetterAvatar/LetterAvatar.d.ts +0 -9
  130. package/dist/esm/types/lib/LetterAvatar/LetterAvatar.styled.d.ts +0 -5
  131. package/dist/esm/types/lib/Modal/Modal.d.ts +0 -8
  132. package/dist/esm/types/lib/Modal/Modal.style.d.ts +0 -6
  133. package/dist/esm/types/lib/Modal/index.d.ts +0 -1
  134. package/dist/esm/types/lib/ModalCalendar/ModalCalendar.d.ts +0 -10
  135. package/dist/esm/types/lib/ModalCalendar/ModalCalendar.styled.d.ts +0 -12
  136. package/dist/esm/types/lib/PersonDateTimeCard/PersonDateTimeCard.d.ts +0 -8
  137. package/dist/esm/types/lib/PersonDateTimeCard/PersonDateTimeCard.styled.d.ts +0 -2
  138. package/dist/esm/types/lib/Segment/Segment.d.ts +0 -9
  139. package/dist/esm/types/lib/Segment/Segment.style.d.ts +0 -3
  140. package/dist/esm/types/lib/Segment/index.d.ts +0 -2
  141. package/dist/esm/types/lib/Segment/types.d.ts +0 -4
  142. package/dist/esm/types/lib/SelectImpressionEmoji/ImpressionEmojiEnum.d.ts +0 -8
  143. package/dist/esm/types/lib/SelectImpressionEmoji/SelectImpressionEmoji.d.ts +0 -4
  144. package/dist/esm/types/lib/SelectImpressionEmoji/SelectImpressionEmoji.styled.d.ts +0 -2
  145. package/dist/esm/types/lib/SelectImpressionEmoji/SelectImpressionEmojiProps.d.ts +0 -6
  146. package/dist/esm/types/lib/SelectImpressionEmoji/emojis.d.ts +0 -5
  147. package/dist/esm/types/lib/SelectImpressionEmoji/index.d.ts +0 -4
  148. package/dist/esm/types/lib/Theme/mindly_constants.d.ts +0 -22
  149. package/dist/esm/types/lib/UsersPsychologistScrollList/UserPsychologistScrollList.styled.d.ts +0 -6
  150. package/dist/esm/types/lib/UsersPsychologistScrollList/UsersPsychologistScrollList.d.ts +0 -10
  151. package/dist/esm/types/lib/archived-consultation-card/ArchivedConsultationCard.d.ts +0 -14
  152. package/dist/esm/types/lib/archived-consultation-card/ArchivedConsultationCard.style.d.ts +0 -3
  153. package/dist/esm/types/lib/button/Button.d.ts +0 -9
  154. package/dist/esm/types/lib/button/Button.style.d.ts +0 -6
  155. package/dist/esm/types/lib/consultation-card/ConsultationCard.d.ts +0 -31
  156. package/dist/esm/types/lib/consultation-card/ConsultationCard.style.d.ts +0 -7
  157. package/dist/esm/types/lib/consultation-card/ConsultationCardSkeleton.d.ts +0 -2
  158. package/dist/esm/types/lib/consultation-card/index.d.ts +0 -2
  159. package/dist/esm/types/lib/content-card/ContentCard.d.ts +0 -15
  160. package/dist/esm/types/lib/content-card/ContentCard.style.d.ts +0 -11
  161. package/dist/esm/types/lib/date-picker/DatePicker.d.ts +0 -13
  162. package/dist/esm/types/lib/date-picker/DatePicker.style.d.ts +0 -6
  163. package/dist/esm/types/lib/floating-button/FloatingButton.d.ts +0 -8
  164. package/dist/esm/types/lib/floating-button/FloatingButton.style.d.ts +0 -6
  165. package/dist/esm/types/lib/footer-for-booking/FooterForBooking.d.ts +0 -10
  166. package/dist/esm/types/lib/footer-for-booking/FooterForBooking.style.d.ts +0 -7
  167. package/dist/esm/types/lib/input/Input.d.ts +0 -13
  168. package/dist/esm/types/lib/input/Input.style.d.ts +0 -7
  169. package/dist/esm/types/lib/list-button/ListButton.d.ts +0 -9
  170. package/dist/esm/types/lib/list-button/ListButton.style.d.ts +0 -2
  171. package/dist/esm/types/lib/navigation-bar/NavigationBar.d.ts +0 -8
  172. package/dist/esm/types/lib/navigation-bar/NavigationBar.style.d.ts +0 -8
  173. package/dist/esm/types/lib/no-internet-connection/NoInternetConnection.d.ts +0 -7
  174. package/dist/esm/types/lib/no-internet-connection/NoInternetConnection.style.d.ts +0 -6
  175. package/dist/esm/types/lib/notes-card-text/NotesCardText.d.ts +0 -6
  176. package/dist/esm/types/lib/notes-card-text/NotesCardText.style.d.ts +0 -1
  177. package/dist/esm/types/lib/notes-card-text/index.d.ts +0 -1
  178. package/dist/esm/types/lib/notes-editor/NotesEditor.d.ts +0 -5
  179. package/dist/esm/types/lib/notes-editor/NotesEditor.styled.d.ts +0 -2
  180. package/dist/esm/types/lib/scroll-tabs/ScrollTabs.d.ts +0 -7
  181. package/dist/esm/types/lib/scroll-tabs/ScrollTabs.style.d.ts +0 -3
  182. package/dist/esm/types/lib/tab-bar/TabBar.d.ts +0 -6
  183. package/dist/esm/types/lib/tab-bar/TabBar.style.d.ts +0 -5
  184. package/dist/esm/types/lib/therapist-card/TherapistCard.d.ts +0 -13
  185. package/dist/esm/types/lib/therapist-card/TherapistCard.style.d.ts +0 -5
  186. package/dist/esm/types/lib/therapist-information-component/TherapistInformationComponent.d.ts +0 -10
  187. package/dist/esm/types/lib/therapist-information-component/TherapistInformationComponent.style.d.ts +0 -2
  188. package/dist/esm/types/lib/toast/toast.d.ts +0 -5
  189. package/dist/esm/types/lib/userAppTypes.d.ts +0 -239
  190. package/dist/esm/types/lib/your-local-time-block/YourLocalTimeBlock.d.ts +0 -6
  191. package/dist/esm/types/lib/your-local-time-block/YourLocalTimeBlock.styled.d.ts +0 -2
  192. package/dist/index.d.ts +0 -644
package/dist/index.d.ts DELETED
@@ -1,644 +0,0 @@
1
- /// <reference types="react" />
2
- import React, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, ReactText, FC } from 'react';
3
- import { JSX as JSX$1 } from '@ionic/core/components';
4
-
5
- interface ButtonProps {
6
- buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
7
- isDisabled: boolean;
8
- children: React.ReactNode;
9
- onClick?: (props?: React.SyntheticEvent) => void;
10
- ['data-testid']?: string;
11
- }
12
- declare const Button: React.FC<ButtonProps>;
13
-
14
- interface FloatingButtonType {
15
- bottomHeight: number;
16
- rightWidth: number;
17
- ['data-testid']?: string;
18
- }
19
- declare const FloatingButton: React.FC<FloatingButtonType>;
20
-
21
- interface FooterForBookingProps {
22
- eventHandler: (props?: React.SyntheticEvent) => void;
23
- duration: number;
24
- price: string;
25
- isIos: boolean;
26
- ['data-testid']?: string;
27
- }
28
- declare const FooterForBooking: React.FC<FooterForBookingProps>;
29
-
30
- interface ListButtonProps {
31
- children: React.ReactNode;
32
- icon: string;
33
- onClick: (props?: React.SyntheticEvent) => void;
34
- ['data-testid']?: string;
35
- }
36
- declare const ListButton: React.FC<ListButtonProps>;
37
-
38
- interface NavigationBarProps {
39
- isInternetConnected: boolean;
40
- children?: ReactNode;
41
- isIos: boolean;
42
- }
43
- declare const NavigationBar: React.FC<NavigationBarProps>;
44
-
45
- interface ContentCardProps {
46
- contentVideo?: {
47
- title: string;
48
- url: string;
49
- };
50
- contentArticle?: {
51
- link: string;
52
- photoURL: string;
53
- title: string;
54
- };
55
- ['data-testid']?: string;
56
- }
57
- declare const ContentCard: React.FC<ContentCardProps>;
58
-
59
- interface TherapistCardProps {
60
- psychologistName: string;
61
- psychologistLastName: string;
62
- psychologistType: string;
63
- psychologistPhoto: string;
64
- psychologistPrice: number;
65
- psychologistDuration: number;
66
- psychologistExperience: number;
67
- handleClick: (props?: React.SyntheticEvent) => void;
68
- ['data-testid']?: string;
69
- }
70
- declare const TherapistCard: React.FC<TherapistCardProps>;
71
-
72
- /**
73
- * Toast that work line an API, we can call it anywhere, need message text and duration(default 3 seconds)
74
- */
75
- declare const toast: (message: string, duration?: number) => Promise<void>;
76
-
77
- interface ArchivedConsultationCardProps {
78
- nameAndSurname: string;
79
- date: string;
80
- avatar: string;
81
- isFree?: boolean;
82
- /**
83
- * Consultation price
84
- */
85
- price: string;
86
- ['data-testid']?: string;
87
- }
88
- declare const ArchivedConsultationCard: React.FC<ArchivedConsultationCardProps>;
89
-
90
- interface DatePickerProps {
91
- type: 'date' | 'weekday';
92
- weekday?: string;
93
- day?: string;
94
- date?: string;
95
- month?: string;
96
- isActive: boolean;
97
- onClick: (props?: React.SyntheticEvent) => void;
98
- ['data-testid']?: string;
99
- }
100
- declare const DatePicker: React.FC<DatePickerProps>;
101
-
102
- interface NoInternetConnectionProps {
103
- isInternetConnected: boolean;
104
- isIos: boolean;
105
- }
106
- declare const NoInternetConnection: React.FC<NoInternetConnectionProps>;
107
-
108
- interface TherapistInformationComponentProps {
109
- avatar: string;
110
- experience: string;
111
- duration: string;
112
- price: string;
113
- ['data-testid']?: string;
114
- }
115
- declare const TherapistInformationComponent: React.FC<TherapistInformationComponentProps>;
116
-
117
- interface InputProps {
118
- isActive: boolean;
119
- name: string;
120
- type: 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'time' | 'week' | 'month' | 'datetime-local';
121
- placeholder: string;
122
- value: string;
123
- ['data-testid']?: string;
124
- onIonChange: (e: CustomEvent) => void;
125
- icon: string;
126
- }
127
- declare const Input: React.FC<InputProps>;
128
-
129
- interface ScrollTabsProps {
130
- setActiveTab: (e?: string) => void;
131
- value: 'profile' | 'video' | 'articles';
132
- }
133
- declare const ScrollTabs: React.FC<ScrollTabsProps>;
134
-
135
- interface TabBarProps {
136
- children: ReactNode;
137
- isIos: boolean;
138
- }
139
- declare const TabBar: React.FC<TabBarProps>;
140
-
141
- interface YourLocalTimeBlockProps {
142
- text?: string;
143
- }
144
- declare const YourLocalTimeBlock: React.FC<YourLocalTimeBlockProps>;
145
-
146
- declare type ModalCalendarProps = {
147
- onDaySelected: (day: Date) => void;
148
- consultationDays: Date[];
149
- smileDays?: Date[];
150
- noteDays?: Date[];
151
- selectedDate?: Date;
152
- };
153
- declare const ModalCalendar: React.FC<ModalCalendarProps>;
154
-
155
- declare type HorizontalCalendarProps = {
156
- consultationDatesSeconds?: number[];
157
- myNotesDatesSeconds?: number[];
158
- toMeNotesDatesSeconds?: number[];
159
- /**
160
- * Days to be rendered. e.g. 15 - means 7 before today and 7 after today
161
- */
162
- daysToRender?: number;
163
- value?: DayToRender | Date;
164
- onChange?: (value: DayToRender) => void;
165
- /**
166
- * date from which a component should start coordinates.
167
- * e.g. startFrom = "15.01.2022", daysToRender=5
168
- * return ["13.02.2022", "14.01.2022", "15.01.2022", "16.01.2022", "17.01.2022"]
169
- *
170
- */
171
- startFrom?: Date;
172
- showSkeleton?: boolean;
173
- };
174
- declare enum DayOfWeek {
175
- SUN = "\u041D\u0434",
176
- MON = "\u041F\u043D",
177
- TUE = "\u0412\u0442",
178
- WED = "\u0421\u0440",
179
- THU = "\u0427\u0442",
180
- FRI = "\u041F\u0442",
181
- SAT = "\u0421\u0431"
182
- }
183
- declare type DayToRender = {
184
- /**
185
- * e.g. "2.2.122", "24.4.122"
186
- */
187
- shortDate: string;
188
- dayOfMonth: number;
189
- dayOfWeek: DayOfWeek;
190
- date: Date;
191
- };
192
- declare const HorizontalCalendar: React.FC<HorizontalCalendarProps>;
193
-
194
- declare enum ImpressionEmojiEnum {
195
- DEPRESSED = -2,
196
- SAD = -1,
197
- NEUTRAL = 0,
198
- HAPPY = 1,
199
- LOVELY = 2
200
- }
201
-
202
- declare type SelectImpressionEmojiProps = {
203
- value?: ImpressionEmojiEnum;
204
- onChange?: (val: ImpressionEmojiEnum) => void;
205
- };
206
-
207
- declare const _default$2: React.NamedExoticComponent<SelectImpressionEmojiProps>;
208
-
209
- declare type LetterAvatarProps = {
210
- letter: string;
211
- dimensions?: number;
212
- className?: string;
213
- style?: CSSProperties;
214
- };
215
- declare const _default$1: React.NamedExoticComponent<LetterAvatarProps>;
216
-
217
- declare type ImageWithFallbackProps = JSX.IntrinsicElements["img"] & ({
218
- onErrorContent: React.ReactElement;
219
- });
220
- declare const ImageWithFallback: React.FC<ImageWithFallbackProps>;
221
-
222
- declare type PersonDateTimeCardProps = {
223
- photoSrc?: string;
224
- name: string;
225
- dateTime: Date;
226
- };
227
- declare const _default: React.NamedExoticComponent<PersonDateTimeCardProps>;
228
-
229
- interface IPromotionalCode {
230
- /**
231
- * The percentage value that specifies the size of the discount
232
- * @example 25
233
- */
234
- percent_off: number;
235
- /**
236
- * Price after applying promocode
237
- */
238
- price_uah: string;
239
- }
240
- declare enum PaidTypes {
241
- paid_100 = "paid_100",
242
- paid_0 = "paid_0"
243
- }
244
- declare type PsychologistProfileType = {
245
- id: string;
246
- psychologist_id?: string;
247
- articles: Array<{
248
- subtheme: string;
249
- content: Array<{
250
- photoURL: string;
251
- title: string;
252
- link: string;
253
- }>;
254
- }>;
255
- education: string;
256
- experience: string;
257
- goal: string;
258
- not_work_with: Array<string>;
259
- short_description: string;
260
- specialization: string;
261
- video: Array<{
262
- subtheme: string;
263
- content: Array<{
264
- title: string;
265
- url: string;
266
- }>;
267
- }>;
268
- work_with: Array<string>;
269
- };
270
- declare type PsycologistCalendarType = {
271
- id: string;
272
- psychologist_id: string;
273
- schedule: Array<{
274
- slot_id: string;
275
- }>;
276
- };
277
- declare type WeeklyAvailabilitiesItem = {
278
- reason: 'busy' | 'opened' | 'booked';
279
- isAvailable: boolean;
280
- time: string;
281
- };
282
- declare type PsychologistDevicesProfileType = {
283
- tokens?: {
284
- fcmtokens?: string[];
285
- };
286
- };
287
- declare type PsychologistType = {
288
- id: string;
289
- consultation_with: string;
290
- duration: number;
291
- email: string;
292
- first_name: string;
293
- last_name: string;
294
- price: number;
295
- focus: string;
296
- photo: string;
297
- avatar: string;
298
- experience: number;
299
- time_zone: string;
300
- calendar: PsycologistCalendarType;
301
- devices?: PsychologistDevicesProfileType;
302
- profile: PsychologistProfileType;
303
- isTestUser: boolean;
304
- psychologistSex?: 'female' | 'male';
305
- };
306
- declare type ConsultationType = {
307
- id: string;
308
- consultation_time: {
309
- _seconds: number;
310
- nanoseconds: number;
311
- };
312
- consultation_with: string;
313
- duration: number;
314
- exchange_rate: string;
315
- payment_date: {
316
- _seconds: number;
317
- nanoseconds: number;
318
- };
319
- payment_type?: string;
320
- price: number;
321
- price_uah: number;
322
- psychologist_avatar: string;
323
- psychologist_id: string;
324
- psychologist_name: string;
325
- psychologist_timezone: string;
326
- user_avatar: string;
327
- user_id: string;
328
- user_name: string;
329
- user_timezone: string;
330
- videochat_url: string;
331
- was_rescheduled: boolean;
332
- session_status?: 'client_showed' | 'client_not_showed';
333
- consultation_time_before_rescheduling?: {
334
- _seconds: number;
335
- nanoseconds: number;
336
- };
337
- applied_promotional_code?: string | null;
338
- auto_booking_status?: 'enable' | 'disable';
339
- };
340
- declare type ConsultationWatcherType = {
341
- user_id: string;
342
- payment_date: {
343
- seconds: number;
344
- nanoseconds: number;
345
- };
346
- };
347
- declare type HasPaidConsultationsWithType = {
348
- therapistID?: string;
349
- currentPrice?: string;
350
- };
351
- declare type UserType = {
352
- id?: string | undefined;
353
- avatar?: Array<{
354
- url: string;
355
- }>;
356
- display_name: string;
357
- last_name?: string;
358
- displayName?: string;
359
- email: string;
360
- phone_number: string;
361
- phoneNumber?: string;
362
- surveyAnswers?: QuestionType[];
363
- user_psychologists?: Array<string> | string;
364
- isTestUser: boolean;
365
- /**
366
- * @deprecated
367
- */
368
- client_from_country?: string;
369
- financial_support_approved?: boolean;
370
- hasPaidConsultationsWith?: Array<HasPaidConsultationsWithType>;
371
- };
372
- declare type QuestionType = {
373
- answers: string[];
374
- photoURL: string;
375
- question: string;
376
- subquestion: string;
377
- };
378
- declare type AnswerType = {
379
- id: number;
380
- question: string;
381
- answer: string;
382
- };
383
- declare type SurveyType = {
384
- questions: QuestionType[];
385
- };
386
- declare type InputState = {
387
- value: string;
388
- active: boolean;
389
- };
390
- declare type ChangeUserDataObject = {
391
- display_name: string;
392
- last_name: string;
393
- phone_number: string;
394
- };
395
- declare type GoogleForgotPasswordAnswer = {
396
- apiKey: string;
397
- lang: string;
398
- mode: string;
399
- oobCode: string;
400
- };
401
- interface Customer {
402
- /**
403
- * Unique identifier for the object.
404
- */
405
- id: string;
406
- /**
407
- * String representing the object's type. Objects of the same type share the same value.
408
- */
409
- object: 'customer';
410
- /**
411
- * Current balance, if any, being stored on the customer. If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that will be added to their next invoice. The balance does not refer to any unpaid invoices; it solely takes into account amounts that have yet to be successfully applied to any invoice. This balance is only taken into account as invoices are finalized.
412
- */
413
- balance: number;
414
- /**
415
- * Time at which the object was created. Measured in seconds since the Unix epoch.
416
- */
417
- created: number;
418
- /**
419
- * Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) the customer can be charged in for recurring billing purposes.
420
- */
421
- currency: string | null;
422
- deleted?: void;
423
- /**
424
- * When the customer's latest invoice is billed by charging automatically, `delinquent` is `true` if the invoice's latest charge failed. When the customer's latest invoice is billed by sending an invoice, `delinquent` is `true` if the invoice isn't paid by its due date.
425
- *
426
- * If an invoice is marked uncollectible by [dunning](https://stripe.com/docs/billing/automatic-collection), `delinquent` doesn't get reset to `false`.
427
- */
428
- delinquent: boolean | null;
429
- /**
430
- * An arbitrary string attached to the object. Often useful for displaying to users.
431
- */
432
- description: string | null;
433
- /**
434
- * The customer's email address.
435
- */
436
- email: string | null;
437
- /**
438
- * The prefix for the customer used to generate unique invoice numbers.
439
- */
440
- invoice_prefix: string | null;
441
- invoice_settings: {
442
- /**
443
- * ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices.
444
- */
445
- default_payment_method?: string;
446
- };
447
- /**
448
- * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
449
- */
450
- livemode: boolean;
451
- /**
452
- * The customer's full name or business name.
453
- */
454
- name: string | null;
455
- /**
456
- * The suffix of the customer's next invoice number, e.g., 0001.
457
- */
458
- next_invoice_sequence?: number;
459
- /**
460
- * The customer's phone number.
461
- */
462
- phone: string | null;
463
- /**
464
- * The customer's preferred locales (languages), ordered by preference.
465
- */
466
- preferred_locales: Array<string> | null;
467
- }
468
-
469
- type userAppTypes_d_IPromotionalCode = IPromotionalCode;
470
- type userAppTypes_d_PaidTypes = PaidTypes;
471
- declare const userAppTypes_d_PaidTypes: typeof PaidTypes;
472
- type userAppTypes_d_PsychologistProfileType = PsychologistProfileType;
473
- type userAppTypes_d_PsycologistCalendarType = PsycologistCalendarType;
474
- type userAppTypes_d_WeeklyAvailabilitiesItem = WeeklyAvailabilitiesItem;
475
- type userAppTypes_d_PsychologistDevicesProfileType = PsychologistDevicesProfileType;
476
- type userAppTypes_d_PsychologistType = PsychologistType;
477
- type userAppTypes_d_ConsultationType = ConsultationType;
478
- type userAppTypes_d_ConsultationWatcherType = ConsultationWatcherType;
479
- type userAppTypes_d_HasPaidConsultationsWithType = HasPaidConsultationsWithType;
480
- type userAppTypes_d_UserType = UserType;
481
- type userAppTypes_d_QuestionType = QuestionType;
482
- type userAppTypes_d_AnswerType = AnswerType;
483
- type userAppTypes_d_SurveyType = SurveyType;
484
- type userAppTypes_d_InputState = InputState;
485
- type userAppTypes_d_ChangeUserDataObject = ChangeUserDataObject;
486
- type userAppTypes_d_GoogleForgotPasswordAnswer = GoogleForgotPasswordAnswer;
487
- type userAppTypes_d_Customer = Customer;
488
- declare namespace userAppTypes_d {
489
- export {
490
- userAppTypes_d_IPromotionalCode as IPromotionalCode,
491
- userAppTypes_d_PaidTypes as PaidTypes,
492
- userAppTypes_d_PsychologistProfileType as PsychologistProfileType,
493
- userAppTypes_d_PsycologistCalendarType as PsycologistCalendarType,
494
- userAppTypes_d_WeeklyAvailabilitiesItem as WeeklyAvailabilitiesItem,
495
- userAppTypes_d_PsychologistDevicesProfileType as PsychologistDevicesProfileType,
496
- userAppTypes_d_PsychologistType as PsychologistType,
497
- userAppTypes_d_ConsultationType as ConsultationType,
498
- userAppTypes_d_ConsultationWatcherType as ConsultationWatcherType,
499
- userAppTypes_d_HasPaidConsultationsWithType as HasPaidConsultationsWithType,
500
- userAppTypes_d_UserType as UserType,
501
- userAppTypes_d_QuestionType as QuestionType,
502
- userAppTypes_d_AnswerType as AnswerType,
503
- userAppTypes_d_SurveyType as SurveyType,
504
- userAppTypes_d_InputState as InputState,
505
- userAppTypes_d_ChangeUserDataObject as ChangeUserDataObject,
506
- userAppTypes_d_GoogleForgotPasswordAnswer as GoogleForgotPasswordAnswer,
507
- userAppTypes_d_Customer as Customer,
508
- };
509
- }
510
-
511
- declare type UsersPsychologistScrollListPropsType = {
512
- psychologistClickHandler: React.Dispatch<React.SetStateAction<{
513
- isShow: boolean;
514
- psychologist_id: string;
515
- }>>;
516
- usersPsychologists: Array<PsychologistType> | null;
517
- };
518
- declare const UsersPsychologistScrollList: ({ psychologistClickHandler, usersPsychologists, }: UsersPsychologistScrollListPropsType) => JSX.Element | null;
519
-
520
- declare type NotesEditorProps = JSX$1.IonTextarea & HTMLAttributes<HTMLIonTextareaElement> & RefAttributes<HTMLIonTextareaElement>;
521
- declare const NotesEditor: React.ForwardRefExoticComponent<Pick<NotesEditorProps, "slot" | "style" | "title" | "name" | "key" | "disabled" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "mode" | "autocapitalize" | "autofocus" | "clearOnEdit" | "debounce" | "enterkeyhint" | "inputmode" | "maxlength" | "minlength" | "onIonBlur" | "onIonChange" | "onIonFocus" | "onIonInput" | "readonly" | "required" | "spellcheck" | "wrap" | "autoGrow" | "cols" | "rows"> & React.RefAttributes<HTMLIonTextareaElement>>;
522
-
523
- declare type NotesCardTextProps = {
524
- text: string;
525
- };
526
- declare const NotesCardText: React.FC<NotesCardTextProps>;
527
-
528
- declare type ListItemType = {
529
- id: ReactText;
530
- label: string;
531
- };
532
- declare type ListSelectProps = {
533
- title: string;
534
- listItems: ListItemType[];
535
- selected?: ReactText;
536
- onChange: (item: ListItemType) => void;
537
- };
538
- declare const ListSelect: FC<ListSelectProps>;
539
-
540
- declare type RangeValue = {
541
- lower: number;
542
- upper: number;
543
- };
544
- declare type RangeProps = {
545
- title: string;
546
- rangeTitleValues?: string;
547
- initialValue: RangeValue;
548
- onChange?: (value: RangeValue) => void;
549
- onKnobMoveEnd?: (value: RangeValue) => void;
550
- };
551
- declare const Range: FC<RangeProps>;
552
-
553
- declare type RowItemType = {
554
- id: ReactText;
555
- label: string;
556
- };
557
- declare type RowSelectProps = {
558
- title: string;
559
- rowItems: RowItemType[];
560
- selected?: ReactText;
561
- onChange: (value: RowItemType) => void;
562
- };
563
- declare const RowSelect: FC<RowSelectProps>;
564
-
565
- declare type ToggleProps = {
566
- title: string;
567
- checked?: boolean;
568
- onChange: (checked: boolean) => void;
569
- };
570
- declare const Toggle: FC<ToggleProps>;
571
-
572
- declare type EntryNotFoundProps = {
573
- title?: string;
574
- };
575
- declare const EntryNotFound: FC<EntryNotFoundProps>;
576
-
577
- declare enum DayOfWeeks {
578
- 'Понеділок' = 1,
579
- 'Вівторок' = 2,
580
- 'Середа' = 3,
581
- 'Четверг' = 4,
582
- "П'ятниця" = 5,
583
- 'Субота' = 6,
584
- 'Неділя' = 7
585
- }
586
- declare type DateTimeType = {
587
- _nanoseconds: number;
588
- _seconds: number;
589
- };
590
- interface ConsultationCardProps {
591
- startConsultation: (props?: React.SyntheticEvent) => void;
592
- handleReschedule: (props?: React.SyntheticEvent) => void;
593
- handleRefund: (props?: React.SyntheticEvent) => void;
594
- handleNotes?: (props?: React.SyntheticEvent) => void;
595
- consultationWith: string;
596
- consultationTime: DateTimeType;
597
- userTimeZone: string;
598
- avatar: string;
599
- autorecord?: boolean;
600
- ['data-container-testid']?: string;
601
- ['data-start-testid']?: string;
602
- ['data-reschedule-testid']?: string;
603
- ['data-refund-testid']?: string;
604
- }
605
- declare const ConsultationCard: React.FC<ConsultationCardProps>;
606
-
607
- declare const ConsultationCardSkeleton: () => JSX.Element;
608
-
609
- declare type AvatarProps = {
610
- dimensions?: number;
611
- src?: string;
612
- firstName?: string;
613
- style?: CSSProperties;
614
- className?: string;
615
- };
616
- declare const Avatar: FC<AvatarProps>;
617
-
618
- declare type AppHeaderProps = {
619
- fullwidth?: boolean;
620
- };
621
- declare const AppHeader: FC<AppHeaderProps>;
622
-
623
- declare const Container: FC;
624
-
625
- declare type SegmentType = {
626
- id: string;
627
- label: string;
628
- };
629
-
630
- declare type SegmentProps = {
631
- segments: SegmentType[];
632
- selected?: string;
633
- onChange?: (id: string) => void;
634
- };
635
- declare const Segment: FC<SegmentProps>;
636
-
637
- interface ModalProps {
638
- fullwidth?: boolean;
639
- isOpen: boolean;
640
- onDidDismiss: () => void;
641
- }
642
- declare const Modal: FC<ModalProps>;
643
-
644
- export { AppHeader, ArchivedConsultationCard, Avatar, AvatarProps, Button, ConsultationCard, ConsultationCardProps, ConsultationCardSkeleton, Container, ContentCard, DatePicker, DateTimeType, DayOfWeeks, DayToRender, EntryNotFound, EntryNotFoundProps, FloatingButton, FooterForBooking, HorizontalCalendar, ImageWithFallback, ImageWithFallbackProps, ImpressionEmojiEnum, Input, _default$1 as LetterAvatar, LetterAvatarProps, ListButton, ListItemType, ListSelect, Modal, ModalCalendar, NavigationBar, NoInternetConnection, NotesCardText, NotesCardTextProps, NotesEditor, _default as PersonDateTimeCard, Range, RangeValue, RowItemType, RowSelect, ScrollTabs, Segment, SegmentType, _default$2 as SelectImpressionEmoji, SelectImpressionEmojiProps, TabBar, TherapistCard, TherapistInformationComponent, Toggle, userAppTypes_d as UserAppTypes, UsersPsychologistScrollList, UsersPsychologistScrollListPropsType, YourLocalTimeBlock, toast };