@tripian/react 9.0.7 → 9.0.9

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 (58) hide show
  1. package/components/AccommondationInfo/AccommondationInfo.d.ts +1 -0
  2. package/components/DirectionInfo/DirectionInfo.d.ts +2 -0
  3. package/components/Feedback/Feedback.d.ts +1 -0
  4. package/components/FormTemplate/FormTemplateCompanion/FormTemplateCompanion.d.ts +1 -0
  5. package/components/FormTemplate/FormTemplateLogin/FormTemplateLogin.d.ts +1 -0
  6. package/components/FormTemplate/FormTemplateLoginEx/FormTemplateLogin.d.ts +1 -0
  7. package/components/FormTemplate/FormTemplateNewPassword/FormTemplateNewPassword.d.ts +1 -0
  8. package/components/FormTemplate/FormTemplateProfile/FormTemplateProfile.d.ts +1 -0
  9. package/components/FormTemplate/FormTemplateProfile/UserPasswordChange.d.ts +1 -0
  10. package/components/FormTemplate/FormTemplateRegister/FormTemplateRegister.d.ts +1 -0
  11. package/components/FormTemplate/FormTemplateResetPassword/FormTemplateResetPassword.d.ts +1 -0
  12. package/components/FormTemplate/FormTemplateToursAndTickets/FormTemplateToursAndTickets.d.ts +1 -0
  13. package/components/FormTemplate/FormTemplateTripNext/FormTemplateTripNext.d.ts +1 -0
  14. package/components/FormTemplate/FormTemplateTripNext/StepDestination/StepDestination.d.ts +1 -0
  15. package/components/FormTemplate/FormTemplateTripNext/StepTravelerInfo/StepTravelerInfo.d.ts +1 -0
  16. package/components/GoogleMaps/GPlacesAutocomplete2/GPlacesAutocomplete2.d.ts +2 -0
  17. package/components/MustTryCard/MustTryCard.d.ts +1 -0
  18. package/components/PoiCategories/PoiCategories.d.ts +2 -0
  19. package/components/PoiInfo/PoiInfo.d.ts +1 -0
  20. package/components/PoiInfo/PoiInfoImage/PoiInfoImage.d.ts +1 -0
  21. package/components/PoiInfo/PoiInfoText/OpenedHours/OpenedHours.d.ts +2 -0
  22. package/components/PoiInfo/PoiInfoText/PoiInfoText.d.ts +1 -0
  23. package/components/PoiRefCard/PoiRefCard.d.ts +1 -0
  24. package/components/ResetPasswordApproved/ResetPasswordApproved.d.ts +2 -0
  25. package/components/ResetPasswordEmail/ResetPasswordEmail.d.ts +2 -0
  26. package/components/SearchThisArea/SearchThisArea.d.ts +1 -0
  27. package/components/SocialLogin/SocialLogin.d.ts +2 -0
  28. package/components/StepAlternativeCard/StepAlternativeCard.d.ts +1 -0
  29. package/components/StepCard/StepCard.d.ts +1 -0
  30. package/components/StepCardUserReaction/StepCardUserReaction.d.ts +1 -0
  31. package/components/StepInfo/StepInfo.d.ts +1 -0
  32. package/components/StepTimes/StepTimes.d.ts +2 -0
  33. package/components/TasteInfo/MustTryPois/MustTryPois.d.ts +1 -0
  34. package/components/TasteInfo/TasteInfo.d.ts +1 -0
  35. package/components/TourRefCardProduct/TourRefCardProduct.d.ts +1 -0
  36. package/components/TripCard/TripCard.d.ts +1 -0
  37. package/components/UserCompanionSelection/UserCompanionSelection.d.ts +1 -0
  38. package/components/UserCompanions/UserCompanions.d.ts +1 -0
  39. package/components/base/Copy/Copy.d.ts +2 -0
  40. package/components/base/ShowMoreLess/ShowMoreLess.d.ts +2 -0
  41. package/components/base/SideNavigation/SideNavigation.d.ts +4 -1
  42. package/components/base/Svg/Icons/EditHour.d.ts +4 -0
  43. package/components/base/Svg/Icons/index.d.ts +2 -1
  44. package/components/base/Svg/Svg.d.ts +1 -1
  45. package/components/base/ToggleSwitch/ToggleSwitch.d.ts +1 -1
  46. package/index.js +2352 -2294
  47. package/index.js.map +1 -1
  48. package/min.css +1 -1
  49. package/package.json +2 -2
  50. package/providers/bb/components/BbAccommodationInfo/BbAccommodationInfo.d.ts +1 -0
  51. package/providers/bb/components/BbCarRentInfo/BbCarRentInfo.d.ts +2 -1
  52. package/providers/bb/components/BbTourCard/BbTourCard.d.ts +2 -1
  53. package/providers/bb/components/BbTourCard/BbTourCardText/BbTourCardText.d.ts +2 -1
  54. package/providers/bb/components/BbTourInfo/BbTourInfo.d.ts +1 -0
  55. package/providers/gyg/components/GygTourCard/GygTourCard.d.ts +2 -1
  56. package/providers/gyg/components/GygTourCard/GygTourCardText/GygTourCardText.d.ts +2 -1
  57. package/providers/gyg/components/GygTourInfoEx/GygTourInfo.d.ts +1 -0
  58. package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourInfoForm.d.ts +2 -1
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@tripian/react",
3
- "version": "9.0.7",
3
+ "version": "9.0.9",
4
4
  "description": "Tripian Inc React Components",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
