@tripian/react 4.6.1 → 4.6.2

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 IGMarkerCarRentBase {
5
+ coordinate: Model.Coordinate;
6
+ animation?: 1 | 2;
7
+ clusterer?: Clusterer;
8
+ color?: string;
9
+ markerCarRentClicked: () => void;
10
+ }
11
+ declare const GMarkerCarRentBase: React.FC<IGMarkerCarRentBase>;
12
+ export default GMarkerCarRentBase;
@@ -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 IGMarkerCarRentOfferBase {
5
+ coordinate: Model.Coordinate;
6
+ animation?: 1 | 2;
7
+ clusterer?: Clusterer;
8
+ color?: string;
9
+ markerCarRentOfferClicked: () => void;
10
+ }
11
+ declare const GMarkerCarRentOfferBase: React.FC<IGMarkerCarRentOfferBase>;
12
+ export default GMarkerCarRentOfferBase;
@@ -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 IGMarkerCarRentOffer {
5
+ carRentOffer: Providers.Bb.SearchCarRentOffer;
6
+ animation?: 1 | 2;
7
+ clusterer?: Clusterer;
8
+ markerCarRentOfferClicked: (carRentOffer: Providers.Bb.SearchCarRentOffer) => void;
9
+ }
10
+ declare const GMarkerCarRentOffer: React.FC<IGMarkerCarRentOffer>;
11
+ export default GMarkerCarRentOffer;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { Clusterer } from '@react-google-maps/marker-clusterer';
3
+ import { Providers } from '@tripian/model';
4
+ interface IGMarkerCarRentProduct {
5
+ product: Providers.Bb.SearchCarRentProduct;
6
+ carRentProduct: Providers.Bb.SearchCarRentProduct;
7
+ animation?: 1 | 2;
8
+ clusterer?: Clusterer;
9
+ markerCarRentProductClicked: (product: Providers.Bb.SearchCarRentProduct) => void;
10
+ }
11
+ declare const GMarkerCarRentProduct: React.FC<IGMarkerCarRentProduct>;
12
+ export default GMarkerCarRentProduct;
@@ -24,15 +24,18 @@ interface IGoogleMaps {
24
24
  searchPoi?: Model.Poi;
25
25
  searchAreaPois?: Model.Poi[];
26
26
  providersPois?: Providers.Bb.SearchAccommodationHotelOffer[];
27
+ carRentOffers?: Providers.Bb.SearchCarRentOffer[];
27
28
  cityBounds: google.maps.LatLngBoundsLiteral;
28
29
  setLegs: (legs: ILeg[]) => void;
29
30
  focusMarkerStepOrPoiId?: number;
30
31
  focusMarkerProviderPoiCode?: string;
32
+ focusMarkerCarRentLocationCode?: string;
31
33
  mapClicked: (e: any) => void;
32
34
  markerStepClicked: (step: Model.Step) => void;
33
35
  markerAlternativeClicked: (poi: Model.Poi) => void;
34
36
  markerSearchThisAreaClicked: (poi: Model.Poi) => void;
35
37
  markerProvidersPoiClicked: (poi: Providers.Bb.SearchAccommodationHotelOffer) => void;
38
+ markerCarRentOfferClicked: (offer: Providers.Bb.SearchCarRentOffer) => void;
36
39
  }
37
40
  declare const GoogleMaps: React.FC<IGoogleMaps>;
38
41
  export default GoogleMaps;
package/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import AccommendationCard from './components/AccommendationCard/AccommendationCa
3
3
  import AccommendationInfo from './components/AccommendationInfo/AccommendationInfo';
4
4
  import Backdrop from './components/base/Backdrop/Backdrop';
5
5
  import BbAccommodationInfo from './providers/bb/components/BbAccommodationInfo/BbAccommodationInfo';
6
+ import BbCarRentInfo from './providers/bb/components/BbCarRentInfo/BbCarRentInfo';
6
7
  import BbTourCard from './providers/bb/components/BbTourCard/BbTourCard';
