@tripian/react 6.0.56 → 6.0.58

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 (43) hide show
  1. package/components/ItineraryCardSlider/ItineraryCardSlider.d.ts +7 -0
  2. package/components/Loading/Loading.d.ts +0 -1
  3. package/components/PoiInfo/PoiInfo.d.ts +1 -0
  4. package/components/PoiInfo/PoiInfoText/PoiInfoText.d.ts +1 -0
  5. package/components/PoiRefCard/PoiRefCard.d.ts +1 -0
  6. package/components/StepAlternativeCard/StepAlternativeCard.d.ts +1 -0
  7. package/components/StepCard/StepCard.d.ts +1 -2
  8. package/components/StepInfo/StepInfo.d.ts +1 -0
  9. package/components/TripCard/TripCard.d.ts +1 -0
  10. package/components/base/Button/Icons/index.d.ts +0 -1
  11. package/components/base/PageLoading/PageLoading.d.ts +0 -1
  12. package/components/base/SideNavigation/SideNavigation.d.ts +2 -2
  13. package/components/base/Svg/Icons/Attraction.d.ts +4 -0
  14. package/components/base/Svg/Icons/Cafe.d.ts +4 -0
  15. package/components/base/Svg/Icons/DragDrop.d.ts +4 -0
  16. package/components/base/Svg/Icons/Link.d.ts +4 -0
  17. package/components/base/Svg/Icons/MustTry.d.ts +4 -0
  18. package/components/base/Svg/Icons/Nightlife.d.ts +4 -0
  19. package/components/base/Svg/Icons/Restaurant.d.ts +4 -0
  20. package/components/base/Svg/Icons/Share.d.ts +4 -0
  21. package/components/base/Svg/Icons/index.d.ts +9 -1
  22. package/img/1a8f37ec9d11feba58bfad488b2a832f.svg +1 -0
  23. package/index.d.ts +8 -3
  24. package/index.js +4276 -2507
  25. package/index.js.map +1 -1
  26. package/min.css +1 -1
  27. package/package.json +2 -2
  28. package/providers/gyg/components/GygTourInfo/GygTourInfoForm/GygTourInfoForm.d.ts +10 -11
  29. package/providers/gyg/components/GygTourInfo/GygTourOption/GygTourOption.d.ts +12 -0
  30. package/providers/gyg/components/GygTourInfo/GygTourOption/isoLanguages.d.ts +5 -0
  31. package/providers/gyg/components/GygTourInfo/GygTourShoppingForm/GygTourShoppingForm.d.ts +9 -0
  32. package/providers/gyg/components/GygTourInfo/GygTourShoppingForm/timezones.d.ts +8 -0
  33. package/providers/gyg/components/GygTourInfoEx/GygTourInfo.d.ts +21 -0
  34. package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourInfoForm.d.ts +17 -0
  35. package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourOption/GygTourOption.d.ts +13 -0
  36. package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourOption/isoLanguages.d.ts +5 -0
  37. package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourShoppingForm/GygTourShoppingForm.d.ts +8 -0
  38. package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourShoppingForm/timezones.d.ts +8 -0
  39. package/providers/gyg/components/GygTourInfoEx/GygTourInfoImage/GygTourInfoImage.d.ts +9 -0
  40. package/providers/gyg/components/GygTourInfoEx/GygTourInfoText/GygTourInfoText.d.ts +7 -0
  41. package/providers/viator/components/ViatorProductInfo/ViatorTourInfoImage/ViatorTourInfoImage.d.ts +9 -0
  42. /package/components/{FeedBack → Feedback}/Feedback.d.ts +0 -0
  43. /package/components/{FeedBack → Feedback}/UserFeedbacks/UserFeedbacks.d.ts +0 -0
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@tripian/react",
3
- "version": "6.0.56",
3
+ "version": "6.0.58",
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": "6.0.55",
9
+ "@tripian/model": "6.0.57",
10
10
  "external-svg-loader": "^1.6.1",
11
11
  "moment": "^2.24.0",
12
12
  "react": "^18.1.0",
@@ -1,17 +1,16 @@
1
1
  import React from 'react';
2
2
  import { Providers } from '@tripian/model';
3
3
  interface IGygTourInfoForm {
4
- initialDate: string;
5
- adultCount: number;
6
- startDate: string;
7
- endDate: string;
8
- childrenCount?: number;
9
- tour: Providers.Gyg.Tour;
10
- tourOptionDetails?: Providers.Gyg.TourOptionDetails[];
11
- bookingInfo?: Providers.Gyg.TourBooking;
12
- loading?: boolean;
13
- savingRate?: number;
14
- tourInfoFormCallback: (date: string, adultCount: number, tourId: number, childrenCount?: number) => void;
4
+ formPersonsCategories: Providers.Gyg.TourDataFormPersonsCategory[];
5
+ personsCategories: (Providers.Gyg.TourDataFormPersonsCategory & {
6
+ count: number;
7
+ })[];
8
+ setPersonsCategories: (personsCategories: (Providers.Gyg.TourDataFormPersonsCategory & {
9
+ count: number;
10
+ })[]) => void;
11
+ availableDates: string[];
12
+ availableDate?: string;
13
+ setAvailableDate: (availableDate: string) => void;
15
14
  }
