@tripian/react 4.0.0 → 4.3.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.
- package/components/CardSlider/CardSlider.d.ts +1 -0
- package/components/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/components/DirectionInfo/DirectionInfo.d.ts +1 -0
- package/components/FormTemplate/FormTemplateProfile/FormTemplateProfile.d.ts +1 -1
- package/components/GoogleMaps/GMarker/Base/GMarkerProviderBase/GMarkerProviderBase.d.ts +12 -0
- package/components/GoogleMaps/GMarker/GMarkerProvider.d.ts +11 -0
- package/components/GoogleMaps/GPlacesAutocomplete/GPlacesAutocomplete.d.ts +1 -0
- package/components/GoogleMaps/GPlacesAutocomplete2/GPlacesAutocomplete2.d.ts +2 -0
- package/components/GoogleMaps/GRoute/GRouteRender.d.ts +1 -0
- package/components/GoogleMaps/GRoute/GRouteService.d.ts +1 -0
- package/components/GoogleMaps/GRoute/IRouteResult.d.ts +1 -0
- package/components/GoogleMaps/GoogleMaps.d.ts +5 -1
- package/components/Label/Label.d.ts +1 -0
- package/components/RefCard/RefCard.d.ts +1 -0
- package/components/StepTimeframe/StepTimeframe.d.ts +1 -1
- package/components/UserCompanions/UserCompanions.d.ts +1 -1
- package/components/base/Accordion/Accordion.d.ts +10 -0
- package/components/base/AutoCompleteSearchV1/AutoCompleteSearchV1.d.ts +1 -1
- package/components/base/Button/Icons/Base.d.ts +1 -1
- package/components/base/Dropdown/Dropdown.d.ts +1 -1
- package/components/base/ImgLazyBase/ImgLazyBase.d.ts +1 -0
- package/components/base/Modal/Modal.d.ts +2 -0
- package/components/base/ModalFull/ModalFull.d.ts +1 -0
- package/components/base/NumberCounter/NumberCounter.d.ts +1 -1
- package/components/base/NumberInput/NumberInput.d.ts +1 -1
- package/components/base/ProgressAppLoading/ProgressAppLoading.d.ts +3 -1
- package/components/base/RadioButtonGroup/RadioButtonGroup.d.ts +1 -1
- package/components/base/SwitchOld/SwitchOld.d.ts +1 -1
- package/index.d.ts +4 -4
- package/index.js +13468 -9883
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +5 -6
- package/providers/bb/components/BbAccommodationInfoWindow/BbAccommodationInfoWindow.d.ts +13 -0
- package/providers/bb/components/BbTourInfo/BbTourInfo.d.ts +1 -1
- package/providers/bb/components/BbTourInfo/BbTourInfoForm/BbTourInfoForm.d.ts +7 -5
- package/providers/gyg/components/BookingDetails/BookingDetails.d.ts +7 -0
- package/providers/gyg/components/GygTourInfo/GygTourInfo.d.ts +5 -1
- package/providers/gyg/components/GygTourInfo/GygTourInfoForm/GygTourInfoForm.d.ts +4 -2
- package/providers/gyg/components/GygTourInfo/GygTourInfoForm/GygTourOption/GygTourOption.d.ts +2 -1
- package/providers/gyg/components/GygTourInfo/GygTourInfoForm/GygTourOption/isoLanguages.d.ts +4 -0
- package/components/TasteCard2Slider/TasteCard2Slider.d.ts +0 -10
- package/components/TopThingsSlider/TopThingsSlider.d.ts +0 -10
- package/providers/glx/components/GlxTourCardSlider/GlxTourCardSlider.d.ts +0 -10
package/package.json
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tripian/react",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "Tripian Inc React Components",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"npm": "npm publish --access public"
|
|
9
|
-
},
|
|
10
7
|
"dependencies": {
|
|
11
|
-
"@react-google-maps/api": "^
|
|
12
|
-
"@tripian/model": "^4.
|
|
8
|
+
"@react-google-maps/api": "^2.12.0",
|
|
9
|
+
"@tripian/model": "^4.3.0",
|
|
13
10
|
"moment": "^2.24.0",
|
|
11
|
+
"react": "^18.1.0",
|
|
14
12
|
"react-dates": "^21.8.0",
|
|
13
|
+
"react-dom": "^18.1.0",
|
|
15
14
|
"react-google-recaptcha": "^2.0.1",
|
|
16
15
|
"react-id-swiper": "^3.0.0",
|
|
17
16
|
"react-select": "^3.1.1",
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Providers } from '@tripian/model';
|
|
3
|
+
interface IBbAccommodationInfoWindow {
|
|
4
|
+
checkIn: string;
|
|
5
|
+
checkOut: string;
|
|
6
|
+
adults: number;
|
|
7
|
+
children: number;
|
|
8
|
+
hotelOffer: Providers.Bb.SearchAccommodationHotelOffer;
|
|
9
|
+
onBookNow: (roomOffer: Providers.Bb.SearchAccommodationRoomOffer, url: string) => void;
|
|
10
|
+
close: () => void;
|
|
11
|
+
}
|
|
12
|
+
declare const BbAccommodationInfoWindow: React.FC<IBbAccommodationInfoWindow>;
|
|
13
|
+
export default BbAccommodationInfoWindow;
|
|
@@ -5,7 +5,7 @@ interface IBbTourInfo {
|
|
|
5
5
|
activityInfo: Providers.Bb.ActivityInfo;
|
|
6
6
|
tripProfile: Model.TripProfile;
|
|
7
7
|
tripCurrentDate: string;
|
|
8
|
-
|
|
8
|
+
onBookNow: (bbUrl: string) => void;
|
|
9
9
|
close: () => void;
|
|
10
10
|
}
|
|
11
11
|
declare const BbTourInfo: React.FC<IBbTourInfo>;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import Model
|
|
2
|
+
import Model from '@tripian/model';
|
|
3
|
+
import moment from 'moment';
|
|
3
4
|
interface IBbTourInfoForm {
|
|
4
|
-
product: Providers.Bb.Product;
|
|
5
5
|
tripProfile: Model.TripProfile;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
date: moment.Moment;
|
|
7
|
+
price?: number;
|
|
8
|
+
showNotFoundMessage?: boolean;
|
|
9
|
+
onChangeDate: (date: moment.Moment) => void;
|
|
10
|
+
searchClick: () => void;
|
|
9
11
|
}
|
|
10
12
|
declare const BbTourInfoForm: React.FC<IBbTourInfoForm>;
|
|
11
13
|
export default BbTourInfoForm;
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Providers } from '@tripian/model';
|
|
2
|
+
import Model, { Providers } from '@tripian/model';
|
|
3
3
|
interface IGygTourInfo {
|
|
4
4
|
initialDate: string;
|
|
5
5
|
adultCount: number;
|
|
6
|
+
startDate: string;
|
|
7
|
+
endDate: string;
|
|
6
8
|
childrenCount?: number;
|
|
7
9
|
tour: Providers.Gyg.Tour;
|
|
8
10
|
showCloseButton?: boolean;
|
|
9
11
|
tourOptionDetails?: Providers.Gyg.TourOptionDetails[];
|
|
10
12
|
bookingInfo?: Providers.Gyg.TourBooking;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
user?: Model.User;
|
|
11
15
|
close: () => void;
|
|
12
16
|
tourInfoFormCallback: (date: string, adultCount: number, tourId: number, childrenCount?: number) => void;
|
|
13
17
|
bookingClick: (bookingRequest: Providers.Gyg.TourBookingRequest) => void;
|
|
@@ -3,13 +3,15 @@ import { Providers } from '@tripian/model';
|
|
|
3
3
|
interface IGygTourInfoForm {
|
|
4
4
|
initialDate: string;
|
|
5
5
|
adultCount: number;
|
|
6
|
+
startDate: string;
|
|
7
|
+
endDate: string;
|
|
6
8
|
childrenCount?: number;
|
|
7
9
|
tour: Providers.Gyg.Tour;
|
|
8
10
|
tourOptionDetails?: Providers.Gyg.TourOptionDetails[];
|
|
9
11
|
bookingInfo?: Providers.Gyg.TourBooking;
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
savingRate?: number;
|
|
10
14
|
tourInfoFormCallback: (date: string, adultCount: number, tourId: number, childrenCount?: number) => void;
|
|
11
|
-
bookingClick: (bookingRequest: Providers.Gyg.TourBookingRequest) => void;
|
|
12
|
-
paymentClick: (data: Providers.Gyg.TourShoppingFormData) => void;
|
|
13
15
|
}
|
|
14
16
|
declare const GygTourInfoForm: React.FC<IGygTourInfoForm>;
|
|
15
17
|
export default GygTourInfoForm;
|
package/providers/gyg/components/GygTourInfo/GygTourInfoForm/GygTourOption/GygTourOption.d.ts
CHANGED
|
@@ -6,7 +6,8 @@ interface IGygTourOption {
|
|
|
6
6
|
pricings?: Providers.Gyg.TourOptionPricing;
|
|
7
7
|
adultCount: number;
|
|
8
8
|
childrenCount?: number;
|
|
9
|
-
|
|
9
|
+
isSelected?: boolean;
|
|
10
|
+
bookingRequestCallback: (bookingRequest: Providers.Gyg.TourBookingRequest) => void;
|
|
10
11
|
}
|
|
11
12
|
declare const GygTourOption: React.FC<IGygTourOption>;
|
|
12
13
|
export default GygTourOption;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Model from '@tripian/model';
|
|
3
|
-
import 'slick-carousel/slick/slick.css';
|
|
4
|
-
import 'slick-carousel/slick/slick-theme.css';
|
|
5
|
-
interface ITasteCard2Slider {
|
|
6
|
-
tastes: Model.TasteItem[];
|
|
7
|
-
bodyClicked: (taste: Model.TasteItem) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const TasteCard2Slider: React.FC<ITasteCard2Slider>;
|
|
10
|
-
export default TasteCard2Slider;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Model from '@tripian/model';
|
|
3
|
-
import 'slick-carousel/slick/slick.css';
|
|
4
|
-
import 'slick-carousel/slick/slick-theme.css';
|
|
5
|
-
interface ITopThingsSlider {
|
|
6
|
-
pois: Model.Poi[];
|
|
7
|
-
bodyClicked: (poi: Model.Poi) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const TopThingsSlider: React.FC<ITopThingsSlider>;
|
|
10
|
-
export default TopThingsSlider;
|
|
@@ -1,10 +0,0 @@
|
|
|
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;
|