7
8
  import BbTourInfo from './providers/bb/components/BbTourInfo/BbTourInfo';
8
9
  import Booking from './providers/yelp/components/Booking/Booking';
@@ -86,4 +87,4 @@ import UserCompanions from './components/UserCompanions/UserCompanions';
86
87
  import QuestionTemplate from './components/QuestionTemplate/QuestionTemplate';
87
88
  import BookingDetails from './providers/gyg/components/BookingDetails/BookingDetails';
88
89
  import Accordion from './components/base/Accordion/Accordion';
89
- export { Accordion, AccommendationCard, AccommendationInfo, Backdrop, BbAccommodationInfo, BbTourCard, BbTourInfo, Booking, BookingDetails, Button, ButtonIcons, BUTTON_TYPES, ButterflyCard, ButterflyCardSlider, CardSlider, Checkbox, CloseIconButton, ConfirmModalPopup, DatePicker, DateRangePicker, DirectionInfo, Dropdown, FlightCard, FormTemplateAgent, FormTemplateCompanion, FormTemplateLogin, FormTemplateProfile, FormTemplateRegister, FormTemplateTrip, FormTemplateTrip2, GlxTourCard, GlxTourInfo, GoogleMaps, GoogleMapsPoiInfo, GygTourCard, GygTourInfo, IconImage, Img, ImgLazy, Label, Loading, Modal, ModalFull, MustTryCard, NumberCounter, NumberInput, Notification, OpeningsForm, PageLoading, PlanChangeDay, PoiCategories, PoiInfo, PoiInfoImage, PoiInfoText, PoiListCard, PoiListSearch, PoiRefCard, PreLoading, Price, ProgressLoading, ProgressAppLoading, RadioButtonGroup, RatingStars, RefCard, ReservationDetails, RouteResult, RSelect, SearchThisArea, SideNavigation, StepAlternativeCard, StepCard, StepCardUserReaction, StepInfo, StepTimeframe, Svg, Switch, SvgIcons, QuestionTemplate, TabMenu, TasteCard, TasteCard2, TasteInfo, TextField, TourRefCard, TourRefCardProduct, TripCard, UserCompanions, };
90
+ export { Accordion, AccommendationCard, AccommendationInfo, Backdrop, BbAccommodationInfo, BbCarRentInfo, BbTourCard, BbTourInfo, Booking, BookingDetails, Button, ButtonIcons, BUTTON_TYPES, ButterflyCard, ButterflyCardSlider, CardSlider, Checkbox, CloseIconButton, ConfirmModalPopup, DatePicker, DateRangePicker, DirectionInfo, Dropdown, FlightCard, FormTemplateAgent, FormTemplateCompanion, FormTemplateLogin, FormTemplateProfile, FormTemplateRegister, FormTemplateTrip, FormTemplateTrip2, GlxTourCard, GlxTourInfo, GoogleMaps, GoogleMapsPoiInfo, GygTourCard, GygTourInfo, IconImage, Img, ImgLazy, Label, Loading, Modal, ModalFull, MustTryCard, NumberCounter, NumberInput, Notification, OpeningsForm, PageLoading, PlanChangeDay, PoiCategories, PoiInfo, PoiInfoImage, PoiInfoText, PoiListCard, PoiListSearch, PoiRefCard, PreLoading, Price, ProgressLoading, ProgressAppLoading, RadioButtonGroup, RatingStars, RefCard, ReservationDetails, RouteResult, RSelect, SearchThisArea, SideNavigation, StepAlternativeCard, StepCard, StepCardUserReaction, StepInfo, StepTimeframe, Svg, Switch, SvgIcons, QuestionTemplate, TabMenu, TasteCard, TasteCard2, TasteInfo, TextField, TourRefCard, TourRefCardProduct, TripCard, UserCompanions, };