@tripian/react 5.0.33 → 6.0.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.
Files changed (159) hide show
  1. package/components/DateRangePicker/DateRangePicker.d.ts +2 -0
  2. package/components/FormTemplate/FormTemplateLoginEx/FormTemplateLogin.d.ts +20 -0
  3. package/components/FormTemplate/FormTemplateRegister/FormTemplateRegister.d.ts +1 -0
  4. package/components/FormTemplate/FormTemplateRegisterEx/FormTemplateRegister.d.ts +10 -0
  5. package/components/FormTemplate/FormTemplateResetPassword/FormTemplateResetPassword.d.ts +1 -0
  6. package/components/FormTemplate/FormTemplateTripNext/FormTemplateTripNext.d.ts +26 -0
  7. package/components/FormTemplate/FormTemplateTripNext/StepComponent/QuestionComponent/QuestionComponent.d.ts +11 -0
  8. package/components/FormTemplate/FormTemplateTripNext/StepComponent/StepComponent.d.ts +17 -0
  9. package/components/FormTemplate/FormTemplateTripNext/StepDestination/StepDestination.d.ts +10 -0
  10. package/components/FormTemplate/FormTemplateTripNext/StepStayAndShares/StepStayAndShares.d.ts +16 -0
  11. package/components/FormTemplate/FormTemplateTripNext/model.d.ts +22 -0
  12. package/components/GoogleMaps/GPlacesAutocomplete2/GPlacesAutocomplete2.d.ts +2 -0
  13. package/components/PoiInfo/PoiInfoImage/PoiInfoImage.d.ts +0 -3
  14. package/components/PoiInfo/PoiInfoText/OpenedHours/OpenedHours.d.ts +14 -0
  15. package/components/PoiInfo/PoiInfoText/PoiInfoText.d.ts +8 -0
  16. package/{providers/bb/components/BbAccommodationInfo → components/PoiInfo/PoiInfoText}/PoiInfoTextRow/PoiInfoTextRow.d.ts +1 -1
  17. package/components/PoiInfoEx/PoiInfo.d.ts +31 -0
  18. package/components/PoiInfoEx/PoiInfoImage/PoiInfoImage.d.ts +15 -0
  19. package/components/PoiInfoEx/PoiInfoText/PoiInfoText.d.ts +13 -0
  20. package/components/Price/Price.d.ts +0 -1
  21. package/components/PriceEx/Price.d.ts +7 -0
  22. package/components/QuestionTemplateNext/Context/QuestionContext.d.ts +8 -0
  23. package/components/QuestionTemplateNext/Context/QuestionContext2.d.ts +8 -0
  24. package/components/QuestionTemplateNext/Question/CheckBoxQuestion/CheckboxQuestion.d.ts +10 -0
  25. package/components/QuestionTemplateNext/Question/Question.d.ts +8 -0
  26. package/components/QuestionTemplateNext/Question/Question2.d.ts +7 -0
  27. package/components/QuestionTemplateNext/Question/RadioButtonQuestion/RadioButtonQuestion.d.ts +10 -0
  28. package/components/QuestionTemplateNext/Question/RadioButtonQuestion/RadioButtonQuestion2.d.ts +11 -0
  29. package/components/QuestionTemplateNext/Question/RadioButtonQuestion copy/RadioButtonQuestion2.d.ts +11 -0
  30. package/components/QuestionTemplateNext/Question/SelectQuestion/SelectQuestion.d.ts +10 -0
  31. package/components/QuestionTemplateNext/QuestionTemplate.d.ts +11 -0
  32. package/components/QuestionTemplateNext/QuestionTemplate2.d.ts +11 -0
  33. package/components/ResetPasswordApproved/ResetPasswordApproved.d.ts +6 -0
  34. package/components/ResetPasswordEmail/ResetPasswordEmail.d.ts +7 -0
  35. package/components/SocialLoginEx/SocialLogin.d.ts +9 -0
  36. package/components/UserCompanionSelection/UserCompanionSelection.d.ts +2 -0
  37. package/components/base/Button/Button.d.ts +3 -1
  38. package/components/base/Button/Icons/ArrowLeftButton/ArrowLeftButton.d.ts +7 -0
  39. package/components/base/Button/Icons/BackButton/BackButton.d.ts +8 -0
  40. package/components/base/Button/Icons/CloseIconButton2/CloseIconButton2.d.ts +1 -1
  41. package/components/base/Button/Icons/EyeIconButtonEx/EyeIconButton.d.ts +7 -0
  42. package/components/base/Checkbox/Checkbox.d.ts +1 -0
  43. package/components/base/Copy/Copy.d.ts +6 -0
  44. package/components/base/Dropdown/Dropdown.d.ts +3 -1
  45. package/components/base/EllipseIcon/EllipseIcon.d.ts +6 -0
  46. package/components/base/Header/Header.d.ts +6 -0
  47. package/components/base/InfoBox/InfoBox.d.ts +8 -0
  48. package/components/base/Input/Input.d.ts +22 -0
  49. package/components/base/NumberCounterNew/NumberCounter.d.ts +12 -0
  50. package/components/base/RSelect/RSelect.d.ts +2 -0
  51. package/components/base/RadioButtonBoxGroup/RadioButtonBox/RadioButtonBox.d.ts +10 -0
  52. package/components/base/RadioButtonBoxGroup/RadioButtonBoxGroup.d.ts +13 -0
  53. package/components/base/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
  54. package/components/base/ReadMoreLess/ReadMoreLess.d.ts +7 -0
  55. package/components/base/Required/Required.d.ts +6 -0
  56. package/components/base/ShowMoreLess/ShowMoreLess.d.ts +7 -0
  57. package/components/base/Svg/Icons/AppleEx.d.ts +8 -0
  58. package/components/base/Svg/Icons/Approved.d.ts +4 -0
  59. package/components/base/Svg/Icons/ArrowRight.d.ts +4 -0
  60. package/components/base/Svg/Icons/Email.d.ts +4 -0
  61. package/components/base/Svg/Icons/Eye.d.ts +4 -0
  62. package/components/base/Svg/Icons/GoogleEx.d.ts +8 -0
  63. package/components/base/Svg/Icons/Hearth.d.ts +4 -0
  64. package/components/base/Svg/Icons/LandingCalendar.d.ts +8 -0
  65. package/components/base/Svg/Icons/LandingCellPhone.d.ts +8 -0
  66. package/components/base/Svg/Icons/LandingProfile.d.ts +8 -0
  67. package/components/base/Svg/Icons/LandingThumbsUp.d.ts +8 -0
  68. package/components/base/Svg/Icons/Mask.d.ts +4 -0
  69. package/components/base/Svg/Icons/Phone.d.ts +4 -0
  70. package/components/base/Svg/Icons/Price.d.ts +4 -0
  71. package/components/base/Svg/Icons/TapRight.d.ts +4 -0
  72. package/components/base/Svg/Icons/Timer.d.ts +4 -0
  73. package/components/base/Svg/Icons/Web.d.ts +4 -0
  74. package/components/base/Svg/Icons/index.d.ts +5 -1
  75. package/components/baseEx/Accordion/Accordion.d.ts +10 -0
  76. package/components/baseEx/AutoCompleteSearchV1/AutoCompleteSearchV1.d.ts +12 -0
  77. package/components/baseEx/Backdrop/Backdrop.d.ts +7 -0
  78. package/components/baseEx/Button/Button.d.ts +19 -0
  79. package/components/baseEx/Button/ButtonTypes.d.ts +6 -0
  80. package/components/baseEx/Button/Icons/Add.d.ts +3 -0
  81. package/components/baseEx/Button/Icons/Bars.d.ts +3 -0
  82. package/components/baseEx/Button/Icons/Base.d.ts +4 -0
  83. package/components/baseEx/Button/Icons/Bookings.d.ts +3 -0
  84. package/components/baseEx/Button/Icons/Cancel.d.ts +3 -0
  85. package/components/baseEx/Button/Icons/Check.d.ts +3 -0
  86. package/components/{base/Button/Icons/CloseIconButton2 → baseEx/Button/Icons/CloseIconButton}/CloseIconButton.d.ts +2 -2
  87. package/components/baseEx/Button/Icons/Delete.d.ts +3 -0
  88. package/components/baseEx/Button/Icons/Edit.d.ts +3 -0
  89. package/components/baseEx/Button/Icons/EyeIconButton/EyeIconButton.d.ts +7 -0
  90. package/components/baseEx/Button/Icons/FavoriteIconButton/FavoriteIconButton.d.ts +8 -0
  91. package/components/baseEx/Button/Icons/Favorites.d.ts +3 -0
  92. package/components/baseEx/Button/Icons/IButtonIcons.d.ts +14 -0
  93. package/components/baseEx/Button/Icons/List.d.ts +3 -0
  94. package/components/baseEx/Button/Icons/Remove.d.ts +3 -0
  95. package/components/baseEx/Button/Icons/Replace.d.ts +3 -0
  96. package/components/baseEx/Button/Icons/Save.d.ts +3 -0
  97. package/components/baseEx/Button/Icons/Search.d.ts +3 -0
  98. package/components/baseEx/Button/Icons/Uber.d.ts +3 -0
  99. package/components/baseEx/Button/Icons/index.d.ts +18 -0
  100. package/components/baseEx/Checkbox/Checkbox.d.ts +10 -0
  101. package/components/baseEx/CheckboxTree/CheckboxTree.d.ts +13 -0
  102. package/components/baseEx/Dropdown/Dropdown.d.ts +14 -0
  103. package/components/baseEx/IconImage/IconImage.d.ts +6 -0
  104. package/components/baseEx/Img/Img.d.ts +8 -0
  105. package/components/baseEx/ImgLazy/ImgLazy.d.ts +13 -0
  106. package/components/baseEx/ImgLazyBase/ImgLazyBase.d.ts +12 -0
  107. package/components/baseEx/Modal/Modal.d.ts +12 -0
  108. package/components/baseEx/ModalFull/ModalFull.d.ts +10 -0
  109. package/components/baseEx/Notification/Notification.d.ts +12 -0
  110. package/components/baseEx/NumberCounter/NumberCounter.d.ts +9 -0
  111. package/components/baseEx/NumberInput/NumberInput.d.ts +10 -0
  112. package/components/baseEx/PageLoading/PageLoading.d.ts +3 -0
  113. package/components/baseEx/PreLoading/PreLoading.d.ts +8 -0
  114. package/components/baseEx/ProgressAppLoading/ProgressAppLoading.d.ts +5 -0
  115. package/components/baseEx/ProgressLoading/ProgressLoading.d.ts +7 -0
  116. package/components/baseEx/RSelect/RSelect.d.ts +19 -0
  117. package/components/baseEx/RadioButtonGroup/RadioButton/RadioButton.d.ts +10 -0
  118. package/components/baseEx/RadioButtonGroup/RadioButtonGroup.d.ts +12 -0
  119. package/components/baseEx/SideNavigation/SideNavigation.d.ts +15 -0
  120. package/components/baseEx/Svg/Icons/Add.d.ts +4 -0
  121. package/components/baseEx/Svg/Icons/Apple.d.ts +8 -0
  122. package/components/baseEx/Svg/Icons/Bars.d.ts +4 -0
  123. package/components/baseEx/Svg/Icons/Calendar.d.ts +8 -0
  124. package/components/baseEx/Svg/Icons/Car.d.ts +8 -0
  125. package/components/baseEx/Svg/Icons/Checkbox.d.ts +4 -0
  126. package/components/baseEx/Svg/Icons/Clock.d.ts +8 -0
  127. package/components/baseEx/Svg/Icons/Close.d.ts +11 -0
  128. package/components/baseEx/Svg/Icons/Delete.d.ts +4 -0
  129. package/components/baseEx/Svg/Icons/Facebook.d.ts +8 -0
  130. package/components/baseEx/Svg/Icons/Google.d.ts +8 -0
  131. package/components/baseEx/Svg/Icons/IIconSvg.d.ts +6 -0
  132. package/components/baseEx/Svg/Icons/Legs.d.ts +8 -0
  133. package/components/baseEx/Svg/Icons/NextArrow.d.ts +8 -0
  134. package/components/baseEx/Svg/Icons/Offer.d.ts +8 -0
  135. package/components/baseEx/Svg/Icons/PreviousArrow.d.ts +8 -0
  136. package/components/baseEx/Svg/Icons/RadioButton.d.ts +4 -0
  137. package/components/baseEx/Svg/Icons/Reservation.d.ts +8 -0
  138. package/components/baseEx/Svg/Icons/SwitchIcon/SwitchIcon.d.ts +7 -0
  139. package/components/baseEx/Svg/Icons/ThumbsDown.d.ts +8 -0
  140. package/components/baseEx/Svg/Icons/ThumbsDownEmpty.d.ts +9 -0
  141. package/components/baseEx/Svg/Icons/ThumbsUp.d.ts +8 -0
  142. package/components/baseEx/Svg/Icons/ThumbsUpEmpty.d.ts +9 -0
  143. package/components/baseEx/Svg/Icons/Ticket.d.ts +8 -0
  144. package/components/baseEx/Svg/Icons/Tour.d.ts +8 -0
  145. package/components/baseEx/Svg/Icons/Uber.d.ts +8 -0
  146. package/components/baseEx/Svg/Icons/index.d.ts +17 -0
  147. package/components/baseEx/Svg/Svg.d.ts +13 -0
  148. package/components/baseEx/Switch/Switch.d.ts +7 -0
  149. package/components/baseEx/SwitchOld/SwitchOld.d.ts +8 -0
  150. package/components/baseEx/TabMenu/TabMenu.d.ts +11 -0
  151. package/components/baseEx/TextField/TextField.d.ts +20 -0
  152. package/index.d.ts +5 -1
  153. package/index.js +5881 -3857
  154. package/index.js.map +1 -1
  155. package/min.css +1 -1
  156. package/package.json +2 -2
  157. package/img/24cdf52c89c796947ae96dfd61fd4855.png +0 -0
  158. package/img/927df9135db4852c17138946dc7e36d8.png +0 -0
  159. package/img/ab923f844cc549da1bd6dbba32135c67.png +0 -0
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface IRadioButtonBox {
3
+ domId?: string;
4
+ text: string;
5
+ style?: React.CSSProperties;
6
+ checked: boolean;
7
+ onChange: (checked: boolean, value: string) => void;
8
+ }
9
+ declare const RadioButtonBox: React.FC<IRadioButtonBox>;
10
+ export default RadioButtonBox;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface IOptionsIRadioButtonBoxGroup {
3
+ id: number | string;
4
+ text: string;
5
+ }
6
+ interface IRadioButtonBoxGroup {
7
+ options: Array<IOptionsIRadioButtonBoxGroup>;
8
+ defaultSelectedId?: number;
9
+ onChange: (addedId?: number, removedId?: number) => void;
10
+ skippable: boolean;
11
+ }
12
+ declare const RadioButtonBoxGroup: React.FC<IRadioButtonBoxGroup>;
13
+ export default RadioButtonBoxGroup;
@@ -5,8 +5,8 @@ interface IOptionsIRadioButtonGroup {
5
5
  }
