@tripian/react 9.0.50 → 9.1.1

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.
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { Clusterer } from '@react-google-maps/marker-clusterer';
3
+ import Model from '@tripian/model';
4
+ interface IGMarkerProviderTourBase {
5
+ coordinate: Model.Coordinate;
6
+ animation?: 1 | 2;
7
+ clusterer?: Clusterer;
8
+ color?: string;
9
+ markerTourClicked: () => void;
10
+ }
11
+ declare const GMarkerProviderTourBase: React.FC<IGMarkerProviderTourBase>;
12
+ export default GMarkerProviderTourBase;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { Clusterer } from '@react-google-maps/marker-clusterer';
3
+ import { Providers } from '@tripian/model';
4
+ interface IGMarkerProviderTour {
5
+ providerTour: Providers.Rezdy.Product;
6
+ animation?: 1 | 2;
7
+ clusterer?: Clusterer;
8
+ markerProviderTourClicked: (tour: Providers.Rezdy.Product) => void;
9
+ }
10
+ declare const GMarkerProviderTour: React.FC<IGMarkerProviderTour>;
11
+ export default GMarkerProviderTour;
@@ -26,17 +26,23 @@ interface IGoogleMaps {
26
26
  searchAreaPois?: Model.Poi[];
27
27
  providersPois?: Providers.Bb.SearchAccommodationHotelOffer[];
28
28
  carRentOffers?: Providers.Bb.SearchCarRentOffer[];
29
+ providerTours?: Providers.Rezdy.Product[];
29
30
  cityBounds: google.maps.LatLngBoundsLiteral;
30
31
  setLegs: (legs: ILeg[]) => void;
31
32
  focusMarkerStepOrPoiId?: number | string;
32
33
  focusMarkerProviderPoiCode?: string;
33
34
  focusMarkerCarRentLocationCode?: string;
35
+ focusMarkerProviderTourLocationCode?: {
36
+ lat: number;
37
+ long: number;
38
+ };
34
39
  mapClicked: (e: any) => void;
35
40
  markerStepClicked: (step: Model.Step) => void;
36
41
  markerAlternativeClicked: (poi: Model.Poi) => void;
37
42
  markerSearchThisAreaClicked: (poi: Model.Poi) => void;
38
43
  markerProvidersPoiClicked: (poi: Providers.Bb.SearchAccommodationHotelOffer) => void;
39
44
  markerCarRentOfferClicked: (offer: Providers.Bb.SearchCarRentOffer) => void;
45
+ markerProviderTourClicked: (tour: Providers.Rezdy.Product) => void;
40
46
  hideRoutes?: boolean;
41
47
  cycling?: boolean;
42
48
  }
