@tripian/react 9.3.15 → 9.3.16

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.
@@ -9,6 +9,9 @@ interface PoiActionButtonProps {
9
9
  className?: string;
10
10
  addRemoveReplacePoi: (poi: Model.Poi, removeReplaceAdd: number, from?: string, to?: string) => void;
11
11
  t: (value: Model.TranslationKey) => string;
12
+ plans?: Model.Plan[];
13
+ currentDayIndex?: number;
14
+ onTimelineAdd?: (planId: number, poiId: string, from?: string, to?: string) => void;
12
15
  }
13
16
  declare const PoiActionButton: React.FC<PoiActionButtonProps>;
14
17
  export default PoiActionButton;
@@ -41,6 +41,9 @@ interface IPoiInfo {
41
41
  onImageModalChange?: (isOpen: boolean) => void;
42
42
  stepType?: string;
43
43
  t: (value: Model.TranslationKey) => string;
44
+ plans?: Model.Plan[];
45
+ currentDayIndex?: number;
46
+ onTimelineAdd?: (planId: number, poiId: string, from?: string, to?: string) => void;
44
47
  }
45
48
  declare const PoiInfo: React.FC<IPoiInfo>;
46
49
  export default PoiInfo;
@@ -24,6 +24,9 @@ interface IPoiInfoText {
24
24
  getTourInfo?: (productId: string, poi: Model.Poi) => void;
25
25
  sendFeedback: (value: Model.FeedbackRequest) => Promise<void>;
26
26
  t: (value: Model.TranslationKey) => string;
27
+ plans?: Model.Plan[];
28
+ currentDayIndex?: number;
29
+ onTimelineAdd?: (planId: number, poiId: string, from?: string, to?: string) => void;
27
30
  }
28
31
  declare const PoiInfoText: React.FC<IPoiInfoText>;
29
32
  export default PoiInfoText;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import Model from '@tripian/model';
3
+ interface ITimelineAddPoiModal {
4
+ poi: Model.Poi;
5
+ plans: Model.Plan[];
6
+ currentDayIndex: number;
7
+ onAdd: (planId: number, poiId: string, from?: string, to?: string) => void;
8
+ onClose: () => void;
9
+ t: (value: Model.TranslationKey) => string;
10
+ }
11
+ declare const TimelineAddPoiModal: React.FC<ITimelineAddPoiModal>;
12
+ export default TimelineAddPoiModal;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import IIconSvg from './IIconSvg';
3
+ declare const ExternalLink: React.FC<IIconSvg>;
4
+ export default ExternalLink;
@@ -42,6 +42,7 @@ import Euro from './Euro';
42
42
  import Exclamation from './Exclamation';
43
43
  import Exclamation2 from './Exclamation2';
44
44
  import Exclamation3 from './Exclamation3';
45
+ import ExternalLink from './ExternalLink';
45
46
  import Favorite from './Favorite';
46
47
  import Filter from './Filter';
47
48
  import Filter2 from './Filter2';
@@ -109,4 +110,4 @@ import Web from './Web';
109
110
  import Wifi from './Wifi';
110
111
  import X from './X';
111
112
  import X2 from './X2';
