@tripian/react 6.0.55 → 6.0.57
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.
- package/components/ItineraryCardSlider/ItineraryCardSlider.d.ts +7 -0
- package/components/Loading/Loading.d.ts +0 -1
- package/components/PoiInfo/PoiInfo.d.ts +1 -0
- package/components/PoiInfo/PoiInfoText/PoiInfoText.d.ts +1 -0
- package/components/PoiRefCard/PoiRefCard.d.ts +1 -0
- package/components/StepAlternativeCard/StepAlternativeCard.d.ts +1 -0
- package/components/StepCard/StepCard.d.ts +1 -2
- package/components/StepInfo/StepInfo.d.ts +1 -0
- package/components/TripCard/TripCard.d.ts +1 -0
- package/components/base/Button/Icons/index.d.ts +0 -1
- package/components/base/PageLoading/PageLoading.d.ts +0 -1
- package/components/base/SideNavigation/SideNavigation.d.ts +2 -2
- package/components/base/Svg/Icons/Attraction.d.ts +4 -0
- package/components/base/Svg/Icons/Cafe.d.ts +4 -0
- package/components/base/Svg/Icons/DragDrop.d.ts +4 -0
- package/components/base/Svg/Icons/Link.d.ts +4 -0
- package/components/base/Svg/Icons/MustTry.d.ts +4 -0
- package/components/base/Svg/Icons/Nightlife.d.ts +4 -0
- package/components/base/Svg/Icons/Restaurant.d.ts +4 -0
- package/components/base/Svg/Icons/Share.d.ts +4 -0
- package/components/base/Svg/Icons/index.d.ts +9 -1
- package/img/1a8f37ec9d11feba58bfad488b2a832f.svg +1 -0
- package/index.d.ts +8 -3
- package/index.js +4274 -2505
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +2 -2
- package/providers/gyg/components/GygTourInfo/GygTourInfoForm/GygTourInfoForm.d.ts +10 -11
- package/providers/gyg/components/GygTourInfo/GygTourOption/GygTourOption.d.ts +12 -0
- package/providers/gyg/components/GygTourInfo/GygTourOption/isoLanguages.d.ts +5 -0
- package/providers/gyg/components/GygTourInfo/GygTourShoppingForm/GygTourShoppingForm.d.ts +9 -0
- package/providers/gyg/components/GygTourInfo/GygTourShoppingForm/timezones.d.ts +8 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfo.d.ts +21 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourInfoForm.d.ts +17 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourOption/GygTourOption.d.ts +13 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourOption/isoLanguages.d.ts +5 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourShoppingForm/GygTourShoppingForm.d.ts +8 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourShoppingForm/timezones.d.ts +8 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfoImage/GygTourInfoImage.d.ts +9 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfoText/GygTourInfoText.d.ts +7 -0
- package/providers/viator/components/ViatorProductInfo/ViatorTourInfoImage/ViatorTourInfoImage.d.ts +9 -0
- /package/components/{FeedBack → Feedback}/Feedback.d.ts +0 -0
- /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.
|
|
3
|
+
"version": "6.0.57",
|
|
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.
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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,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,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;
|
package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourOption/GygTourOption.d.ts
ADDED
|
@@ -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,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,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;
|
package/providers/viator/components/ViatorProductInfo/ViatorTourInfoImage/ViatorTourInfoImage.d.ts
ADDED
|
@@ -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
|
|
File without changes
|