@tripian/react 1.1.181 → 2.0.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 (182) hide show
  1. package/components/AccommendationCard/AccommendationCard.d.ts +8 -8
  2. package/components/AccommendationInfo/AccommendationInfo.d.ts +8 -8
  3. package/components/ButterflyCard/ButterflyCard.d.ts +16 -16
  4. package/components/ButterflyCard/CardImage/CardImage.d.ts +7 -7
  5. package/components/ButterflyCard/CardText/CardText.d.ts +8 -8
  6. package/components/ButterflyCardSlider/ButterflyCardSlider.d.ts +21 -21
  7. package/components/CardSlider/CardSlider.d.ts +6 -6
  8. package/components/CityInfo/CityInfo.d.ts +9 -9
  9. package/components/ConfirmModalPopup/ConfirmModalPopup.d.ts +13 -13
  10. package/components/DatePicker/DatePicker.d.ts +10 -10
  11. package/components/DateRangePicker/DateRangePicker.d.ts +13 -13
  12. package/components/DirectionInfo/DirectionInfo.d.ts +13 -13
  13. package/components/FlightCard/FlightCard.d.ts +12 -12
  14. package/components/FormTemplate/FormTemplateAgent/FormTemplateAgent.d.ts +10 -10
  15. package/components/FormTemplate/FormTemplateCompanion/FormTemplateCompanion.d.ts +9 -9
  16. package/components/FormTemplate/FormTemplateLogin/FormTemplateLogin.d.ts +10 -10
  17. package/components/FormTemplate/FormTemplateProfile/FormTemplateProfile.d.ts +11 -11
  18. package/components/FormTemplate/FormTemplateProfile/UserPasswordChange.d.ts +9 -9
  19. package/components/FormTemplate/FormTemplateRegister/FormTemplateRegister.d.ts +12 -12
  20. package/components/FormTemplate/FormTemplateTrip/FormTemplateTrip.d.ts +15 -15
  21. package/components/FormTemplate/FormTemplateTrip2/FormTemplateTrip2.d.ts +18 -18
  22. package/components/GoogleMaps/GMarker/Base/GMarkerOrder/GMarkerOrder.d.ts +11 -11
  23. package/components/GoogleMaps/GMarker/Base/GMarkerPoiBase/GMarkerPoiBase.d.ts +12 -12
  24. package/components/GoogleMaps/GMarker/Base/GMarkerStepBase/GMarkerStepBase.d.ts +12 -12
  25. package/components/GoogleMaps/GMarker/Base/helper.d.ts +2 -2
  26. package/components/GoogleMaps/GMarker/GMarker.d.ts +13 -13
  27. package/components/GoogleMaps/GPlacesAutocomplete/GPlacesAutocomplete.d.ts +10 -10
  28. package/components/GoogleMaps/GPlacesAutocomplete2/GPlacesAutocomplete2.d.ts +10 -10
  29. package/components/GoogleMaps/GRoute/GRoute.d.ts +10 -10
  30. package/components/GoogleMaps/GRoute/GRouteCalculate.d.ts +4 -4
  31. package/components/GoogleMaps/GRoute/GRouteRender.d.ts +10 -10
  32. package/components/GoogleMaps/GRoute/GRouteService.d.ts +8 -8
  33. package/components/GoogleMaps/GRoute/IRouteResult.d.ts +24 -24
  34. package/components/GoogleMaps/GoogleMaps.d.ts +34 -34
  35. package/components/GoogleMaps/helper.d.ts +2 -2
  36. package/components/GoogleMapsPoiInfo/GoogleMapsPoiInfo.d.ts +9 -9
  37. package/components/ImgDiv/ImgDiv.d.ts +6 -6
  38. package/components/ImgDiv/ImgDivCover.d.ts +10 -10
  39. package/components/Label/Label.d.ts +6 -6
  40. package/components/Loading/Loading.d.ts +2 -2
  41. package/components/MustTryCard/MustTryCard.d.ts +9 -9
  42. package/components/PlanChangeDay/PlanChangeDay.d.ts +11 -11
  43. package/components/PoiCategories/PoiCategories.d.ts +9 -9
  44. package/components/PoiInfo/PoiInfo.d.ts +26 -26
  45. package/components/PoiInfo/PoiInfoImage/PoiInfoImage.d.ts +15 -15
  46. package/components/PoiInfo/PoiInfoText/PoiInfoText.d.ts +12 -12
  47. package/components/PoiListCard/PoiListCard.d.ts +7 -7
  48. package/components/PoiListSearch/PoiListSearch.d.ts +8 -8
  49. package/components/PoiRefCard/PoiRefCard.d.ts +13 -13
  50. package/components/Price/Price.d.ts +7 -7
  51. package/components/QuestionTemplate/Context/QuestionContext.d.ts +8 -8
  52. package/components/QuestionTemplate/Context/QuestionContext2.d.ts +8 -8
  53. package/components/QuestionTemplate/Question/CheckBoxQuestion/CheckboxQuestion.d.ts +9 -9
  54. package/components/QuestionTemplate/Question/Question.d.ts +7 -7
  55. package/components/QuestionTemplate/Question/Question2.d.ts +7 -7
  56. package/components/QuestionTemplate/Question/RadioButtonQuestion/RadioButtonQuestion.d.ts +8 -8
  57. package/components/QuestionTemplate/Question/RadioButtonQuestion/RadioButtonQuestion2.d.ts +10 -10
  58. package/components/QuestionTemplate/QuestionTemplate.d.ts +10 -10
  59. package/components/QuestionTemplate/QuestionTemplate2.d.ts +10 -10
  60. package/components/RatingStars/RatingStars.d.ts +8 -8
  61. package/components/RefCard/RefCard.d.ts +10 -10
  62. package/components/SearchThisArea/SearchThisArea.d.ts +11 -11
  63. package/components/SortableStepListCard/SortableStepListCard.d.ts +9 -9
  64. package/components/StepAlternativeCard/StepAlternativeCard.d.ts +10 -10
  65. package/components/StepCard/StepCard.d.ts +16 -16
  66. package/components/StepCardUserReaction/StepCardUserReaction.d.ts +19 -19
  67. package/components/StepInfo/StepInfo.d.ts +22 -22
  68. package/components/StepTimeframe/StepTimeframe.d.ts +13 -13
  69. package/components/TasteCard/TasteCard.d.ts +8 -8
  70. package/components/TasteCard2/TasteCard2.d.ts +8 -8
  71. package/components/TasteCard2/TasteCard2Image/TasteCard2Image.d.ts +7 -7
  72. package/components/TasteCard2/TasteCard2Text/TasteCard2Text.d.ts +7 -7
  73. package/components/TasteCard2Slider/TasteCard2Slider.d.ts +10 -10
  74. package/components/TasteInfo/MustTryPois/MustTryPois.d.ts +8 -8
  75. package/components/TasteInfo/TasteInfo.d.ts +11 -11
  76. package/components/TasteInfo/TasteInfoImage/TasteInfoImage.d.ts +9 -9
  77. package/components/TasteInfo/TasteInfoText/TasteInfoText.d.ts +7 -7
  78. package/components/ThumsDownReason/ThumsDownReason.d.ts +8 -8
  79. package/components/TopThingsSlider/TopThingsSlider.d.ts +10 -10
  80. package/components/TourRefCard/TourRefCard.d.ts +8 -8
  81. package/components/TourRefCardProduct/TourRefCardProduct.d.ts +8 -8
  82. package/components/TripCard/TripCard.d.ts +10 -10
  83. package/components/UserCompanionSelection/UserCompanionSelection.d.ts +12 -12
  84. package/components/UserCompanions/UserCompanions.d.ts +12 -12
  85. package/components/base/AutoCompleteSearchV1/AutoCompleteSearchV1.d.ts +12 -12
  86. package/components/base/Backdrop/Backdrop.d.ts +7 -7
  87. package/components/base/Button/Button.d.ts +19 -19
  88. package/components/base/Button/ButtonTypes.d.ts +6 -6
  89. package/components/base/Button/Icons/Add.d.ts +3 -3
  90. package/components/base/Button/Icons/Bars.d.ts +3 -3
  91. package/components/base/Button/Icons/Base.d.ts +4 -4
  92. package/components/base/Button/Icons/Bookings.d.ts +3 -3
  93. package/components/base/Button/Icons/Cancel.d.ts +3 -3
  94. package/components/base/Button/Icons/Check.d.ts +3 -3
  95. package/components/base/Button/Icons/CloseIconButton/CloseIconButton.d.ts +8 -8
  96. package/components/base/Button/Icons/Delete.d.ts +3 -3
  97. package/components/base/Button/Icons/Edit.d.ts +3 -3
  98. package/components/base/Button/Icons/FavoriteIconButton/FavoriteIconButton.d.ts +8 -8
  99. package/components/base/Button/Icons/Favorites.d.ts +3 -3
  100. package/components/base/Button/Icons/IButtonIcons.d.ts +14 -14
  101. package/components/base/Button/Icons/List.d.ts +3 -3
  102. package/components/base/Button/Icons/Remove.d.ts +3 -3
  103. package/components/base/Button/Icons/Replace.d.ts +3 -3
  104. package/components/base/Button/Icons/Save.d.ts +3 -3
  105. package/components/base/Button/Icons/Search.d.ts +3 -3
  106. package/components/base/Button/Icons/Uber.d.ts +3 -3
  107. package/components/base/Button/Icons/index.d.ts +17 -18
  108. package/components/base/Checkbox/Checkbox.d.ts +10 -10
  109. package/components/base/CheckboxTree/CheckboxTree.d.ts +13 -13
  110. package/components/base/Dropdown/Dropdown.d.ts +14 -14
  111. package/components/base/IconImage/IconImage.d.ts +6 -6
  112. package/components/base/Img/Img.d.ts +8 -8
  113. package/components/base/ImgLazy/ImgLazy.d.ts +12 -12
  114. package/components/base/ImgLazyBase/ImgLazyBase.d.ts +11 -11
  115. package/components/base/Modal/Modal.d.ts +10 -10
  116. package/components/base/ModalFull/ModalFull.d.ts +9 -9
  117. package/components/base/Notification/Notification.d.ts +12 -12
  118. package/components/base/NumberCounter/NumberCounter.d.ts +9 -9
  119. package/components/base/NumberInput/NumberInput.d.ts +10 -10
  120. package/components/base/PageLoading/PageLoading.d.ts +2 -2
  121. package/components/base/PreLoading/PreLoading.d.ts +8 -8
  122. package/components/base/ProgressAppLoading/ProgressAppLoading.d.ts +3 -3
  123. package/components/base/ProgressLoading/ProgressLoading.d.ts +7 -7
  124. package/components/base/RSelect/RSelect.d.ts +19 -19
  125. package/components/base/RadioButtonGroup/RadioButton/RadioButton.d.ts +10 -10
  126. package/components/base/RadioButtonGroup/RadioButtonGroup.d.ts +12 -12
  127. package/components/base/SideNavigation/SideNavigation.d.ts +14 -14
  128. package/components/base/Svg/Icons/Add.d.ts +4 -4
  129. package/components/base/Svg/Icons/Bars.d.ts +4 -4
  130. package/components/base/Svg/Icons/Calendar.d.ts +8 -8
  131. package/components/base/Svg/Icons/Car.d.ts +8 -8
  132. package/components/base/Svg/Icons/Checkbox.d.ts +4 -4
  133. package/components/base/Svg/Icons/Clock.d.ts +8 -8
  134. package/components/base/Svg/Icons/Close.d.ts +11 -11
  135. package/components/base/Svg/Icons/Delete.d.ts +4 -4
  136. package/components/base/Svg/Icons/IIconSvg.d.ts +6 -6
  137. package/components/base/Svg/Icons/Legs.d.ts +8 -8
  138. package/components/base/Svg/Icons/NextArrow.d.ts +8 -8
  139. package/components/base/Svg/Icons/PreviousArrow.d.ts +8 -8
  140. package/components/base/Svg/Icons/RadioButton.d.ts +4 -4
  141. package/components/base/Svg/Icons/SwitchIcon/SwitchIcon.d.ts +7 -7
  142. package/components/base/Svg/Icons/ThumbsDown.d.ts +8 -8
  143. package/components/base/Svg/Icons/ThumbsDownEmpty.d.ts +9 -9
  144. package/components/base/Svg/Icons/ThumbsUp.d.ts +8 -8
  145. package/components/base/Svg/Icons/ThumbsUpEmpty.d.ts +9 -9
  146. package/components/base/Svg/Icons/Uber.d.ts +8 -8
  147. package/components/base/Svg/Icons/index.d.ts +17 -17
  148. package/components/base/Svg/Svg.d.ts +13 -13
  149. package/components/base/Switch/Switch.d.ts +7 -7
  150. package/components/base/SwitchOld/SwitchOld.d.ts +8 -8
  151. package/components/base/TabMenu/TabMenu.d.ts +11 -11
  152. package/components/base/TextField/TextField.d.ts +19 -19
  153. package/handlers/handleOnChange.d.ts +2 -2
  154. package/handlers/handleOnKeyDown.d.ts +2 -2
  155. package/img/c333890c3b6ce527a1a114eb30958094.svg +43 -43
  156. package/img/e69f62d40d8a1961822b436a125be8dd.svg +43 -0
  157. package/index.d.ts +89 -89
  158. package/index.js +10802 -10383
  159. package/index.js.map +1 -1
  160. package/min.css +7272 -7182
  161. package/package.json +40 -94
  162. package/providers/glx/components/GlxTourCard/GlxTourCard.d.ts +8 -8
  163. package/providers/glx/components/GlxTourCard/GlxTourCardImage/GlxTourCardImage.d.ts +7 -7
  164. package/providers/glx/components/GlxTourCard/GlxTourCardText/GlxTourCardText.d.ts +7 -7
  165. package/providers/glx/components/GlxTourCardSlider/GlxTourCardSlider.d.ts +10 -10
  166. package/providers/glx/components/GlxTourInfo/GlxTourInfo.d.ts +10 -10
  167. package/providers/glx/components/GlxTourInfo/GlxTourInfoForm/GlxTourInfoForm.d.ts +8 -8
  168. package/providers/glx/components/GlxTourInfo/GlxTourInfoImage/GlxTourInfoImage.d.ts +10 -10
  169. package/providers/glx/components/GlxTourInfo/GlxTourInfoText/GlxTourInfoText.d.ts +7 -7
  170. package/providers/gyg/components/GygTourCard/GygTourCard.d.ts +8 -8
  171. package/providers/gyg/components/GygTourCard/GygTourCardImage/GygTourCardImage.d.ts +7 -7
  172. package/providers/gyg/components/GygTourCard/GygTourCardText/GygTourCardText.d.ts +7 -7
  173. package/providers/gyg/components/GygTourInfo/GygTourInfo.d.ts +8 -8
  174. package/providers/gyg/components/GygTourInfo/GygTourInfoForm/GygTourInfoForm.d.ts +7 -7
  175. package/providers/gyg/components/GygTourInfo/GygTourInfoImage/GygTourInfoImage.d.ts +9 -9
  176. package/providers/gyg/components/GygTourInfo/GygTourInfoText/GygTourInfoText.d.ts +7 -7
  177. package/providers/yelp/components/Booking/Booking.d.ts +22 -22
  178. package/providers/yelp/components/OpeningsForm/OpeningsForm.d.ts +13 -13
  179. package/providers/yelp/components/OpeningsSelection/OpeningsSelection.d.ts +9 -9
  180. package/providers/yelp/components/ReservationDetails/ReservationDetails.d.ts +7 -7
  181. package/providers/yelp/components/TableSearch/TableSearch.d.ts +9 -9
  182. package/providers/yelp/components/helper/index.d.ts +8 -8