112
- export { Add, AddLocation, ArrivalDate, ArrivalHours, ArrowLeft, ArrowRight, ArrowRight2, Attraction, Avatar, Bars, BookOpen, Bicycle, Booking, Bookmark, Bookmark2, BookmarkFill, Cafe, Calendar, Calendar2, Car, Check, CheckboxChecked, CheckboxUnChecked, Check2, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Children, Clock, Clock2, Close, Delete, Dots, DepartureDate, Destination, Distance, DragDrop, Drink, Edit, EditHour, Euro, Exclamation, Exclamation2, Exclamation3, Favorite, Filter, Filter2, Food, Globe, Hearth, Home, Info, Info2, Info3, LandingCalendar, LandingCellPhone, LandingProfile, LandingThumbsUp, Left, Legs, Link, Link2, MapPin, MobileArrowRight, MobileTicket, Music, MustTry, NightLife, NextArrow, NoImage, Offer, Offered, Offer2, OfferNew, Phone, Phone2, Plus, Power, PreviousArrow, RadioButtonChecked, RadioButtonUnChecked, Replace, Restaurant, Retail, Right, Search, SearchClose, Share, Shopping, Star, Star2, Star3, StarBlack, Success, SwitchIcon, Tags, Ticket2, Timer, Thermometer, ThumbsDown, ThumbsDownEmpty, ThumbsUp, ThumbsUpEmpty, Time, Trash, Uber, User, Users, Web, Wifi, X, X2, };
113
+ export { Add, AddLocation, ArrivalDate, ArrivalHours, ArrowLeft, ArrowRight, ArrowRight2, Attraction, Avatar, Bars, BookOpen, Bicycle, Booking, Bookmark, Bookmark2, BookmarkFill, Cafe, Calendar, Calendar2, Car, Check, CheckboxChecked, CheckboxUnChecked, Check2, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Children, Clock, Clock2, Close, Delete, Dots, DepartureDate, Destination, Distance, DragDrop, Drink, Edit, EditHour, Euro, Exclamation, Exclamation2, Exclamation3, ExternalLink, Favorite, Filter, Filter2, Food, Globe, Hearth, Home, Info, Info2, Info3, LandingCalendar, LandingCellPhone, LandingProfile, LandingThumbsUp, Left, Legs, Link, Link2, MapPin, MobileArrowRight, MobileTicket, Music, MustTry, NightLife, NextArrow, NoImage, Offer, Offered, Offer2, OfferNew, Phone, Phone2, Plus, Power, PreviousArrow, RadioButtonChecked, RadioButtonUnChecked, Replace, Restaurant, Retail, Right, Search, SearchClose, Share, Shopping, Star, Star2, Star3, StarBlack, Success, SwitchIcon, Tags, Ticket2, Timer, Thermometer, ThumbsDown, ThumbsDownEmpty, ThumbsUp, ThumbsUpEmpty, Time, Trash, Uber, User, Users, Web, Wifi, X, X2, };
package/index.d.ts CHANGED
@@ -145,6 +145,7 @@ import ToggleSwitch from './components/base/ToggleSwitch/ToggleSwitch';
145
145
  import ToristyProductCard from './providers/toristy/ToristyProductCard/ToristyProductCard';
146
146
  import ToristyTourInfoImage from './providers/toristy/ToristyTourInfo/ToristyTourInfoImage/ToristyTourInfoImage';
147
147
  import ToristyTourInfoText from './providers/toristy/ToristyTourInfo/ToristyTourInfoText/ToristyTourInfoText';
148
+ import TimelineAddPoiModal from './components/TimelineAddPoiModal/TimelineAddPoiModal';
148
149
  import TourCard from './components/TourCard/TourCard';
149
150
  import TourRefCardProduct from './components/TourRefCardProduct/TourRefCardProduct';
150
151
  import TourTicketLazyLoading from './components/TourTicketLazyLoading/TourTicketLazyLoading';
@@ -156,4 +157,4 @@ import ViatorProductCard from './providers/viator/components/ViatorProductCard/V
156
157
  import ViatorProductInfo from './providers/viator/components/ViatorProductInfo/ViatorProductInfo';
157
158
  import ViatorTourInfoImage from './providers/viator/components/ViatorProductInfo/ViatorTourInfoImage/ViatorTourInfoImage';
158
159
  import VictoryProductCard from './providers/victory/VictoryProductCard/VictoryProductCard';