@@ -14,6 +14,9 @@ interface IPoiInfo {
14
14
  hideActionButtons?: boolean;
15
15
  hideFavoriteIcon?: boolean;
16
16
  hideScore?: boolean;
17
+ hidePartOfDay?: boolean;
18
+ hideFeatures?: boolean;
19
+ hideCuisine?: boolean;
17
20
  planDate?: string;
18
21
  bookingButtonClick?: (productId: string, poi: Model.Poi) => void;
19
22
  favoriteLoading: boolean;
@@ -3,6 +3,9 @@ import Model from '@tripian/model';
3
3
  interface IPoiInfoText {
4
4
  poi: Model.Poi;
5
5
  hideFavoriteIcon: boolean;
6
+ hidePartOfDay?: boolean;
7
+ hideFeatures?: boolean;
8
+ hideCuisine?: boolean;
6
9
  favorite: boolean;
7
10
  favoriteLoading: boolean;
8
11
  favoriteClick: (favorite: boolean) => void;
@@ -19,6 +19,8 @@ interface IStepCard {
19
19
  hideScore?: boolean;
20
20
  hideStepsTime?: boolean;
21
21
  isWidget?: boolean;
22
+ hideFeatures?: boolean;
23
+ hideCuisine?: boolean;
22
24
  t: (value: Model.TranslationKey) => string;
23
25
  }
24
26
  declare const StepCard: React.FC<IStepCard>;
@@ -25,6 +25,8 @@ interface IStepCardUserReaction {
25
25
  hideReservationIcon: boolean;
26
26
  hideTourTicketIcons: boolean;
27
27
  hideOfferIcon: boolean;
28
+ hideFeatures?: boolean;
29
+ hideCuisine?: boolean;
28
30
  t: (value: Model.TranslationKey) => string;
29
31
  }
30
32
  declare const StepCardUserReaction: React.FC<IStepCardUserReaction>;
@@ -10,6 +10,9 @@ interface IStepInfo {
10
10
  hideActionButtons?: boolean;
11
11
  hideFavoriteIcon?: boolean;
12
12
  hideScore?: boolean;
13
+ hidePartOfDay?: boolean;
14
+ hideFeatures?: boolean;
15
+ hideCuisine?: boolean;
13
16
  planDate?: string;
14
17
  bookingButtonClick?: (productId: string, poi: Model.Poi) => void;
15
18
  favoriteLoading: boolean;
package/index.d.ts CHANGED
@@ -98,6 +98,9 @@ import RSelect from './components/base/RSelect/RSelect';
98
98
  import ReservationDetails from './providers/yelp/components/ReservationDetails/ReservationDetails';
99
99
  import ResetPasswordApproved from './components/ResetPasswordApproved/ResetPasswordApproved';
100
100
  import ResetPasswordEmail from './components/ResetPasswordEmail/ResetPasswordEmail';
101
+ import RezdyProductCard from './providers/rezdy/RezdyProductCard/RezdyProductCard';
102
+ import RezdyTourInfo from './providers/rezdy/RezdyTourInfo/RezdyTourInfo';
103
+ import RezdyTourInfoImage from './providers/rezdy/RezdyProductInfo/RezdyTourInfoImage/RezdyTourInfoImage';
101
104
  import SearchThisArea from './components/SearchThisArea/SearchThisArea';
102
105
  import SideNavigation from './components/base/SideNavigation/SideNavigation';
103
106
  import SocialLogin from './components/SocialLogin/SocialLogin';
@@ -128,4 +131,4 @@ import ViatorTourInfoImage from './providers/viator/components/ViatorProductInfo
128
131
  import QuestionTemplate from './components/QuestionTemplate/QuestionTemplate';
129
132
  import BookingDetails from './providers/gyg/components/BookingDetails/BookingDetails';
130
133
  import Accordion from './components/base/Accordion/Accordion';
131
- export { Accordion, AccommondationCard, AccommondationInfo, Badge, BackButton, Backdrop, BbAccommodationInfo, BbCarRentInfo, BbTourCard, BbTourInfo, BbTourInfoForm, BbTourInfoImage, BbTourInfoOffer, BbTourInfoText, Booking, BookingDetails, Button, ButtonIcons, BUTTON_TYPES, ButterflyCard, ButterflyCardSlider, CardSlider, Checkbox, CreateIconButton, CloseIconButton, CloseIconButton2, ConfirmModalPopup, Copy, CouponCard, CustomPopover, CustomSlider, DatePicker, DateRangePicker, DeleteUser, DeleteUserSuccess, DirectionInfo, Dropdown, Feedback, FlightCard, FormTemplateAgent, FormTemplateCompanion, FormTemplateLogin, FormTemplateNewPassword, FormTemplateProfile, FormTemplateRegister, FormTemplateResetPassword, FormTemplateToursAndTickets, FormTemplateTripNext, FormTemplateTripNextWidget, GoogleMaps, GoogleMapsPoiInfo, GoogleMapsSearch, GPlacesAutocomplete2, GygTourCard, GygTourInfoEx, GygTourInfoForm, GygTourInfoImage, GygTourShoppingForm, GygTourOption, IconImage, Img, ImgLazy, Input, ItineraryCardSlider, Label, Loading, MapCategory, Modal, ModalFull, MustTryCard, NumberCounter, NumberInput, Notification, OfferAvailableDaySelect, OfferCard, OpeningsForm, PageLoading, PlanChangeDay, PoiCategories, PoiInfo, PoiInfoImage, PoiInfoText, PoiListCard, PoiListSearch, PoiRefCard, PoiSearchAutoComplete, PoiOfferRefCard, PreAppLoading, PreLoading, Price, ProgressLoading, ProgressAppLoading, RadioButton, RadioButtonGroup, RatingStars, ReadMoreLess, RefCard, ReservationDetails, ResetPasswordApproved, ResetPasswordEmail, RouteResult, RSelect, SearchThisArea, SideNavigation, SocialLogin, StepAlternativeCard, StepCard, StepCardUserReaction, StepInfo, StepTimeframe, Svg, Switch, SvgIcons, QuestionTemplate, TabMenu, TasteCard, TasteCard2, TasteInfo, TextField, Toggle, ToggleSwitch, TourRefCardProduct, TripCard, TripSavedCard, UserCompanions, UserFeedbacks, ViatorProductCard, ViatorProductInfo, ViatorTourInfoImage, };
134
+ export { Accordion, AccommondationCard, AccommondationInfo, Badge, BackButton, Backdrop, BbAccommodationInfo, BbCarRentInfo, BbTourCard, BbTourInfo, BbTourInfoForm, BbTourInfoImage, BbTourInfoOffer, BbTourInfoText, Booking, BookingDetails, Button, ButtonIcons, BUTTON_TYPES, ButterflyCard, ButterflyCardSlider, CardSlider, Checkbox, CreateIconButton, CloseIconButton, CloseIconButton2, ConfirmModalPopup, Copy, CouponCard, CustomPopover, CustomSlider, DatePicker, DateRangePicker, DeleteUser, DeleteUserSuccess, DirectionInfo, Dropdown, Feedback, FlightCard, FormTemplateAgent, FormTemplateCompanion, FormTemplateLogin, FormTemplateNewPassword, FormTemplateProfile, FormTemplateRegister, FormTemplateResetPassword, FormTemplateToursAndTickets, FormTemplateTripNext, FormTemplateTripNextWidget, GoogleMaps, GoogleMapsPoiInfo, GoogleMapsSearch, GPlacesAutocomplete2, GygTourCard, GygTourInfoEx, GygTourInfoForm, GygTourInfoImage, GygTourShoppingForm, GygTourOption, IconImage, Img, ImgLazy, Input, ItineraryCardSlider, Label, Loading, MapCategory, Modal, ModalFull, MustTryCard, NumberCounter, NumberInput, Notification, OfferAvailableDaySelect, OfferCard, OpeningsForm, PageLoading, PlanChangeDay, PoiCategories, PoiInfo, PoiInfoImage, PoiInfoText, PoiListCard, PoiListSearch, PoiRefCard, PoiSearchAutoComplete, PoiOfferRefCard, PreAppLoading, PreLoading, Price, ProgressLoading, ProgressAppLoading, RadioButton, RadioButtonGroup, RatingStars, ReadMoreLess, RefCard, ReservationDetails, ResetPasswordApproved, ResetPasswordEmail, RezdyProductCard, RezdyTourInfo, RezdyTourInfoImage, RouteResult, RSelect, SearchThisArea, SideNavigation, SocialLogin, StepAlternativeCard, StepCard, StepCardUserReaction, StepInfo, StepTimeframe, Svg, Switch, SvgIcons, QuestionTemplate, TabMenu, TasteCard, TasteCard2, TasteInfo, TextField, Toggle, ToggleSwitch, TourRefCardProduct, TripCard, TripSavedCard, UserCompanions, UserFeedbacks, ViatorProductCard, ViatorProductInfo, ViatorTourInfoImage, };