16
15
  declare const GygTourInfoForm: React.FC<IGygTourInfoForm>;
17
16
  export default GygTourInfoForm;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IGygTourOption {
4
+ tourOption: Providers.Gyg.TourDataOption;
5
+ availabilities: Providers.Gyg.TourDataOptionAvailability[];
6
+ priceTotal: number;
7
+ adultCount: number;
8
+ childrenCount?: number;
9
+ bookingRequestCallback: (bookingRequest: Providers.Gyg.TourBookingRequest) => void;
10
+ }
11
+ declare const GygTourOption: React.FC<IGygTourOption>;
12
+ export default GygTourOption;
@@ -0,0 +1,5 @@
1
+ declare const isoLanguages: {
2
+ code: string;
3
+ name: string;
4
+ }[];
5
+ export default isoLanguages;
@@ -0,0 +1,9 @@
1
+ import Model, { Providers } from '@tripian/model';
2
+ import React from 'react';
3
+ interface IGygTourShoppingForm {
4
+ user?: Model.User;
5
+ clicked: (data: Providers.Gyg.TourShoppingFormData) => void;
6
+ goBack: () => void;
7
+ }
8
+ declare const GygTourShoppingForm: React.FC<IGygTourShoppingForm>;
9
+ export default GygTourShoppingForm;
@@ -0,0 +1,8 @@
1
+ export declare type TimeZone = {
2
+ Name: string;
3
+ Code: string;
4
+ Timezone: string;
5
+ UTC: string;
6
+ MobileCode: string;
7
+ };
8
+ export declare const allTimeZone: TimeZone[];
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import Model, { Providers } from '@tripian/model';
3
+ interface IGygTourInfo {
4
+ initialDate: string;
5
+ adultCount: number;
6
+ startDate: string;
7
+ endDate: string;
8
+ childrenCount?: number;
9
+ tour: Providers.Gyg.Tour;
10
+ showCloseButton?: boolean;
11
+ tourOptionDetails?: Providers.Gyg.TourOptionDetails[];
12
+ bookingInfo?: Providers.Gyg.TourBooking;
13
+ loading?: boolean;
14
+ user?: Model.User;
15
+ close: () => void;
16
+ tourInfoFormCallback: (date: string, adultCount: number, tourId: number, childrenCount?: number) => void;
17
+ bookingClick: (bookingRequest: Providers.Gyg.TourBookingRequest) => void;
18
+ paymentClick: (data: Providers.Gyg.TourShoppingFormData) => void;
19
+ }
20
+ declare const GygTourInfo: React.FC<IGygTourInfo>;
21
+ export default GygTourInfo;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IGygTourInfoForm {
4
+ initialDate: string;
5
+ adultCount: number;
6
+ startDate: string;
7
+ endDate: string;
8
+ childrenCount?: number;
9
+ tour: Providers.Gyg.Tour;
10
+ tourOptionDetails?: Providers.Gyg.TourOptionDetails[];
11
+ bookingInfo?: Providers.Gyg.TourBooking;
12
+ loading?: boolean;
13
+ savingRate?: number;
14
+ tourInfoFormCallback: (date: string, adultCount: number, tourId: number, childrenCount?: number) => void;
15
+ }
16
+ declare const GygTourInfoForm: React.FC<IGygTourInfoForm>;
17
+ export default GygTourInfoForm;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { Providers } from '@tripian/model';
3
+ interface IGygTourOption {
4
+ tourOption: Providers.Gyg.TourOption;
5
+ availabilities: Providers.Gyg.TourAvailability[];
6
+ pricings?: Providers.Gyg.TourOptionPricing;
7
+ adultCount: number;
8
+ childrenCount?: number;
9
+ isSelected?: boolean;
10
+ bookingRequestCallback: (bookingRequest: Providers.Gyg.TourBookingRequest) => void;
11
+ }
12
+ declare const GygTourOption: React.FC<IGygTourOption>;
13
+ export default GygTourOption;
@@ -0,0 +1,5 @@
1
+ declare const isoLanguages: {
2
+ code: string;
3
+ name: string;
4
+ }[];
5
+ export default isoLanguages;
@@ -0,0 +1,8 @@
1
+ import Model, { Providers } from '@tripian/model';
2
+ import React from 'react';
3
+ interface IGygTourShoppingForm {
4
+ user?: Model.User;
5
+ clicked: (data: Providers.Gyg.TourShoppingFormData) => void;
6
+ }
7
+ declare const GygTourShoppingForm: React.FC<IGygTourShoppingForm>;
8
+ export default GygTourShoppingForm;
@@ -0,0 +1,8 @@
1
+ export declare type TimeZone = {
2
+ Name: string;
3
+ Code: string;
4
+ Timezone: string;
5
+ UTC: string;
6
+ MobileCode: string;
7
+ };
8
+ export declare const allTimeZone: TimeZone[];
@@ -0,0 +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;
@@ -0,0 +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;
@@ -0,0 +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 IViatorTourInfoImage {
6
+ tourImage: Providers.Viator.TourImages[];
7
+ }
8
+ declare const ViatorTourInfoImage: React.FC<IViatorTourInfoImage>;
9
+ export default ViatorTourInfoImage;
File without changes