159
- export { Accordion, AccommondationCard, AccommondationInfo, AddIconButton, Badge, BackButton, Backdrop, BbAccommodationInfo, BbCarRentInfo, BbTourCard, BbTourInfo, BbTourInfoForm, BbTourInfoImage, BbTourInfoOffer, BbTourInfoText, Booking, BookingCard, BookingDetails, Button, ButtonIcons, BUTTON_TYPES, ButterflyCard, ButterflyCardSlider, CardSlider, Checkbox, CreateIconButton, CloseIconButton, CloseIconButton2, CompanionModal, ConfirmModalPopup, Copy, CouponCard, CustomPopover, CustomSlider, DatePicker, DateRangePicker, DeleteUser, DeleteUserSuccess, DestinationSelect, DirectionInfo, Dropdown, ErrorMessage, EventCard, EventList, FavoriteIconButton, FavoriteIconButton2, Feedback, FlightCard, FormTemplateAgent, FormTemplateCompanion, FormTemplateLogin, FormTemplateNewPassword, FormTemplateProfile, FormTemplateRegister, FormTemplateResetPassword, FormTemplateToursAndTickets, FormTemplateTripNext, FormTemplateTripNextWidget, GoogleMaps, GoogleMapsPoiInfo, GoogleMapsProductInfo, StorageInfoBox, GoogleMapsSearch, GPlacesAutocomplete2, GygTourCard, GygTourInfoEx, GygTourInfoForm, GygTourInfoImage, GygTourShoppingForm, GygTourOption, Header, IconImage, Img, ImgLazy, Input, ItineraryCardSlider, Label, Loading, MapCategory, Modal, ModalFull, MustTryCard, NumberCounter, NumberInput, Notification, OfferAvailableDaySelect, OfferCard, OpenedHours, OpeningsForm, PageLoading, PlaceDetailsModal, PlanChangeDay, PoiActionButton, 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, SharePoiModal, ShowMoreLess, SideNavigation, SocialLogin, SocialLoginSignoutPage, StepAlternativeCard, StepCard, StepCardUserReaction, StepInfo, StepTimes, StepTimeframe, Svg, Switch, SvgIcons, QuestionTemplate, TabMenu, TasteCard, TasteCard2, TasteInfo, TextField, Toggle, ToggleSwitch, ToristyProductCard, ToristyTourInfoImage, ToristyTourInfoText, TourCard, TourRefCardProduct, TourTicketLazyLoading, TripCard, TripSavedCard, UserCompanions, UserFeedbacks, ViatorProductCard, ViatorProductInfo, ViatorTourInfoImage, VictoryProductCard, };
160
+ export { Accordion, AccommondationCard, AccommondationInfo, AddIconButton, Badge, BackButton, Backdrop, BbAccommodationInfo, BbCarRentInfo, BbTourCard, BbTourInfo, BbTourInfoForm, BbTourInfoImage, BbTourInfoOffer, BbTourInfoText, Booking, BookingCard, BookingDetails, Button, ButtonIcons, BUTTON_TYPES, ButterflyCard, ButterflyCardSlider, CardSlider, Checkbox, CreateIconButton, CloseIconButton, CloseIconButton2, CompanionModal, ConfirmModalPopup, Copy, CouponCard, CustomPopover, CustomSlider, DatePicker, DateRangePicker, DeleteUser, DeleteUserSuccess, DestinationSelect, DirectionInfo, Dropdown, ErrorMessage, EventCard, EventList, FavoriteIconButton, FavoriteIconButton2, Feedback, FlightCard, FormTemplateAgent, FormTemplateCompanion, FormTemplateLogin, FormTemplateNewPassword, FormTemplateProfile, FormTemplateRegister, FormTemplateResetPassword, FormTemplateToursAndTickets, FormTemplateTripNext, FormTemplateTripNextWidget, GoogleMaps, GoogleMapsPoiInfo, GoogleMapsProductInfo, StorageInfoBox, GoogleMapsSearch, GPlacesAutocomplete2, GygTourCard, GygTourInfoEx, GygTourInfoForm, GygTourInfoImage, GygTourShoppingForm, GygTourOption, Header, IconImage, Img, ImgLazy, Input, ItineraryCardSlider, Label, Loading, MapCategory, Modal, ModalFull, MustTryCard, NumberCounter, NumberInput, Notification, OfferAvailableDaySelect, OfferCard, OpenedHours, OpeningsForm, PageLoading, PlaceDetailsModal, PlanChangeDay, PoiActionButton, 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, SharePoiModal, ShowMoreLess, SideNavigation, SocialLogin, SocialLoginSignoutPage, StepAlternativeCard, StepCard, StepCardUserReaction, StepInfo, StepTimes, StepTimeframe, Svg, Switch, SvgIcons, QuestionTemplate, TabMenu, TasteCard, TasteCard2, TasteInfo, TextField, TimelineAddPoiModal, Toggle, ToggleSwitch, ToristyProductCard, ToristyTourInfoImage, ToristyTourInfoText, TourCard, TourRefCardProduct, TourTicketLazyLoading, TripCard, TripSavedCard, UserCompanions, UserFeedbacks, ViatorProductCard, ViatorProductInfo, ViatorTourInfoImage, VictoryProductCard, };