6
6
  interface IRadioButtonGroup {
7
7
  options: Array<IOptionsIRadioButtonGroup>;
8
- defaultSelectedId?: number | string;
9
- onChange: (checked: boolean, domId: number) => void;
8
+ defaultSelectedId?: number;
9
+ onChange: (addedId?: number, removedId?: number) => void;
10
10
  skippable: boolean;
11
11
  }
12
12
  declare const RadioButtonGroup: React.FC<IRadioButtonGroup>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface IReadMoreLess {
3
+ desc?: string;
4
+ defaultCharLenght?: number;
5
+ }
6
+ declare const ReadMoreLess: React.FC<IReadMoreLess>;
7
+ export default ReadMoreLess;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare type RequiredProps = {
3
+ customClassName?: string;
4
+ };
5
+ declare const Required: React.FC<RequiredProps>;
6
+ export default Required;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface IShowMoreLess {
3
+ items: string[];
4
+ defaultItemCount: number;
5
+ }
6
+ declare const ShowMoreLess: React.FC<IShowMoreLess>;
7
+ export default ShowMoreLess;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface IApple {
3
+ fill?: string;
4
+ color?: string;
5
+ size?: string;
6
+ }
7
+ declare const Apple: React.FC<IApple>;
8
+ export default Apple;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import IIconSvg from './IIconSvg';
3
+ declare const Approved: React.FC<IIconSvg>;
4
+ export default Approved;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import IIconSvg from './IIconSvg';
3
+ declare const ArrowRight: React.FC<IIconSvg>;
4
+ export default ArrowRight;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import IIconSvg from './IIconSvg';
3
+ declare const Email: React.FC<IIconSvg>;
4
+ export default Email;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import IIconSvg from './IIconSvg';
3
+ declare const Eye: React.FC<IIconSvg>;
4
+ export default Eye;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface IGoogle {
3
+ fill?: string;
4
+ color?: string;
5
+ size?: string;
6
+ }
7
+ declare const Google: React.FC<IGoogle>;
8
+ export default Google;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import IIconSvg from './IIconSvg';
3
+ declare const Hearth: React.FC<IIconSvg>;
4
+ export default Hearth;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface ILandingCalendar {
3
+ fill?: string;
4
+ color?: string;
5
+ size?: string;
6
+ }
7
+ declare const LandingCalendar: React.FC<ILandingCalendar>;
8
+ export default LandingCalendar;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface ILandingCellPhone {
3
+ fill?: string;
4
+ color?: string;
5
+ size?: string;
6
+ }
7
+ declare const LandingCellPhone: React.FC<ILandingCellPhone>;
8
+ export default LandingCellPhone;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface ILandingProfile {
3
+ fill?: string;
4
+ color?: string;
5
+ size?: string;
6
+ }
7
+ declare const LandingProfile: React.FC<ILandingProfile>;
8
+ export default LandingProfile;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface ILandingThumbsUp {
3
+ fill?: string;
4
+ color?: string;
5
+ size?: string;
6
+ }
7
+ declare const LandingThumbsUp: React.FC<ILandingThumbsUp>;
8
+ export default LandingThumbsUp;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import IIconSvg from './IIconSvg';
3
+ declare const Mask: React.FC<IIconSvg>;
4
+ export default Mask;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import IIconSvg from './IIconSvg';
3
+ declare const Phone: React.FC<IIconSvg>;
4
+ export default Phone;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import IIconSvg from './IIconSvg';
3
+ declare const PriceIcon: React.FC<IIconSvg>;
4
+ export default PriceIcon;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import IIconSvg from './IIconSvg';
3
+ declare const TapRight: React.FC<IIconSvg>;
4
+ export default TapRight;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import IIconSvg from './IIconSvg';
3
+ declare const Timer: React.FC<IIconSvg>;
4
+ export default Timer;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import IIconSvg from './IIconSvg';
3
+ declare const Web: React.FC<IIconSvg>;
4
+ export default Web;
@@ -13,6 +13,10 @@ import ThumbsDown from './ThumbsDown';
13
13
  import ThumbsDownEmpty from './ThumbsDownEmpty';
