@tripian/react 9.0.7 → 9.0.8
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/AccommondationInfo/AccommondationInfo.d.ts +1 -0
- package/components/DirectionInfo/DirectionInfo.d.ts +2 -0
- package/components/Feedback/Feedback.d.ts +1 -0
- package/components/FormTemplate/FormTemplateCompanion/FormTemplateCompanion.d.ts +1 -0
- package/components/FormTemplate/FormTemplateLogin/FormTemplateLogin.d.ts +1 -0
- package/components/FormTemplate/FormTemplateLoginEx/FormTemplateLogin.d.ts +1 -0
- package/components/FormTemplate/FormTemplateNewPassword/FormTemplateNewPassword.d.ts +1 -0
- package/components/FormTemplate/FormTemplateProfile/FormTemplateProfile.d.ts +1 -0
- package/components/FormTemplate/FormTemplateProfile/UserPasswordChange.d.ts +1 -0
- package/components/FormTemplate/FormTemplateRegister/FormTemplateRegister.d.ts +1 -0
- package/components/FormTemplate/FormTemplateResetPassword/FormTemplateResetPassword.d.ts +1 -0
- package/components/FormTemplate/FormTemplateToursAndTickets/FormTemplateToursAndTickets.d.ts +1 -0
- package/components/FormTemplate/FormTemplateTripNext/FormTemplateTripNext.d.ts +1 -0
- package/components/FormTemplate/FormTemplateTripNext/StepDestination/StepDestination.d.ts +1 -0
- package/components/FormTemplate/FormTemplateTripNext/StepTravelerInfo/StepTravelerInfo.d.ts +1 -0
- package/components/GoogleMaps/GPlacesAutocomplete2/GPlacesAutocomplete2.d.ts +2 -0
- package/components/MustTryCard/MustTryCard.d.ts +1 -0
- package/components/PoiCategories/PoiCategories.d.ts +2 -0
- package/components/PoiInfo/PoiInfo.d.ts +1 -0
- package/components/PoiInfo/PoiInfoImage/PoiInfoImage.d.ts +1 -0
- package/components/PoiInfo/PoiInfoText/OpenedHours/OpenedHours.d.ts +2 -0
- package/components/PoiInfo/PoiInfoText/PoiInfoText.d.ts +1 -0
- package/components/PoiRefCard/PoiRefCard.d.ts +1 -0
- package/components/ResetPasswordApproved/ResetPasswordApproved.d.ts +2 -0
- package/components/ResetPasswordEmail/ResetPasswordEmail.d.ts +2 -0
- package/components/SearchThisArea/SearchThisArea.d.ts +1 -0
- package/components/SocialLogin/SocialLogin.d.ts +2 -0
- package/components/StepAlternativeCard/StepAlternativeCard.d.ts +1 -0
- package/components/StepCard/StepCard.d.ts +1 -0
- package/components/StepCardUserReaction/StepCardUserReaction.d.ts +1 -0
- package/components/StepInfo/StepInfo.d.ts +1 -0
- package/components/StepTimes/StepTimes.d.ts +2 -0
- package/components/TasteInfo/MustTryPois/MustTryPois.d.ts +1 -0
- package/components/TasteInfo/TasteInfo.d.ts +1 -0
- package/components/TourRefCardProduct/TourRefCardProduct.d.ts +1 -0
- package/components/TripCard/TripCard.d.ts +1 -0
- package/components/UserCompanionSelection/UserCompanionSelection.d.ts +1 -0
- package/components/UserCompanions/UserCompanions.d.ts +1 -0
- package/components/base/Copy/Copy.d.ts +2 -0
- package/components/base/ShowMoreLess/ShowMoreLess.d.ts +2 -0
- package/components/base/SideNavigation/SideNavigation.d.ts +4 -1
- package/components/base/Svg/Icons/EditHour.d.ts +4 -0
- package/components/base/Svg/Icons/index.d.ts +2 -1
- package/components/base/Svg/Svg.d.ts +1 -1
- package/components/base/ToggleSwitch/ToggleSwitch.d.ts +1 -1
- package/index.js +2352 -2294
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +2 -2
- package/providers/bb/components/BbAccommodationInfo/BbAccommodationInfo.d.ts +1 -0
- package/providers/bb/components/BbCarRentInfo/BbCarRentInfo.d.ts +2 -1
- package/providers/bb/components/BbTourCard/BbTourCard.d.ts +2 -1
- package/providers/bb/components/BbTourCard/BbTourCardText/BbTourCardText.d.ts +2 -1
- package/providers/bb/components/BbTourInfo/BbTourInfo.d.ts +1 -0
- package/providers/gyg/components/GygTourCard/GygTourCard.d.ts +2 -1
- package/providers/gyg/components/GygTourCard/GygTourCardText/GygTourCardText.d.ts +2 -1
- package/providers/gyg/components/GygTourInfoEx/GygTourInfo.d.ts +1 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourInfoForm.d.ts +2 -1
|
@@ -3,6 +3,7 @@ import Model from '@tripian/model';
|
|
|
3
3
|
interface IAccommondationInfo {
|
|
4
4
|
accommodation: Model.Accommodation;
|
|
5
5
|
close: (accommodation: Model.Accommodation) => void;
|
|
6
|
+
t: (value: Model.TranslationKey) => string;
|
|
6
7
|
}
|
|
7
8
|
declare const AccommondationInfo: React.FC<IAccommondationInfo>;
|
|
8
9
|
export default AccommondationInfo;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="google.maps" />
|
|
2
2
|
/// <reference types="googlemaps" />
|
|
3
3
|
import React from 'react';
|
|
4
|
+
import Model from '@tripian/model';
|
|
4
5
|
interface IDirectionInfo {
|
|
5
6
|
distance: string;
|
|
6
7
|
direction: string;
|
|
@@ -10,6 +11,7 @@ interface IDirectionInfo {
|
|
|
10
11
|
};
|
|
11
12
|
bookaride?: () => void;
|
|
12
13
|
hideBookaRide: boolean;
|
|
14
|
+
t: (value: Model.TranslationKey) => string;
|
|
13
15
|
}
|
|
14
16
|
declare const DirectionInfo: React.FC<IDirectionInfo>;
|
|
15
17
|
export default DirectionInfo;
|
|
@@ -4,6 +4,7 @@ interface IFormTemplateCompanion {
|
|
|
4
4
|
questions: Array<Model.Question>;
|
|
5
5
|
userCompanion: Model.Companion;
|
|
6
6
|
callbackFormTemplateCompanion: (userCompanion: Model.Companion) => void;
|
|
7
|
+
t: (value: Model.TranslationKey) => string;
|
|
7
8
|
}
|
|
8
9
|
declare const FormTemplateCompanion: React.FC<IFormTemplateCompanion>;
|
|
9
10
|
export default FormTemplateCompanion;
|
|
@@ -3,6 +3,7 @@ import Model from '@tripian/model';
|
|
|
3
3
|
interface IFormTemplateNewPassword {
|
|
4
4
|
passwordCallBack: (password: string) => Promise<Model.UserResetPassword>;
|
|
5
5
|
success: (user: Model.UserResetPassword) => void;
|
|
6
|
+
t: (value: Model.TranslationKey) => string;
|
|
6
7
|
}
|
|
7
8
|
declare const FormTemplateNewPassword: React.FC<IFormTemplateNewPassword>;
|
|
8
9
|
export default FormTemplateNewPassword;
|
|
@@ -8,6 +8,7 @@ interface IFormTemplateProfile {
|
|
|
8
8
|
cancel: (value: Model.User) => void;
|
|
9
9
|
forgotPassword: () => void;
|
|
10
10
|
canChangePassword: boolean;
|
|
11
|
+
t: (value: Model.TranslationKey) => string;
|
|
11
12
|
}
|
|
12
13
|
declare const FormTemplateProfile: React.FC<IFormTemplateProfile>;
|
|
13
14
|
export default FormTemplateProfile;
|
|
@@ -5,6 +5,7 @@ interface IUserPasswordChange {
|
|
|
5
5
|
updateCallback: (updatedUser: Model.User) => void;
|
|
6
6
|
forgotPassword: () => void;
|
|
7
7
|
close: () => void;
|
|
8
|
+
t: (value: Model.TranslationKey) => string;
|
|
8
9
|
}
|
|
9
10
|
declare const UserPasswordChange: React.FC<IUserPasswordChange>;
|
|
10
11
|
export default UserPasswordChange;
|
|
@@ -6,6 +6,7 @@ interface IFormTemplateRegister {
|
|
|
6
6
|
reCaptchaSiteKey: string;
|
|
7
7
|
showCaptcha: boolean;
|
|
8
8
|
goBackLogin: () => void;
|
|
9
|
+
t: (value: Model.TranslationKey) => string;
|
|
9
10
|
}
|
|
10
11
|
declare const FormTemplateRegister: React.FC<IFormTemplateRegister>;
|
|
11
12
|
export default FormTemplateRegister;
|
|
@@ -4,6 +4,7 @@ interface IFormTemplateResetPassword {
|
|
|
4
4
|
emailCallBack: (email: string) => Promise<Model.UserResetPassword>;
|
|
5
5
|
success: (user: Model.UserResetPassword) => void;
|
|
6
6
|
goBack: () => void;
|
|
7
|
+
t: (value: Model.TranslationKey) => string;
|
|
7
8
|
}
|
|
8
9
|
declare const FormTemplateResetPassword: React.FC<IFormTemplateResetPassword>;
|
|
9
10
|
export default FormTemplateResetPassword;
|
package/components/FormTemplate/FormTemplateToursAndTickets/FormTemplateToursAndTickets.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ interface IFormTemplateToursAndTickets {
|
|
|
10
10
|
setToursAndTicketsProfile: (toursAndTicketsProfile: Model.TourAndTickets) => void;
|
|
11
11
|
onSubmit: () => void;
|
|
12
12
|
onCancel: () => void;
|
|
13
|
+
t: (value: Model.TranslationKey) => string;
|
|
13
14
|
}
|
|
14
15
|
declare const FormTemplateToursAndTickets: React.FC<IFormTemplateToursAndTickets>;
|
|
15
16
|
export default FormTemplateToursAndTickets;
|
|
@@ -39,6 +39,7 @@ interface IFormTemplateTripNext {
|
|
|
39
39
|
onSubmitText: string;
|
|
40
40
|
onSubmit: () => void;
|
|
41
41
|
onCancel: () => void;
|
|
42
|
+
t: (value: Model.TranslationKey) => string;
|
|
42
43
|
}
|
|
43
44
|
declare const FormTemplateTripNext: React.FC<IFormTemplateTripNext>;
|
|
44
45
|
export default FormTemplateTripNext;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/// <reference types="googlemaps" />
|
|
3
3
|
/// <reference types="googlemaps" />
|
|
4
4
|
import React from 'react';
|
|
5
|
+
import Model from '@tripian/model';
|
|
5
6
|
import './GPlacesAutocomplete2.scss';
|
|
6
7
|
interface IGPlacesAutocomplete2 {
|
|
7
8
|
onSelectedChanged: (selectedPlace: google.maps.places.PlaceResult) => void;
|
|
@@ -9,6 +10,7 @@ interface IGPlacesAutocomplete2 {
|
|
|
9
10
|
boundry?: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral;
|
|
10
11
|
onFocus?: () => void;
|
|
11
12
|
onBlur?: () => void;
|
|
13
|
+
t: (value: Model.TranslationKey) => string;
|
|
12
14
|
}
|
|
13
15
|
declare const GPlacesAutocomplete2: React.FC<IGPlacesAutocomplete2>;
|
|
14
16
|
export default GPlacesAutocomplete2;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
2
3
|
interface IPoiCategories {
|
|
3
4
|
selectedPoiCategoryIndexes: number[];
|
|
4
5
|
setSelectedPoiCategoryIndexes: (newIndex: number[]) => void;
|
|
6
|
+
t: (value: Model.TranslationKey) => string;
|
|
5
7
|
}
|
|
6
8
|
declare const PoiCategories: React.FC<IPoiCategories>;
|
|
7
9
|
export default PoiCategories;
|
|
@@ -34,6 +34,7 @@ interface IPoiInfo {
|
|
|
34
34
|
sendFeedback: (value: Model.FeedbackRequest) => Promise<void>;
|
|
35
35
|
placeInfoCallBack?: () => void;
|
|
36
36
|
redeemClicked?: () => void;
|
|
37
|
+
t: (value: Model.TranslationKey) => string;
|
|
37
38
|
}
|
|
38
39
|
declare const PoiInfo: React.FC<IPoiInfo>;
|
|
39
40
|
export default PoiInfo;
|
|
@@ -16,6 +16,7 @@ interface IPoiInfoText {
|
|
|
16
16
|
hideBookingButton: boolean;
|
|
17
17
|
bookingButtonClick?: (productId: string, poi: Model.Poi) => void;
|
|
18
18
|
RESTAURANT_RESERVATION_PROVIDER_IDS: Model.PROVIDER_ID[];
|
|
19
|
+
t: (value: Model.TranslationKey) => string;
|
|
19
20
|
}
|
|
20
21
|
declare const PoiInfoText: React.FC<IPoiInfoText>;
|
|
21
22
|
export default PoiInfoText;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
2
3
|
interface IResetPasswordApproved {
|
|
3
4
|
goBackLogin: () => void;
|
|
5
|
+
t: (value: Model.TranslationKey) => string;
|
|
4
6
|
}
|
|
5
7
|
declare const ResetPasswordApproved: React.FC<IResetPasswordApproved>;
|
|
6
8
|
export default ResetPasswordApproved;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
2
3
|
interface IResetPasswordEmail {
|
|
3
4
|
goBack: () => void;
|
|
5
|
+
t: (value: Model.TranslationKey) => string;
|
|
4
6
|
}
|
|
5
7
|
declare const ResetPasswordEmail: React.FC<IResetPasswordEmail>;
|
|
6
8
|
export default ResetPasswordEmail;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
2
3
|
type Props = {
|
|
3
4
|
configs: {
|
|
4
5
|
clientId: string;
|
|
@@ -7,6 +8,7 @@ type Props = {
|
|
|
7
8
|
region: string;
|
|
8
9
|
baseDomain: string;
|
|
9
10
|
};
|
|
11
|
+
t: (value: Model.TranslationKey) => string;
|
|
10
12
|
};
|
|
11
13
|
declare const SocialLogin: React.FC<Props>;
|
|
12
14
|
export default SocialLogin;
|
|
@@ -11,6 +11,7 @@ interface IStepAlternativeCard {
|
|
|
11
11
|
hideReservationIcon: boolean;
|
|
12
12
|
hideTourTicketIcons: boolean;
|
|
13
13
|
hideOfferIcon: boolean;
|
|
14
|
+
t: (value: Model.TranslationKey) => string;
|
|
14
15
|
}
|
|
15
16
|
declare const StepAlternativeCard: React.FC<IStepAlternativeCard>;
|
|
16
17
|
export default StepAlternativeCard;
|
|
@@ -21,6 +21,7 @@ interface IStepCardUserReaction {
|
|
|
21
21
|
hideReservationIcon: boolean;
|
|
22
22
|
hideTourTicketIcons: boolean;
|
|
23
23
|
hideOfferIcon: boolean;
|
|
24
|
+
t: (value: Model.TranslationKey) => string;
|
|
24
25
|
}
|
|
25
26
|
declare const StepCardUserReaction: React.FC<IStepCardUserReaction>;
|
|
26
27
|
export default StepCardUserReaction;
|
|
@@ -28,6 +28,7 @@ interface IStepInfo {
|
|
|
28
28
|
sendFeedback: (value: Model.FeedbackRequest) => Promise<void>;
|
|
29
29
|
placeInfoCallBack?: () => void;
|
|
30
30
|
showStepScoreDetails: boolean;
|
|
31
|
+
t: (value: Model.TranslationKey) => string;
|
|
31
32
|
}
|
|
32
33
|
declare const StepInfo: React.FC<IStepInfo>;
|
|
33
34
|
export default StepInfo;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
2
3
|
export declare const hourRange: string[];
|
|
3
4
|
export declare const minuteRange: string[];
|
|
4
5
|
export declare const timeRange: Array<string>;
|
|
@@ -13,6 +14,7 @@ interface IStepTimes {
|
|
|
13
14
|
timesClicked: (from?: string, to?: string) => void;
|
|
14
15
|
buttonText: string;
|
|
15
16
|
duration?: string;
|
|
17
|
+
t: (value: Model.TranslationKey) => string;
|
|
16
18
|
}
|
|
17
19
|
declare const StepTimes: React.FC<IStepTimes>;
|
|
18
20
|
export default StepTimes;
|
|
@@ -3,6 +3,7 @@ import Model from '@tripian/model';
|
|
|
3
3
|
interface ITourRefCardProduct {
|
|
4
4
|
bookingProduct: Model.BookingProduct;
|
|
5
5
|
clicked: (bookingProduct: Model.BookingProduct) => void;
|
|
6
|
+
t: (value: Model.TranslationKey) => string;
|
|
6
7
|
}
|
|
7
8
|
declare const TourRefCardProduct: React.FC<ITourRefCardProduct>;
|
|
8
9
|
export default TourRefCardProduct;
|
|
@@ -9,6 +9,7 @@ interface ITripCard {
|
|
|
9
9
|
showShareTrip: boolean;
|
|
10
10
|
shareTrip: (tripReference: Model.TripReference) => void;
|
|
11
11
|
clicked: (tripReference: Model.TripReference) => void;
|
|
12
|
+
t: (value: Model.TranslationKey) => string;
|
|
12
13
|
}
|
|
13
14
|
declare const TripCard: React.FC<ITripCard>;
|
|
14
15
|
export default TripCard;
|
|
@@ -9,6 +9,7 @@ interface IUserCompanionSelection {
|
|
|
9
9
|
userCompanionSelectionCallBack: (selectedCompanionId: number, isDeleteAction?: boolean) => void;
|
|
10
10
|
onFocus?: () => void;
|
|
11
11
|
onBlur?: () => void;
|
|
12
|
+
t: (value: Model.TranslationKey) => string;
|
|
12
13
|
}
|
|
13
14
|
declare const UserCompanionSelection: React.FC<IUserCompanionSelection>;
|
|
14
15
|
export default UserCompanionSelection;
|
|
@@ -7,6 +7,7 @@ interface IUserCompanions {
|
|
|
7
7
|
deleteCompanion: (id: number) => void;
|
|
8
8
|
editCompanion: (companion: Model.Companion) => void;
|
|
9
9
|
showWarningMessage: (show: boolean) => void;
|
|
10
|
+
t: (value: Model.TranslationKey) => string;
|
|
10
11
|
}
|
|
11
12
|
declare const UserCompanions: React.FC<IUserCompanions>;
|
|
12
13
|
export default UserCompanions;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
2
3
|
interface IShowMoreLess {
|
|
3
4
|
items: string[];
|
|
4
5
|
defaultItemCount: number;
|
|
6
|
+
t: (value: Model.TranslationKey) => string;
|
|
5
7
|
}
|
|
6
8
|
declare const ShowMoreLess: React.FC<IShowMoreLess>;
|
|
7
9
|
export default ShowMoreLess;
|
|
@@ -20,7 +20,10 @@ interface ISideNavigation {
|
|
|
20
20
|
showThemeSwitch: boolean;
|
|
21
21
|
showFeedbackModal: boolean;
|
|
22
22
|
setShowFeedbackModal: (show: boolean) => void;
|
|
23
|
-
|
|
23
|
+
languageOptions?: Model.LangCodes;
|
|
24
|
+
selectedLanguage: string;
|
|
25
|
+
onSelectedLanguage: (value: string) => void;
|
|
26
|
+
t: (value: Model.TranslationKey) => string;
|
|
24
27
|
}
|
|
25
28
|
declare const SideNavigation: React.FC<ISideNavigation>;
|
|
26
29
|
export default SideNavigation;
|
|
@@ -16,6 +16,7 @@ import Distance from './Distance';
|
|
|
16
16
|
import DragDrop from './DragDrop';
|
|
17
17
|
import Drink from './Drink';
|
|
18
18
|
import Edit from './Edit';
|
|
19
|
+
import EditHour from './EditHour';
|
|
19
20
|
import Favorite from './Favorite';
|
|
20
21
|
import Filter from './Filter';
|
|
21
22
|
import Food from './Food';
|
|
@@ -43,4 +44,4 @@ import Time from './Time';
|
|
|
43
44
|
import Uber from './Uber';
|
|
44
45
|
import Info from './Info';
|
|
45
46
|
import Info2 from './Info2';
|
|
46
|
-
export { Add, Attraction, Avatar, Bars, Bicycle, Booking, Bookmark, BookmarkFill, Cafe, Calendar, Car, Clock, Close, Delete, Distance, DragDrop, Drink, Edit, Favorite, Filter, Food, LandingCalendar, LandingCellPhone, LandingProfile, LandingThumbsUp, Legs, Link, MustTry, NightLife, NextArrow, Offer, PreviousArrow, Restaurant, Retail, Share, Shopping, SwitchIcon, ThumbsDown, ThumbsDownEmpty, ThumbsUp, ThumbsUpEmpty, Time, Uber, Info, Info2, };
|
|
47
|
+
export { Add, Attraction, Avatar, Bars, Bicycle, Booking, Bookmark, BookmarkFill, Cafe, Calendar, Car, Clock, Close, Delete, Distance, DragDrop, Drink, Edit, EditHour, Favorite, Filter, Food, LandingCalendar, LandingCellPhone, LandingProfile, LandingThumbsUp, Legs, Link, MustTry, NightLife, NextArrow, Offer, PreviousArrow, Restaurant, Retail, Share, Shopping, SwitchIcon, ThumbsDown, ThumbsDownEmpty, ThumbsUp, ThumbsUpEmpty, Time, Uber, Info, Info2, };
|