@tripian/react 6.0.56 → 6.0.57
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/ItineraryCardSlider/ItineraryCardSlider.d.ts +7 -0
- package/components/Loading/Loading.d.ts +0 -1
- package/components/PoiInfo/PoiInfo.d.ts +1 -0
- package/components/PoiInfo/PoiInfoText/PoiInfoText.d.ts +1 -0
- package/components/PoiRefCard/PoiRefCard.d.ts +1 -0
- package/components/StepAlternativeCard/StepAlternativeCard.d.ts +1 -0
- package/components/StepCard/StepCard.d.ts +1 -2
- package/components/StepInfo/StepInfo.d.ts +1 -0
- package/components/TripCard/TripCard.d.ts +1 -0
- package/components/base/Button/Icons/index.d.ts +0 -1
- package/components/base/PageLoading/PageLoading.d.ts +0 -1
- package/components/base/SideNavigation/SideNavigation.d.ts +2 -2
- package/components/base/Svg/Icons/Attraction.d.ts +4 -0
- package/components/base/Svg/Icons/Cafe.d.ts +4 -0
- package/components/base/Svg/Icons/DragDrop.d.ts +4 -0
- package/components/base/Svg/Icons/Link.d.ts +4 -0
- package/components/base/Svg/Icons/MustTry.d.ts +4 -0
- package/components/base/Svg/Icons/Nightlife.d.ts +4 -0
- package/components/base/Svg/Icons/Restaurant.d.ts +4 -0
- package/components/base/Svg/Icons/Share.d.ts +4 -0
- package/components/base/Svg/Icons/index.d.ts +9 -1
- package/img/1a8f37ec9d11feba58bfad488b2a832f.svg +1 -0
- package/index.d.ts +8 -3
- package/index.js +4274 -2505
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +2 -2
- package/providers/gyg/components/GygTourInfo/GygTourInfoForm/GygTourInfoForm.d.ts +10 -11
- package/providers/gyg/components/GygTourInfo/GygTourOption/GygTourOption.d.ts +12 -0
- package/providers/gyg/components/GygTourInfo/GygTourOption/isoLanguages.d.ts +5 -0
- package/providers/gyg/components/GygTourInfo/GygTourShoppingForm/GygTourShoppingForm.d.ts +9 -0
- package/providers/gyg/components/GygTourInfo/GygTourShoppingForm/timezones.d.ts +8 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfo.d.ts +21 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourInfoForm.d.ts +17 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourOption/GygTourOption.d.ts +13 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourOption/isoLanguages.d.ts +5 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourShoppingForm/GygTourShoppingForm.d.ts +8 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfoForm/GygTourShoppingForm/timezones.d.ts +8 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfoImage/GygTourInfoImage.d.ts +9 -0
- package/providers/gyg/components/GygTourInfoEx/GygTourInfoText/GygTourInfoText.d.ts +7 -0
- package/providers/viator/components/ViatorProductInfo/ViatorTourInfoImage/ViatorTourInfoImage.d.ts +9 -0
- /package/components/{FeedBack → Feedback}/Feedback.d.ts +0 -0
- /package/components/{FeedBack → Feedback}/UserFeedbacks/UserFeedbacks.d.ts +0 -0
|
@@ -11,6 +11,7 @@ interface IStepAlternativeCard {
|
|
|
11
11
|
hideReservationIcon: boolean;
|
|
12
12
|
hideTourTicketIcons: boolean;
|
|
13
13
|
hideOfferIcon: boolean;
|
|
14
|
+
readOnly?: boolean;
|
|
14
15
|
}
|
|
15
16
|
declare const StepAlternativeCard: React.FC<IStepAlternativeCard>;
|
|
16
17
|
export default StepAlternativeCard;
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import Model from '@tripian/model';
|
|
3
3
|
interface IStepCard {
|
|
4
4
|
step: Model.Step;
|
|
5
|
-
isSortableStepListCard?: boolean;
|
|
6
5
|
clicked: (step: Model.Step) => void;
|
|
7
6
|
alternativePois: Model.Poi[];
|
|
8
7
|
alternativePoisDays: number[][];
|
|
@@ -10,13 +9,13 @@ interface IStepCard {
|
|
|
10
9
|
alternativeReplace: (alternativePoi: Model.Poi) => void;
|
|
11
10
|
showAlternativesChange: (stepId: number, show: boolean) => void;
|
|
12
11
|
showAlternatives?: boolean;
|
|
13
|
-
dragHandle?: JSX.Element;
|
|
14
12
|
TOUR_PROVIDER_IDS: Model.PROVIDER_ID[];
|
|
15
13
|
TICKET_PROVIDER_IDS: Model.PROVIDER_ID[];
|
|
16
14
|
RESTAURANT_RESERVATION_PROVIDER_IDS: Model.PROVIDER_ID[];
|
|
17
15
|
hideReservationIcon: boolean;
|
|
18
16
|
hideTourTicketIcons: boolean;
|
|
19
17
|
hideOfferIcon: boolean;
|
|
18
|
+
readOnly: boolean;
|
|
20
19
|
}
|
|
21
20
|
declare const StepCard: React.FC<IStepCard>;
|
|
22
21
|
export default StepCard;
|
|
@@ -6,6 +6,7 @@ interface ITripCard {
|
|
|
6
6
|
icsLoading: boolean;
|
|
7
7
|
editTrip: (tripReference: Model.TripReference) => void;
|
|
8
8
|
deleteTrip: (tripHash: string) => void;
|
|
9
|
+
shareTrip: (tripReference: Model.TripReference) => void;
|
|
9
10
|
clicked: (tripReference: Model.TripReference) => void;
|
|
10
11
|
}
|
|
11
12
|
declare const TripCard: React.FC<ITripCard>;
|
|
@@ -11,14 +11,14 @@ interface ISideNavigation {
|
|
|
11
11
|
open?: boolean;
|
|
12
12
|
closed: () => void;
|
|
13
13
|
showBbButton?: boolean;
|
|
14
|
-
tosUrl?: string;
|
|
15
|
-
ppUrl?: string;
|
|
16
14
|
feedbackSubjects: Model.FeedbackSubjects[];
|
|
17
15
|
loadingFeedback: boolean;
|
|
18
16
|
sendFeedback: (value: Model.FeedbackRequest) => Promise<void>;
|
|
19
17
|
themeSwitchChecked: boolean;
|
|
20
18
|
themeSwitchCheckedOnchange: (checked: boolean) => void;
|
|
21
19
|
showThemeSwitch: boolean;
|
|
20
|
+
showFeedbackModal: boolean;
|
|
21
|
+
setShowFeedbackModal: (show: boolean) => void;
|
|
22
22
|
}
|
|
23
23
|
declare const SideNavigation: React.FC<ISideNavigation>;
|
|
24
24
|
export default SideNavigation;
|
|
@@ -6,10 +6,12 @@ import Car from './Car';
|
|
|
6
6
|
import Clock from './Clock';
|
|
7
7
|
import Close from './Close';
|
|
8
8
|
import Delete from './Delete';
|
|
9
|
+
import DragDrop from './DragDrop';
|
|
9
10
|
import Drink from './Drink';
|
|
10
11
|
import Food from './Food';
|
|
11
12
|
import NextArrow from './NextArrow';
|
|
12
13
|
import PreviousArrow from './PreviousArrow';
|
|
14
|
+
import Share from './Share';
|
|
13
15
|
import Retail from './Retail';
|
|
14
16
|
import SwitchIcon from './SwitchIcon/SwitchIcon';
|
|
15
17
|
import ThumbsDown from './ThumbsDown';
|
|
@@ -21,10 +23,16 @@ import LandingCellPhone from './LandingCellPhone';
|
|
|
21
23
|
import LandingProfile from './LandingProfile';
|
|
22
24
|
import LandingThumbsUp from './LandingThumbsUp';
|
|
23
25
|
import Legs from './Legs';
|
|
26
|
+
import Link from './Link';
|
|
24
27
|
import Uber from './Uber';
|
|
25
28
|
import Booking from './Booking';
|
|
26
29
|
import Offer from './Offer';
|
|
27
30
|
import Favorite from './Favorite';
|
|
28
31
|
import Time from './Time';
|
|
29
32
|
import Avatar from './Avatar';
|
|
30
|
-
|
|
33
|
+
import Attraction from './Attraction';
|
|
34
|
+
import Restaurant from './Restaurant';
|
|
35
|
+
import Cafe from './Cafe';
|
|
36
|
+
import NightLife from './Nightlife';
|
|
37
|
+
import MustTry from './MustTry';
|
|
38
|
+
export { Add, Attraction, Avatar, Bars, Bicycle, Booking, Cafe, Calendar, Car, Clock, Close, Delete, DragDrop, Drink, Favorite, Food, MustTry, NextArrow, NightLife, PreviousArrow, Restaurant, Retail, Share, SwitchIcon, Time, ThumbsUp, ThumbsDown, ThumbsUpEmpty, ThumbsDownEmpty, LandingCalendar, LandingCellPhone, LandingProfile, LandingThumbsUp, Legs, Link, Offer, Uber, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<?xml version="1.0" ?><svg viewBox="0 0 20 20" fill="#fff" xmlns="http://www.w3.org/2000/svg"><path d="M5.08 12.16A2.99 2.99 0 0 1 0 10a3 3 0 0 1 5.08-2.16l8.94-4.47a3 3 0 1 1 .9 1.79L5.98 9.63a3.03 3.03 0 0 1 0 .74l8.94 4.47A2.99 2.99 0 0 1 20 17a3 3 0 1 1-5.98-.37l-8.94-4.47z"/></svg>
|
package/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import CardSlider from './components/CardSlider/CardSlider';
|
|
|
17
17
|
import Checkbox from './components/base/Checkbox/Checkbox';
|
|
18
18
|
import CreateIconButton from './components/base/Button/Icons/CreateIconButton/CreateIconButton';
|
|
19
19
|
import CloseIconButton from './components/base/Button/Icons/CloseIconButton/CloseIconButton';
|
|
20
|
+
import CloseIconButton2 from './components/base/Button/Icons/CloseIconButton2/CloseIconButton2';
|
|
20
21
|
import Copy from './components/base/Copy/Copy';
|
|
21
22
|
import ConfirmModalPopup from './components/ConfirmModalPopup/ConfirmModalPopup';
|
|
22
23
|
import DatePicker from './components/DatePicker/DatePicker';
|
|
@@ -36,13 +37,16 @@ import FormTemplateTripNextWidget from './components/FormTemplate/FormTemplateTr
|
|
|
36
37
|
import GoogleMaps from './components/GoogleMaps/GoogleMaps';
|
|
37
38
|
import GoogleMapsPoiInfo from './components/GoogleMapsPoiInfo/GoogleMapsPoiInfo';
|
|
38
39
|
import GygTourCard from './providers/gyg/components/GygTourCard/GygTourCard';
|
|
39
|
-
import
|
|
40
|
+
import GygTourInfoEx from './providers/gyg/components/GygTourInfoEx/GygTourInfo';
|
|
41
|
+
import GygTourInfoForm from './providers/gyg/components/GygTourInfo/GygTourInfoForm/GygTourInfoForm';
|
|
40
42
|
import GygTourInfoImage from './providers/gyg/components/GygTourInfo/GygTourInfoImage/GygTourInfoImage';
|
|
41
|
-
import GygTourOption from './providers/gyg/components/GygTourInfo/
|
|
43
|
+
import GygTourOption from './providers/gyg/components/GygTourInfo/GygTourOption/GygTourOption';
|
|
44
|
+
import GygTourShoppingForm from './providers/gyg/components/GygTourInfo/GygTourShoppingForm/GygTourShoppingForm';
|
|
42
45
|
import IconImage from './components/base/IconImage/IconImage';
|
|
43
46
|
import Img from './components/base/Img/Img';
|
|
44
47
|
import ImgLazy from './components/base/ImgLazy/ImgLazy';
|
|
45
48
|
import Input from './components/base/Input/Input';
|
|
49
|
+
import ItineraryCardSlider from './components/ItineraryCardSlider/ItineraryCardSlider';
|
|
46
50
|
import Label from './components/Label/Label';
|
|
47
51
|
import Loading from './components/Loading/Loading';
|
|
48
52
|
import Modal from './components/base/Modal/Modal';
|
|
@@ -98,7 +102,8 @@ import UserCompanions from './components/UserCompanions/UserCompanions';
|
|
|
98
102
|
import UserFeedbacks from './components/FeedBack/UserFeedbacks/UserFeedbacks';
|
|
99
103
|
import ViatorProductCard from './providers/viator/components/ViatorProductCard/ViatorProductCard';
|
|
100
104
|
import ViatorProductInfo from './providers/viator/components/ViatorProductInfo/ViatorProductInfo';
|
|
105
|
+
import ViatorTourInfoImage from './providers/viator/components/ViatorProductInfo/ViatorTourInfoImage/ViatorTourInfoImage';
|
|
101
106
|
import QuestionTemplate from './components/QuestionTemplate/QuestionTemplate';
|
|
102
107
|
import BookingDetails from './providers/gyg/components/BookingDetails/BookingDetails';
|
|
103
108
|
import Accordion from './components/base/Accordion/Accordion';
|
|
104
|
-
export { Accordion, AccommondationCard, AccommondationInfo, BackButton, Backdrop, BbAccommodationInfo, BbCarRentInfo, BbTourCard, BbTourInfo, Booking, BookingDetails, Button, ButtonIcons, BUTTON_TYPES, ButterflyCard, ButterflyCardSlider, CardSlider, Checkbox, CreateIconButton, CloseIconButton, Copy, ConfirmModalPopup, DatePicker, DateRangePicker, DirectionInfo, Dropdown, FlightCard, FormTemplateAgent, FormTemplateCompanion, FormTemplateLogin, FormTemplateNewPassword, FormTemplateProfile, FormTemplateRegister, FormTemplateResetPassword, FormTemplateTripNext, FormTemplateTripNextWidget, GoogleMaps, GoogleMapsPoiInfo, GygTourCard,
|
|
109
|
+
export { Accordion, AccommondationCard, AccommondationInfo, BackButton, Backdrop, BbAccommodationInfo, BbCarRentInfo, BbTourCard, BbTourInfo, Booking, BookingDetails, Button, ButtonIcons, BUTTON_TYPES, ButterflyCard, ButterflyCardSlider, CardSlider, Checkbox, CreateIconButton, CloseIconButton, CloseIconButton2, Copy, ConfirmModalPopup, DatePicker, DateRangePicker, DirectionInfo, Dropdown, FlightCard, FormTemplateAgent, FormTemplateCompanion, FormTemplateLogin, FormTemplateNewPassword, FormTemplateProfile, FormTemplateRegister, FormTemplateResetPassword, FormTemplateTripNext, FormTemplateTripNextWidget, GoogleMaps, GoogleMapsPoiInfo, GygTourCard, GygTourInfoEx, GygTourInfoForm, GygTourInfoImage, GygTourShoppingForm, GygTourOption, IconImage, Img, ImgLazy, Input, ItineraryCardSlider, Label, Loading, Modal, ModalFull, MustTryCard, NumberCounter, NumberInput, Notification, OpeningsForm, PageLoading, PlanChangeDay, PoiCategories, PoiInfo, PoiInfoImage, PoiInfoText, PoiListCard, PoiListSearch, PoiRefCard, PoiOfferRefCard, PreAppLoading, PreLoading, Price, ProgressLoading, ProgressAppLoading, RadioButtonGroup, RatingStars, ReadMoreLess, RefCard, ReservationDetails, ResetPasswordApproved, ResetPasswordEmail, RouteResult, RSelect, SearchThisArea, SideNavigation, StepAlternativeCard, StepCard, StepCardUserReaction, StepInfo, StepTimeframe, Svg, Switch, SvgIcons, QuestionTemplate, TabMenu, TasteCard, TasteCard2, TasteInfo, TextField, ToggleSwitch, TourRefCardProduct, TripCard, UserCompanions, UserFeedbacks, ViatorProductCard, ViatorProductInfo, ViatorTourInfoImage, };
|