14
14
  import ThumbsUp from './ThumbsUp';
15
15
  import ThumbsUpEmpty from './ThumbsUpEmpty';
16
+ import LandingCalendar from './LandingCalendar';
17
+ import LandingCellPhone from './LandingCellPhone';
18
+ import LandingProfile from './LandingProfile';
19
+ import LandingThumbsUp from './LandingThumbsUp';
16
20
  import Legs from './Legs';
17
21
  import Uber from './Uber';
18
- export { Add, Bars, Bicycle, Calendar, Car, Clock, Close, Delete, NextArrow, PreviousArrow, SwitchIcon, ThumbsUp, ThumbsDown, ThumbsUpEmpty, ThumbsDownEmpty, Legs, Uber };
22
+ export { Add, Bars, Bicycle, Calendar, Car, Clock, Close, Delete, NextArrow, PreviousArrow, SwitchIcon, ThumbsUp, ThumbsDown, ThumbsUpEmpty, ThumbsDownEmpty, LandingCalendar, LandingCellPhone, LandingProfile, LandingThumbsUp, Legs, Uber };
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface IAccordion {
3
+ id: string;
4
+ title: string;
5
+ content: JSX.Element;
6
+ defaultChecked?: boolean;
7
+ onClick?: (id: string) => void;
8
+ }
9
+ declare const Accordion: React.FC<IAccordion>;
10
+ export default Accordion;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface IOption {
3
+ id: number;
4
+ name: string;
5
+ }
6
+ interface IAutoCompleteSearch {
7
+ options: Array<IOption>;
8
+ defaultUserInput?: string;
9
+ selectOption: Function;
10
+ }
11
+ declare const AutoCompleteSearchV1: React.FC<IAutoCompleteSearch>;
12
+ export default AutoCompleteSearchV1;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface IBackdrop {
3
+ show: boolean;
4
+ clicked: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
5
+ }
6
+ declare const Backdrop: React.FC<IBackdrop>;
7
+ export default Backdrop;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import BUTTON_TYPES from './ButtonTypes';
3
+ interface IButton {
4
+ text?: string;
5
+ onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
6
+ type?: BUTTON_TYPES;
7
+ size?: 'default' | 'small' | 'large';
8
+ color?: 'default' | 'primary' | 'secondary' | 'danger' | 'disabled';
9
+ style?: React.CSSProperties;
10
+ className?: string;
11
+ iconPath?: string;
12
+ iconPath2?: string;
13
+ iconPosition?: string;
14
+ iconSize?: string;
15
+ iconViewBox?: string;
16
+ disabled?: boolean;
17
+ }
18
+ declare const Button: React.FC<IButton>;
19
+ export default Button;
@@ -0,0 +1,6 @@
1
+ declare enum BUTTON_TYPES {
2
+ CONTAINED = "CONTAINED",
3
+ OUTLINED = "OUTLINED",
4
+ TEXT = "TEXT"
5
+ }
6
+ export default BUTTON_TYPES;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Add: import("react").FC<import("./IButtonIcons").IButtonIcons>;
3
+ export default Add;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Bars: import("react").FC<import("./IButtonIcons").IButtonIcons>;
3
+ export default Bars;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IButtonIcons } from './IButtonIcons';
3
+ declare const Base: (svgIconPath: string, iconViewBox?: string, svgIconPath2?: string) => React.FC<IButtonIcons>;
4
+ export default Base;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Bookings: import("react").FC<import("./IButtonIcons").IButtonIcons>;
3
+ export default Bookings;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Cancel: import("react").FC<import("./IButtonIcons").IButtonIcons>;
3
+ export default Cancel;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Check: import("react").FC<import("./IButtonIcons").IButtonIcons>;
3
+ export default Check;
@@ -4,5 +4,5 @@ interface ICloseIconButton {
4
4
  clicked: () => void;
5
5
  fill: string;
6
6
  }