7
  "dependencies": {
8
8
  "@react-google-maps/api": "^2.12.0",
9
- "@tripian/model": "9.0.7",
9
+ "@tripian/model": "9.0.9",
10
10
  "external-svg-loader": "^1.6.1",
11
11
  "moment": "^2.24.0",
12
12
  "react": "^18.1.0",
@@ -9,6 +9,7 @@ interface IBbAccommodationInfo {
9
9
  onBookNow: (url: string) => void;
10
10
  onAddToItinerary: (accommodation: Model.Accommodation) => void;
11
11
  close: () => void;
12
+ t: (value: Model.TranslationKey) => string;
12
13
  }
13
14
  declare const BbAccommodationInfo: React.FC<IBbAccommodationInfo>;
14
15
  export default BbAccommodationInfo;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import 'slick-carousel/slick/slick.css';
3
3
  import 'slick-carousel/slick/slick-theme.css';
4
- import { Providers } from '@tripian/model';
4
+ import Model, { Providers } from '@tripian/model';
5
5
  interface IBbCarRentInfo {
6
6
  pickUpDateTime: string;
7
7
  dropOffDateTime: string;
@@ -9,6 +9,7 @@ interface IBbCarRentInfo {
9
9
  onRentNow: (url: string) => void;
10
10
  close: () => void;
11
11
  dateOfBirth?: string | null;
12
+ t: (value: Model.TranslationKey) => string;
12
13
  }
13
14
  declare const BbCarRentInfo: React.FC<IBbCarRentInfo>;
14
15
  export default BbCarRentInfo;
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
- import { Providers } from '@tripian/model';
2
+ import Model, { Providers } from '@tripian/model';
3
3
  interface IBbTourCard {
4
4
  tour: Providers.Bb.Product;
5
5
  bodyClicked: (tour: Providers.Bb.Product) => void;
6
+ t: (value: Model.TranslationKey) => string;
6
7
  }
7
8
  declare const BbTourCard: React.FC<IBbTourCard>;
8
9
  export default BbTourCard;
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
- import { Providers } from '@tripian/model';
2
+ import Model, { Providers } from '@tripian/model';
3
3
  interface IBbTourCardText {
4
4
  tour: Providers.Bb.Product;
5
+ t: (value: Model.TranslationKey) => string;
5
6
  }
6
7
  declare const BbTourCardText: React.FC<IBbTourCardText>;
7
8
  export default BbTourCardText;
@@ -7,6 +7,7 @@ interface IBbTourInfo {
7
7
  tripCurrentDate: string;
8
8
  onBookNow: (bbUrl: string) => void;
9
9
  close: () => void;
10
+ t: (value: Model.TranslationKey) => string;
10
11
  }
11
12
  declare const BbTourInfo: React.FC<IBbTourInfo>;
12
13
  export default BbTourInfo;
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
- import { Providers } from '@tripian/model';
2
+ import Model, { Providers } from '@tripian/model';
3
3
  interface IGygTourCard {
4
4
  tour: Providers.Gyg.Tour;
5
5
  bodyClicked: (tour: Providers.Gyg.Tour) => void;
6
+ t: (value: Model.TranslationKey) => string;
6
7
  }
7
8
  declare const GygTourCard: React.FC<IGygTourCard>;
8
9
  export default GygTourCard;
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
- import { Providers } from '@tripian/model';
2
+ import Model, { Providers } from '@tripian/model';
3
3
  interface IGygTourCardText {
4
4
  tour: Providers.Gyg.Tour;
5
+ t: (value: Model.TranslationKey) => string;
5
6
  }
6
7
  declare const GygTourCardText: React.FC<IGygTourCardText>;
7
8
  export default GygTourCardText;
@@ -16,6 +16,7 @@ interface IGygTourInfo {
16
16
  tourInfoFormCallback: (date: string, adultCount: number, tourId: number, childrenCount?: number) => void;
17
17
  bookingClick: (bookingRequest: Providers.Gyg.TourBookingRequest) => void;
18
18
  paymentClick: (data: Providers.Gyg.TourShoppingFormData) => void;
19
+ t: (value: Model.TranslationKey) => string;
19
20
  }
20
21
  declare const GygTourInfo: React.FC<IGygTourInfo>;
21
22
  export default GygTourInfo;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Providers } from '@tripian/model';
2
+ import Model, { Providers } from '@tripian/model';
3
3
  interface IGygTourInfoForm {
4
4
  initialDate: string;
5
5
  adultCount: number;
@@ -12,6 +12,7 @@ interface IGygTourInfoForm {
12
12
  loading?: boolean;
13
13
  savingRate?: number;
14
14
  tourInfoFormCallback: (date: string, adultCount: number, tourId: number, childrenCount?: number) => void;
15
+ t: (value: Model.TranslationKey) => string;
15
16
  }
16
17
  declare const GygTourInfoForm: React.FC<IGygTourInfoForm>;
17
18
  export default GygTourInfoForm;