package/package.json CHANGED
@@ -1,94 +1,40 @@
1
- {
2
- "name": "@tripian/react",
3
- "version": "1.01.181",
4
- "description": "Tripian Inc React Components",
5
- "main": "index.js",
6
- "types": "index.d.ts",
7
- "scripts": {
8
- "npm": "npm publish --access public"
9
- },
10
- "dependencies": {
11
- "@react-google-maps/api": "^1.9.0",
12
- "@tripian/model": "1.00.000",
13
- "moment": "^2.24.0",
14
- "react-dates": "^21.8.0",
15
- "react-google-recaptcha": "^2.0.1",
16
- "react-id-swiper": "^3.0.0",
17
- "react-select": "^3.1.1",
18
- "react-slick": "^0.25.2",
19
- "slick-carousel": "^1.8.1",
20
- "swiper": "^5.4.5"
21
- },
22
- "devDependencies": {
23
- "@babel/cli": "7.8.4",
24
- "@babel/core": "7.8.4",
25
- "@babel/preset-env": "7.8.4",
26
- "@babel/preset-react": "7.8.3",
27
- "@testing-library/jest-dom": "^5.11.4",
28
- "@testing-library/react": "^11.1.0",
29
- "@testing-library/user-event": "^12.1.10",
30
- "@tripian/eslint-config-tripian": "2.0.1",
31
- "@types/googlemaps": "^3.39.13",
32
- "@types/jest": "^26.0.15",
33
- "@types/mini-css-extract-plugin": "^0.9.0",
34
- "@types/node": "^12.0.0",
35
- "@types/node-sass": "^4.11.0",
36
- "@types/react": "^16.9.53",
37
- "@types/react-dates": "^17.1.9",
38
- "@types/react-dom": "^16.9.8",
39
- "@types/react-google-recaptcha": "^1.1.1",
40
- "@types/react-recaptcha-v3": "^1.1.1",
41
- "@types/react-select": "^3.0.28",
42
- "@types/react-slick": "^0.23.4",
43
- "@types/swiper": "^5.3.2",
44
- "@typescript-eslint/eslint-plugin": "4.4.1",
45
- "babel-jest": "^24.9.0",
46
- "babel-loader": "^8.0.6",
47
- "babel-preset-react": "^6.24.1",
48
- "css-loader": "^3.4.2",
49
- "cssnano": "^4.1.10",
50
- "eslint": "7.16.0",
51
- "eslint-config-airbnb": "18.2.1",
52
- "eslint-config-airbnb-typescript": "12.0.0",
53
- "eslint-config-prettier": "7.1.0",
54
- "eslint-plugin-import": "2.22.0",
55
- "eslint-plugin-jest": "24.1.3",
56
- "eslint-plugin-jsx-a11y": "6.3.1",
57
- "eslint-plugin-prettier": "3.3.0",
58
- "eslint-plugin-react": "7.20.3",
59
- "eslint-plugin-react-hooks": "4.0.8",
60
- "file-loader": "^5.0.2",
61
- "jest": "26.6.0",
62
- "mini-css-extract-plugin": "^0.9.0",
63
- "node-sass": "4.14.1",
64
- "optimize-css-assets-webpack-plugin": "^5.0.3",
65
- "prettier": "2.2.1",
66
- "prop-types": "^15.7.2",
67
- "react": "^17.0.1",
68
- "react-dom": "^17.0.1",
69
- "sass-loader": "8.0.0",
70
- "style-loader": "^1.1.3",
71
- "ts-loader": "^6.2.1",
72
- "typescript": "^4.0.3",
73
- "webpack": "^4.41.6",
74
- "webpack-cli": "^3.3.11"
75
- },
76
- "keywords": [
77
- "tripian",
78
- "react"
79
- ],
80
- "repository": {
81
- "type": "git",
82
- "url": "git+https://github.com/Tripian-inc/ui-tripian-react.git"
83
- },
84
- "author": "Penguen Umut",
85
- "license": "MIT",
86
- "bugs": {
87
- "url": "https://github.com/Tripian-inc/ui-tripian-react/issues"
88
- },
89
- "homepage": "https://github.com/Tripian-inc/ui-tripian-react#readme",
90
- "eslintConfig": {
91
- "extends": "@tripian/eslint-config-tripian"
92
- },
93
- "prettier": "@tripian/eslint-config-tripian/prettier.js"
94
- }
1
+ {
2
+ "name": "@tripian/react",
3
+ "version": "2.00.001",
4
+ "description": "Tripian Inc React Components",
5
+ "main": "index.js",
6
+ "types": "index.d.ts",
7
+ "scripts": {
8
+ "npm": "npm publish --access public"
9
+ },
10
+ "dependencies": {
11
+ "@react-google-maps/api": "^1.9.0",
12
+ "@tripian/model": "2.00.000",
13
+ "moment": "^2.24.0",
14
+ "react-dates": "^21.8.0",
15
+ "react-google-recaptcha": "^2.0.1",
16
+ "react-id-swiper": "^3.0.0",
17
+ "react-select": "^3.1.1",
18
+ "react-slick": "^0.25.2",
19
+ "slick-carousel": "^1.8.1",
20
+ "swiper": "^5.4.5"
21
+ },
22
+ "keywords": [
23
+ "tripian",
24
+ "react"
25
+ ],
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/Tripian-inc/ui-tripian-react.git"
29
+ },
30
+ "author": "Penguen Umut",
31
+ "license": "MIT",
32
+ "bugs": {
33
+ "url": "https://github.com/Tripian-inc/ui-tripian-react/issues"
34
+ },
35
+ "homepage": "https://github.com/Tripian-inc/ui-tripian-react#readme",
36
+ "eslintConfig": {
37
+ "extends": "@tripian/eslint-config-tripian"
38
+ },
39
+ "prettier": "@tripian/eslint-config-tripian/prettier.js"
40
+ }
@@ -1,8 +1,8 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- interface IGlxTourCard {
4
- bookingRef: Providers.Glx.BookingRef;
5
- bodyClicked: (booking: Providers.Glx.BookingRef) => void;
6
- }
7
- declare const GlxTourCard: React.FC<IGlxTourCard>;
8
- export default GlxTourCard;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IGlxTourCard {
4
+ bookingRef: Providers.Glx.BookingRef;
5
+ bodyClicked: (booking: Providers.Glx.BookingRef) => void;
6
+ }
7
+ declare const GlxTourCard: React.FC<IGlxTourCard>;
8
+ export default GlxTourCard;
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- interface IGlxTourCardImage {
4
- bookingRef: Providers.Glx.BookingRef;
5
- }
6
- declare const GlxTourCardImage: React.FC<IGlxTourCardImage>;
7
- export default GlxTourCardImage;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IGlxTourCardImage {
4
+ bookingRef: Providers.Glx.BookingRef;
5
+ }
6
+ declare const GlxTourCardImage: React.FC<IGlxTourCardImage>;
7
+ export default GlxTourCardImage;
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- interface IGlxTourCardText {
4
- bookingRef: Providers.Glx.BookingRef;
5
- }
6
- declare const GlxTourCardText: React.FC<IGlxTourCardText>;
7
- export default GlxTourCardText;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IGlxTourCardText {
4
+ bookingRef: Providers.Glx.BookingRef;
5
+ }
6
+ declare const GlxTourCardText: React.FC<IGlxTourCardText>;
7
+ export default GlxTourCardText;
@@ -1,10 +1,10 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- import 'slick-carousel/slick/slick.css';
4
- import 'slick-carousel/slick/slick-theme.css';
5
- interface IGlxTourCardSlider {
6
- bookingRefs: Providers.Glx.BookingRef[];
7
- bodyClicked: (bookingRef: Providers.Glx.BookingRef) => void;
8
- }
9
- declare const GlxTourCardSlider: React.FC<IGlxTourCardSlider>;
10
- export default GlxTourCardSlider;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ import 'slick-carousel/slick/slick.css';
4
+ import 'slick-carousel/slick/slick-theme.css';
5
+ interface IGlxTourCardSlider {
6
+ bookingRefs: Providers.Glx.BookingRef[];
7
+ bodyClicked: (bookingRef: Providers.Glx.BookingRef) => void;
8
+ }
9
+ declare const GlxTourCardSlider: React.FC<IGlxTourCardSlider>;
10
+ export default GlxTourCardSlider;
@@ -1,10 +1,10 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- interface IGlxTourInfo {
4
- booking: Providers.Glx.Booking;
5
- bookingRate: Providers.Glx.TourRating;
6
- bookingReviews?: Providers.Glx.TourReview[];
7
- close: () => void;
8
- }
9
- declare const GlxTourInfo: React.FC<IGlxTourInfo>;
10
- export default GlxTourInfo;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IGlxTourInfo {
4
+ booking: Providers.Glx.Booking;
5
+ bookingRate: Providers.Glx.TourRating;
6
+ bookingReviews?: Providers.Glx.TourReview[];
7
+ close: () => void;
8
+ }
9
+ declare const GlxTourInfo: React.FC<IGlxTourInfo>;
10
+ export default GlxTourInfo;
@@ -1,8 +1,8 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- interface IGlxTourInfoForm {
4
- booking: Providers.Glx.Booking;
5
- bookingRate: Providers.Glx.TourRating;
6
- }
7
- declare const GlxTourInfoForm: React.FC<IGlxTourInfoForm>;
8
- export default GlxTourInfoForm;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IGlxTourInfoForm {
4
+ booking: Providers.Glx.Booking;
5
+ bookingRate: Providers.Glx.TourRating;
6
+ }
7
+ declare const GlxTourInfoForm: React.FC<IGlxTourInfoForm>;
8
+ export default GlxTourInfoForm;
@@ -1,10 +1,10 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- import 'slick-carousel/slick/slick.css';
4
- import 'slick-carousel/slick/slick-theme.css';
5
- interface IGlxTourInfoImage {
6
- booking: Providers.Glx.Booking;
7
- close: () => void;
8
- }
9
- declare const GlxTourInfoImage: React.FC<IGlxTourInfoImage>;
10
- export default GlxTourInfoImage;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ import 'slick-carousel/slick/slick.css';
4
+ import 'slick-carousel/slick/slick-theme.css';
5
+ interface IGlxTourInfoImage {
6
+ booking: Providers.Glx.Booking;
7
+ close: () => void;
8
+ }
9
+ declare const GlxTourInfoImage: React.FC<IGlxTourInfoImage>;
10
+ export default GlxTourInfoImage;
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- interface IGlxTourInfoText {
4
- booking: Providers.Glx.Booking;
5
- }
6
- declare const GlxTourInfoText: React.FC<IGlxTourInfoText>;
7
- export default GlxTourInfoText;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IGlxTourInfoText {
4
+ booking: Providers.Glx.Booking;
5
+ }
6
+ declare const GlxTourInfoText: React.FC<IGlxTourInfoText>;
7
+ export default GlxTourInfoText;
@@ -1,8 +1,8 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- interface IGygTourCard {
4
- tour: Providers.Gyg.Tour;
5
- bodyClicked: (tour: Providers.Gyg.Tour) => void;
6
- }
7
- declare const GygTourCard: React.FC<IGygTourCard>;
8
- export default GygTourCard;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IGygTourCard {
4
+ tour: Providers.Gyg.Tour;
5
+ bodyClicked: (tour: Providers.Gyg.Tour) => void;
6
+ }
7
+ declare const GygTourCard: React.FC<IGygTourCard>;
8
+ export default GygTourCard;
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- interface IGygTourCardImage {
4
- tourImage: Providers.Gyg.TourPictures[];
5
- }
6
- declare const GygTourCardImage: React.FC<IGygTourCardImage>;
7
- export default GygTourCardImage;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IGygTourCardImage {
4
+ tourImage: Providers.Gyg.TourPictures[];
5
+ }
6
+ declare const GygTourCardImage: React.FC<IGygTourCardImage>;
7
+ export default GygTourCardImage;
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- interface IGygTourCardText {
4
- tour: Providers.Gyg.Tour;
5
- }
6
- declare const GygTourCardText: React.FC<IGygTourCardText>;
7
- export default GygTourCardText;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IGygTourCardText {
4
+ tour: Providers.Gyg.Tour;
5
+ }
6
+ declare const GygTourCardText: React.FC<IGygTourCardText>;
7
+ export default GygTourCardText;
@@ -1,8 +1,8 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- interface IGygTourInfo {
4
- tour: Providers.Gyg.Tour;
5
- close: () => void;
6
- }
7
- declare const GygTourInfo: React.FC<IGygTourInfo>;
8
- export default GygTourInfo;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IGygTourInfo {
4
+ tour: Providers.Gyg.Tour;
5
+ close: () => void;
6
+ }
7
+ declare const GygTourInfo: React.FC<IGygTourInfo>;
8
+ export default GygTourInfo;
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- interface IGygTourInfoForm {
4
- tour: Providers.Gyg.Tour;
5
- }
6
- declare const GygTourInfoForm: React.FC<IGygTourInfoForm>;
7
- export default GygTourInfoForm;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IGygTourInfoForm {
4
+ tour: Providers.Gyg.Tour;
5
+ }
6
+ declare const GygTourInfoForm: React.FC<IGygTourInfoForm>;
7
+ export default GygTourInfoForm;
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- import 'slick-carousel/slick/slick.css';
4
- import 'slick-carousel/slick/slick-theme.css';
5
- interface IGygTourInfoImage {
6
- tourImage: Providers.Gyg.TourPictures[];
7
- }
8
- declare const GygTourInfoImage: React.FC<IGygTourInfoImage>;
9
- export default GygTourInfoImage;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ import 'slick-carousel/slick/slick.css';
4
+ import 'slick-carousel/slick/slick-theme.css';
5
+ interface IGygTourInfoImage {
6
+ tourImage: Providers.Gyg.TourPictures[];
7
+ }
8
+ declare const GygTourInfoImage: React.FC<IGygTourInfoImage>;
9
+ export default GygTourInfoImage;
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- interface IGygTourInfoText {
4
- tour: Providers.Gyg.Tour;
5
- }
6
- declare const GygTourInfoText: React.FC<IGygTourInfoText>;
7
- export default GygTourInfoText;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IGygTourInfoText {
4
+ tour: Providers.Gyg.Tour;
5
+ }
6
+ declare const GygTourInfoText: React.FC<IGygTourInfoText>;
7
+ export default GygTourInfoText;
@@ -1,22 +1,22 @@
1
- import React from 'react';
2
- import Model, { Providers } from '@tripian/model';
3
- interface IBooking {
4
- businessId: string;
5
- poi: Model.Poi;
6
- stepDate: string;
7
- stepHour?: string | null;
8
- userProfileBooking: {
9
- firstName: string;
10
- lastName: string;
11
- email: string;
12
- coversCount: number;
13
- };
14
- reservationEditData?: Providers.Yelp.ReservationRequest;
15
- getBusinessInfo: (id: string) => Promise<Providers.Yelp.Business>;
16
- openingsRequest: (openings: Providers.Yelp.OpeningsRequest) => Promise<Providers.Yelp.Openings>;
17
- getHoldIt: (hold: Providers.Yelp.HoldRequest) => Promise<Providers.Yelp.Hold>;
18
- reservationRequest: (reservation: Providers.Yelp.ReservationRequest) => Promise<Providers.Yelp.Reservation>;
19
- bookingCallback: (provider: string, poi: Model.Poi, bookingDetails: Providers.Yelp.ReservationRequest, response?: Providers.Yelp.Reservation) => void;
20
- }
21
- declare const Booking: React.FC<IBooking>;
22
- export default Booking;
1
+ import React from 'react';
2
+ import Model, { Providers } from '@tripian/model';
3
+ interface IBooking {
4
+ businessId: string;
5
+ poi: Model.Poi;
6
+ stepDate: string;
7
+ stepHour?: string | null;
8
+ userProfileBooking: {
9
+ firstName: string;
10
+ lastName: string;
11
+ email: string;
12
+ coversCount: number;
13
+ };
14
+ reservationEditData?: Providers.Yelp.ReservationRequest;
15
+ getBusinessInfo: (id: string) => Promise<Providers.Yelp.Business>;
16
+ openingsRequest: (openings: Providers.Yelp.OpeningsRequest) => Promise<Providers.Yelp.Openings>;
17
+ getHoldIt: (hold: Providers.Yelp.HoldRequest) => Promise<Providers.Yelp.Hold>;
18
+ reservationRequest: (reservation: Providers.Yelp.ReservationRequest) => Promise<Providers.Yelp.Reservation>;
19
+ bookingCallback: (provider: string, poi: Model.Poi, bookingDetails: Providers.Yelp.ReservationRequest, response?: Providers.Yelp.Reservation) => void;
20
+ }
21
+ declare const Booking: React.FC<IBooking>;
22
+ export default Booking;
@@ -1,13 +1,13 @@
1
- import React from 'react';
2
- interface IOpeningsForm {
3
- defaultUserInfo?: {
4
- firstName: string;
5
- lastName: string;
6
- email: string;
7
- phone: string;
8
- note?: string;
9
- };
10
- openingsFormCallback: (firstName: string, lastName: string, email: string, phone: string, note?: string) => void;
11
- }
12
- declare const OpeningsForm: React.FC<IOpeningsForm>;
13
- export default OpeningsForm;
1
+ import React from 'react';
2
+ interface IOpeningsForm {
3
+ defaultUserInfo?: {
4
+ firstName: string;
5
+ lastName: string;
6
+ email: string;
7
+ phone: string;
8
+ note?: string;
9
+ };
10
+ openingsFormCallback: (firstName: string, lastName: string, email: string, phone: string, note?: string) => void;
11
+ }
12
+ declare const OpeningsForm: React.FC<IOpeningsForm>;
13
+ export default OpeningsForm;
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- interface IOpeningsSelection {
4
- openingTimes: Providers.Yelp.OpeningTime[];
5
- clicked: (time: string) => void;
6
- bookingHour: string;
7
- }
8
- declare const OpeningsSelection: React.FC<IOpeningsSelection>;
9
- export default OpeningsSelection;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IOpeningsSelection {
4
+ openingTimes: Providers.Yelp.OpeningTime[];
5
+ clicked: (time: string) => void;
6
+ bookingHour: string;
7
+ }
8
+ declare const OpeningsSelection: React.FC<IOpeningsSelection>;
9
+ export default OpeningsSelection;
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { Providers } from '@tripian/model';
3
- interface IReservationDetails {
4
- reservationInfo: Providers.Yelp.ReservationInfo;
5
- }
6
- declare const ReservationDetails: React.FC<IReservationDetails>;
7
- export default ReservationDetails;
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IReservationDetails {
4
+ reservationInfo: Providers.Yelp.ReservationInfo;
5
+ }
6
+ declare const ReservationDetails: React.FC<IReservationDetails>;
7
+ export default ReservationDetails;
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
- interface ITableSearch {
3
- tableSearchCallback: (date: string, time: string, covers: number) => void;
4
- stepDate: string;
5
- covers: number;
6
- defaultHour: string;
7
- }
8
- declare const TableSearch: React.FC<ITableSearch>;
9
- export default TableSearch;
1
+ import React from 'react';
2
+ interface ITableSearch {
3
+ tableSearchCallback: (date: string, time: string, covers: number) => void;
4
+ stepDate: string;
5
+ covers: number;
6
+ defaultHour: string;
7
+ }
8
+ declare const TableSearch: React.FC<ITableSearch>;
9
+ export default TableSearch;
@@ -1,8 +1,8 @@
1
- declare const peopleCountOptions: {
2
- value: number;
3
- label: string;
4
- }[];
5
- declare const yelpHourRangeOptions: Array<{
6
- value: string;
7
- }>;
8
- export { peopleCountOptions, yelpHourRangeOptions };
1
+ declare const peopleCountOptions: {
2
+ value: number;
3
+ label: string;
4
+ }[];
5
+ declare const yelpHourRangeOptions: Array<{
6
+ value: string;
7
+ }>;
8
+ export { peopleCountOptions, yelpHourRangeOptions };