7
- declare const CloseIconButton2: React.FC<ICloseIconButton>;
8
- export default CloseIconButton2;
7
+ declare const CloseIconButton: React.FC<ICloseIconButton>;
8
+ export default CloseIconButton;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Delete: import("react").FC<import("./IButtonIcons").IButtonIcons>;
3
+ export default Delete;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Edit: import("react").FC<import("./IButtonIcons").IButtonIcons>;
3
+ export default Edit;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface IEyeIconButton {
3
+ clicked: () => void;
4
+ show: boolean;
5
+ }
6
+ declare const EyeIconButton: React.FC<IEyeIconButton>;
7
+ export default EyeIconButton;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import './FavoriteIconButton.scss';
3
+ interface IFavoriteIconButton {
4
+ clicked: () => void;
5
+ favorite: boolean;
6
+ }
7
+ declare const FavoriteIconButton: React.FC<IFavoriteIconButton>;
8
+ export default FavoriteIconButton;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Favorites: import("react").FC<import("./IButtonIcons").IButtonIcons>;
3
+ export default Favorites;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import BUTTON_TYPES from '../ButtonTypes';
3
+ export interface IButtonIcons {
4
+ disabled?: boolean;
5
+ text?: string;
6
+ onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
7
+ type?: BUTTON_TYPES;
8
+ size?: 'default' | 'small' | 'large';
9
+ color?: 'default' | 'primary' | 'secondary' | 'danger' | 'disabled';
10
+ style?: React.CSSProperties;
11
+ className?: string;
12
+ iconPosition?: string;
13
+ iconSize?: string;
14
+ }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const List: import("react").FC<import("./IButtonIcons").IButtonIcons>;
3
+ export default List;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Remove: import("react").FC<import("./IButtonIcons").IButtonIcons>;
3
+ export default Remove;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Replace: import("react").FC<import("./IButtonIcons").IButtonIcons>;
3
+ export default Replace;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Save: import("react").FC<import("./IButtonIcons").IButtonIcons>;
3
+ export default Save;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Search: import("react").FC<import("./IButtonIcons").IButtonIcons>;
3
+ export default Search;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Uber: import("react").FC<import("./IButtonIcons").IButtonIcons>;
3
+ export default Uber;
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ Add: import("react").FC<import("./IButtonIcons").IButtonIcons>;
4
+ Bars: import("react").FC<import("./IButtonIcons").IButtonIcons>;
5
+ Bookings: import("react").FC<import("./IButtonIcons").IButtonIcons>;
6
+ Cancel: import("react").FC<import("./IButtonIcons").IButtonIcons>;
7
+ Check: import("react").FC<import("./IButtonIcons").IButtonIcons>;
8
+ Delete: import("react").FC<import("./IButtonIcons").IButtonIcons>;
9
+ Remove: import("react").FC<import("./IButtonIcons").IButtonIcons>;
10
+ Edit: import("react").FC<import("./IButtonIcons").IButtonIcons>;
11
+ Favorites: import("react").FC<import("./IButtonIcons").IButtonIcons>;
12
+ List: import("react").FC<import("./IButtonIcons").IButtonIcons>;
13
+ Search: import("react").FC<import("./IButtonIcons").IButtonIcons>;
14
+ Save: import("react").FC<import("./IButtonIcons").IButtonIcons>;
15
+ Replace: import("react").FC<import("./IButtonIcons").IButtonIcons>;
16
+ Uber: import("react").FC<import("./IButtonIcons").IButtonIcons>;
17
+ };
18
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface ICheckbox {
3
+ domId: string;
4
+ text: string;
5
+ style?: React.CSSProperties;
6
+ checked: boolean;
7
+ onChange: (checked: boolean, domId: string) => void;
8
+ }
9
+ declare const Checkbox: React.FC<ICheckbox>;
10
+ export default Checkbox;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import Model from '@tripian/model';
3
+ interface ICheckboxTree {
4
+ domId: string;
5
+ text: string;
6
+ subOptions: Array<Model.SubAnswer>;
7
+ style?: React.CSSProperties;
8
+ checkeds: Array<number>;
9
+ onChangeParent: (checked: boolean, domId: string) => void;
10
+ onChangeChild: (checked: boolean, domId: string) => void;
11
+ }
12
+ declare const CheckboxTree: React.FC<ICheckboxTree>;
13
+ export default CheckboxTree;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ interface IOptions {
3
+ key?: string | number;
4
+ value: string | number;
5
+ label?: string | number;
6
+ }
7
+ interface IDropdown {
8
+ id?: string;
9
+ options: Array<IOptions>;
10
+ defaultValue: string | number;
11
+ selectChange: (value: string | number, index: number) => void;
12
+ }
13
+ declare const Dropdown: React.FC<IDropdown>;
14
+ export default Dropdown;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface IIconImage {
3
+ type: 'FAVORITES' | 'BOOKINGS' | 'TOUR' | 'SEARCH';
4
+ }
5
+ declare const IconImage: React.FC<IIconImage>;
6
+ export default IconImage;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface IImg {
3
+ src: string;
4
+ srcSet: string;
5
+ alt: string;
6
+ }
7
+ declare const Img: React.FC<IImg>;
8
+ export default Img;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface IImgLazy {
3
+ src: string;
4
+ alt: string;
5
+ className?: string;
6
+ x?: number;
7
+ y?: number;
8
+ showThumbnails?: boolean;
9
+ objectFit?: 'cover' | 'contain';
10
+ referrerPolicy?: React.HTMLAttributeReferrerPolicy;
11
+ }
12
+ declare const ImgLazy: React.FC<IImgLazy>;
13
+ export default ImgLazy;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface IImgLazyBase {
3
+ src: string;
4
+ alt: string;
5
+ className?: string;
6
+ x?: number;
7
+ y?: number;
8
+ showThumbnails?: boolean;
9
+ children: React.ReactNode;
10
+ }
11
+ declare const ImgLazyBase: React.FC<IImgLazyBase>;
12
+ export default ImgLazyBase;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface IModal {
3
+ show: boolean;
4
+ backdropClose?: boolean;
5
+ style?: any;
6
+ className?: string;
7
+ ref?: React.LegacyRef<HTMLDivElement>;
8
+ backdropClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
9
+ children: React.ReactNode;
10
+ }
11
+ declare const Modal: React.FC<IModal>;
12
+ export default Modal;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface IModalFull {
3
+ show: boolean;
4
+ backdropClose?: boolean;
5
+ style?: any;
6
+ className?: string;
7
+ children: React.ReactNode;
8
+ }
9
+ declare const ModalFull: React.FC<IModalFull>;
10
+ export default ModalFull;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface INotification {
3
+ title?: string;
4
+ message: string;
5
+ type: 'success' | 'warning' | 'error';
6
+ onClose: () => void;
7
+ closeMs?: number;
8
+ positionX?: 'left' | 'center' | 'right';
9
+ positionY?: 'top' | 'bottom';
10
+ }
11
+ declare const Notification: React.FC<INotification>;
12
+ export default Notification;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ interface INumberCounter {
3
+ defaultValue?: number;
4
+ minValue: number;
5
+ maxValue: number;
6
+ onchange: (num: number) => void;
7
+ }
8
+ declare const NumberCounter: React.FC<INumberCounter>;
9
+ export default NumberCounter;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface INumberInput {
3
+ defaultValue?: number;
4
+ minValue: number;
5
+ maxValue: number;
6
+ placeholder?: string;
7
+ onchange: (num: number | null) => void;
8
+ }
9
+ declare const NumberInput: React.FC<INumberInput>;
10
+ export default NumberInput;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const PageLoading: () => JSX.Element;
3
+ export default PageLoading;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface IPreLoading {
3
+ bgColor?: string;
4
+ size?: 'small' | 'large' | 'default';
5
+ customClass?: string;
6
+ }
7
+ declare const PreLoading: React.FC<IPreLoading>;
8
+ export default PreLoading;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ declare const ProgressAppLoading: React.FC<{
3
+ children: React.ReactNode;
4
+ }>;
5
+ export default ProgressAppLoading;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface IProgressLoading {
3
+ color?: string;
4
+ bgColor?: string;
5
+ }
6
+ declare const ProgressLoading: React.FC<IProgressLoading>;
7
+ export default ProgressLoading;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { InputActionMeta } from 'react-select';
3
+ import './RSelect.scss';
4
+ interface IRSelectOption {
5
+ id: string;
6
+ label: string;
7
+ payload?: any;
8
+ isSelected?: boolean;
9
+ }
10
+ interface IRSelect {
11
+ options: Array<IRSelectOption>;
12
+ onSelectedChanged: (selectedOption: IRSelectOption) => void;
13
+ defaultOptionId?: string;
14
+ disabled?: boolean;
15
+ onInputChange?: (newValue: string, actionMeta: InputActionMeta) => void;
16
+ placeHolder?: string;
17
+ }
18
+ declare const RSelect: React.FC<IRSelect>;
19
+ export default RSelect;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface IRadioButton {
3
+ domId?: string;
4
+ text: string;
5
+ style?: React.CSSProperties;
6
+ checked: boolean;
7
+ onChange: Function;
8
+ }
9
+ declare const RadioButton: React.FC<IRadioButton>;
10
+ export default RadioButton;