@tripian/react 5.0.25 → 5.0.26
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/MustTryCard/MustTryCard.d.ts +1 -1
- package/components/PoiInfo/PoiInfo.d.ts +1 -1
- package/components/PoiInfo/PoiInfoText/PoiInfoText.d.ts +1 -1
- package/components/PoiRefCard/PoiRefCard.d.ts +1 -1
- package/components/QuestionTemplate/Question/RadioButtonQuestion/RadioButtonQuestion.d.ts +1 -1
- package/components/QuestionTemplate/Question/RadioButtonQuestion/RadioButtonQuestion2.d.ts +1 -1
- package/components/StepAlternativeCard/StepAlternativeCard.d.ts +1 -1
- package/components/StepCard/StepCard.d.ts +1 -1
- package/components/StepCardUserReaction/StepCardUserReaction.d.ts +1 -1
- package/components/StepInfo/StepInfo.d.ts +1 -1
- package/components/TasteInfo/MustTryPois/MustTryPois.d.ts +1 -1
- package/components/TasteInfo/TasteInfo.d.ts +1 -1
- package/components/base/IconImage/IconImage.d.ts +1 -1
- package/components/base/RadioButtonGroup/RadioButton/RadioButton.d.ts +1 -1
- package/components/base/RadioButtonGroup/RadioButtonGroup.d.ts +2 -1
- package/img/619d10ae504974d756de8f86b47706fa.svg +3 -0
- package/index.js +444 -382
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@ interface IMustTryCard {
|
|
|
6
6
|
fetchPois: (tasteId: number) => Promise<Model.Poi[]>;
|
|
7
7
|
TOUR_PROVIDER_ID: Model.PROVIDER_ID;
|
|
8
8
|
TICKET_PROVIDER_ID: Model.PROVIDER_ID;
|
|
9
|
-
|
|
9
|
+
RESTAURANT_RESERVATION_PROVIDER_IDS: Model.PROVIDER_ID[];
|
|
10
10
|
hideReservationIcon: boolean;
|
|
11
11
|
hideTourTicketIcons: boolean;
|
|
12
12
|
hideOfferIcon: boolean;
|
|
@@ -21,7 +21,7 @@ interface IPoiInfo {
|
|
|
21
21
|
getTourInfo?: (productId: string) => void;
|
|
22
22
|
TOUR_PROVIDER_ID: Model.PROVIDER_ID;
|
|
23
23
|
TICKET_PROVIDER_ID: Model.PROVIDER_ID;
|
|
24
|
-
|
|
24
|
+
RESTAURANT_RESERVATION_PROVIDER_IDS: Model.PROVIDER_ID[];
|
|
25
25
|
myOffers: Model.Poi[];
|
|
26
26
|
isLoadingOffer: (offerId: number) => boolean;
|
|
27
27
|
offerButtonClick: (optIn: boolean, offerId: number, offerClaimDate: string) => void;
|
|
@@ -7,7 +7,7 @@ interface IPoiInfoText {
|
|
|
7
7
|
reservationUrl?: string;
|
|
8
8
|
hideBookingButton: boolean;
|
|
9
9
|
bookingButtonClick?: (productId: string, poi: Model.Poi) => void;
|
|
10
|
-
|
|
10
|
+
RESTAURANT_RESERVATION_PROVIDER_IDS: Model.PROVIDER_ID[];
|
|
11
11
|
}
|
|
12
12
|
declare const PoiInfoText: React.FC<IPoiInfoText>;
|
|
13
13
|
export default PoiInfoText;
|
|
@@ -10,7 +10,7 @@ interface IPoiRefCard {
|
|
|
10
10
|
addRemoveAlternativePoi: (poi: Model.Poi) => void;
|
|
11
11
|
TOUR_PROVIDER_ID: Model.PROVIDER_ID;
|
|
12
12
|
TICKET_PROVIDER_ID: Model.PROVIDER_ID;
|
|
13
|
-
|
|
13
|
+
RESTAURANT_RESERVATION_PROVIDER_IDS: Model.PROVIDER_ID[];
|
|
14
14
|
hideReservationIcon: boolean;
|
|
15
15
|
hideTourTicketIcons: boolean;
|
|
16
16
|
hideOfferIcon: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface IRadioButtonQuestion {
|
|
3
3
|
defaultAnswer?: number;
|
|
4
|
-
radioButtonChange: (addedOptionId
|
|
4
|
+
radioButtonChange: (addedOptionId?: number, removedOptionId?: number) => void;
|
|
5
5
|
flexDirection: 'column' | 'row';
|
|
6
6
|
}
|
|
7
7
|
declare const RadioButtonQuestion: React.FC<IRadioButtonQuestion>;
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
interface IRadioButtonQuestion {
|
|
4
4
|
question: Model.Question;
|
|
5
5
|
defaultAnswer?: number;
|
|
6
|
-
radioButtonChange: (addedOptionId
|
|
6
|
+
radioButtonChange: (addedOptionId?: number, removedOptionId?: number) => void;
|
|
7
7
|
flexDirection: 'column' | 'row';
|
|
8
8
|
}
|
|
9
9
|
declare const RadioButtonQuestion2: React.FC<IRadioButtonQuestion>;
|
|
@@ -7,7 +7,7 @@ interface IStepAlternativeCard {
|
|
|
7
7
|
dayNumbers?: number[];
|
|
8
8
|
TOUR_PROVIDER_ID: Model.PROVIDER_ID;
|
|
9
9
|
TICKET_PROVIDER_ID: Model.PROVIDER_ID;
|
|
10
|
-
|
|
10
|
+
RESTAURANT_RESERVATION_PROVIDER_IDS: Model.PROVIDER_ID[];
|
|
11
11
|
hideReservationIcon: boolean;
|
|
12
12
|
hideTourTicketIcons: boolean;
|
|
13
13
|
hideOfferIcon: boolean;
|
|
@@ -13,7 +13,7 @@ interface IStepCard {
|
|
|
13
13
|
dragHandle?: JSX.Element;
|
|
14
14
|
TOUR_PROVIDER_ID: Model.PROVIDER_ID;
|
|
15
15
|
TICKET_PROVIDER_ID: Model.PROVIDER_ID;
|
|
16
|
-
|
|
16
|
+
RESTAURANT_RESERVATION_PROVIDER_IDS: Model.PROVIDER_ID[];
|
|
17
17
|
hideReservationIcon: boolean;
|
|
18
18
|
hideTourTicketIcons: boolean;
|
|
19
19
|
hideOfferIcon: boolean;
|
|
@@ -16,7 +16,7 @@ interface IStepCardUserReaction {
|
|
|
16
16
|
userReactionRemoveStep: () => void;
|
|
17
17
|
TOUR_PROVIDER_ID: Model.PROVIDER_ID;
|
|
18
18
|
TICKET_PROVIDER_ID: Model.PROVIDER_ID;
|
|
19
|
-
|
|
19
|
+
RESTAURANT_RESERVATION_PROVIDER_IDS: Model.PROVIDER_ID[];
|
|
20
20
|
hideReservationIcon: boolean;
|
|
21
21
|
hideTourTicketIcons: boolean;
|
|
22
22
|
hideOfferIcon: boolean;
|
|
@@ -17,7 +17,7 @@ interface IStepInfo {
|
|
|
17
17
|
getTourInfo?: (productId: string) => void;
|
|
18
18
|
TOUR_PROVIDER_ID: Model.PROVIDER_ID;
|
|
19
19
|
TICKET_PROVIDER_ID: Model.PROVIDER_ID;
|
|
20
|
-
|
|
20
|
+
RESTAURANT_RESERVATION_PROVIDER_IDS: Model.PROVIDER_ID[];
|
|
21
21
|
myOffers: Model.Poi[];
|
|
22
22
|
isLoadingOffer: (offerId: number) => boolean;
|
|
23
23
|
offerButtonClick: (optIn: boolean, offerId: number, offerClaimDate: string) => void;
|
|
@@ -5,7 +5,7 @@ interface IMustTryPois {
|
|
|
5
5
|
poiClicked: (poi: Model.Poi) => void;
|
|
6
6
|
TOUR_PROVIDER_ID: Model.PROVIDER_ID;
|
|
7
7
|
TICKET_PROVIDER_ID: Model.PROVIDER_ID;
|
|
8
|
-
|
|
8
|
+
RESTAURANT_RESERVATION_PROVIDER_IDS: Model.PROVIDER_ID[];
|
|
9
9
|
hideReservationIcon: boolean;
|
|
10
10
|
hideTourTicketIcons: boolean;
|
|
11
11
|
hideOfferIcon: boolean;
|
|
@@ -8,7 +8,7 @@ interface ITasteInfo {
|
|
|
8
8
|
poiClicked: (poi: Model.Poi) => void;
|
|
9
9
|
TOUR_PROVIDER_ID: Model.PROVIDER_ID;
|
|
10
10
|
TICKET_PROVIDER_ID: Model.PROVIDER_ID;
|
|
11
|
-
|
|
11
|
+
RESTAURANT_RESERVATION_PROVIDER_IDS: Model.PROVIDER_ID[];
|
|
12
12
|
hideReservationIcon: boolean;
|
|
13
13
|
hideTourTicketIcons: boolean;
|
|
14
14
|
hideOfferIcon: boolean;
|
|
@@ -6,7 +6,8 @@ interface IOptionsIRadioButtonGroup {
|
|
|
6
6
|
interface IRadioButtonGroup {
|
|
7
7
|
options: Array<IOptionsIRadioButtonGroup>;
|
|
8
8
|
defaultSelectedId?: number | string;
|
|
9
|
-
onChange: (
|
|
9
|
+
onChange: (checked: boolean, domId: number) => void;
|
|
10
|
+
skippable: boolean;
|
|
10
11
|
}
|
|
11
12
|
declare const RadioButtonGroup: React.FC<IRadioButtonGroup>;
|
|
12
13
|
export default RadioButtonGroup;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 122.88 122.88">
|
|
2
|
+
<path d="M13.7,49.54,8,33.63a3.47,3.47,0,0,1,2.1-4.44,3.93,3.93,0,0,1,.81-.18L27.3,27.3,29,10.79a3.47,3.47,0,0,1,3.81-3.1,2.9,2.9,0,0,1,.71.15l16,4.11L58.8,1.21A3.49,3.49,0,0,1,63.7.83a3.91,3.91,0,0,1,.61.68l9,12.17,15.91-5.8A3.48,3.48,0,0,1,93.69,10a3.44,3.44,0,0,1,.19.83l1.7,16.51L112.09,29a3.47,3.47,0,0,1,2.71,5.09l-7.3,13.77,14,10.83a3.46,3.46,0,0,1,.62,4.87,3.18,3.18,0,0,1-.72.7L109.2,73.33,115,89.24a3.48,3.48,0,0,1-2.08,4.45,3.44,3.44,0,0,1-.83.19l-16.51,1.7L93.88,112a3.48,3.48,0,0,1-3.81,3.1,3.61,3.61,0,0,1-1.27-.38L75,107.49l-10.85,14a3.46,3.46,0,0,1-5.57-.1l-9.08-12.25-15.91,5.74A3.47,3.47,0,0,1,29,112.05L27.3,97.29,10.53,93.82a3.46,3.46,0,0,1-2.7-4.09A2.62,2.62,0,0,1,8,89.11L13.7,73.34,1.4,64.23a3.48,3.48,0,0,1-.72-4.86,3.42,3.42,0,0,1,.77-.75L13.7,49.54Zm62.39-6.2L55.66,78.86a6.86,6.86,0,0,1-.67,1,2.76,2.76,0,0,1-.82.71,3.14,3.14,0,0,1-1.1.31,10.25,10.25,0,0,1-1.31.07H47.9a1.16,1.16,0,0,1-1.16-1.15,1.18,1.18,0,0,1,.21-.67L67.39,43.57a7.2,7.2,0,0,1,.65-1l0-.06a2.84,2.84,0,0,1,.78-.65A3.15,3.15,0,0,1,70,41.59h0a10,10,0,0,1,1.29-.07h3.85a1.16,1.16,0,0,1,1.16,1.15,1.18,1.18,0,0,1-.21.67Zm-7.4,36.07c-1.72-1.8-2.59-4.56-2.59-8.28s.87-6.48,2.59-8.28,4.52-2.7,8.4-2.7,6.68.9,8.4,2.7,2.58,4.56,2.58,8.28-.86,6.48-2.58,8.28-4.52,2.7-8.4,2.7-6.68-.9-8.4-2.7Zm6-11.44v8h1.3a16.21,16.21,0,0,0,3.27-.26c.22-.18.33-.67.33-1.46v-8h-3a3,3,0,0,0-1.58.26c-.21.18-.32.67-.32,1.46ZM37.39,60q-2.58-2.7-2.58-8.28t2.58-8.28q2.58-2.7,8.4-2.7t8.4,2.7q2.58,2.7,2.58,8.28T54.19,60q-2.58,2.7-8.4,2.7T37.39,60Zm6-11.44v8h3a2.93,2.93,0,0,0,1.57-.27c.22-.18.33-.67.33-1.46v-8H46.93a15.28,15.28,0,0,0-3.26.27c-.22.17-.33.66-.33,1.45ZM16,35.46l5,14a3.48,3.48,0,0,1-1.14,4.13L9.3,61.44,19.9,69.3a3.48,3.48,0,0,1,1.2,4L15.84,87.84,31,91a3.48,3.48,0,0,1,3,3.05l1.49,12.9,14.05-5.06A3.47,3.47,0,0,1,53.59,103l7.91,10.68,9.74-12.61A3.48,3.48,0,0,1,75.69,100l11.81,6.21L89,92.1A3.47,3.47,0,0,1,92.06,89L107,87.43,101.8,73.32a3.46,3.46,0,0,1,1.18-4l10.67-7.92-12.52-9.67A3.5,3.5,0,0,1,100,47.18l6.26-11.8L92.1,33.93A3.48,3.48,0,0,1,89,30.82L87.43,15.93,73.32,21.08a3.48,3.48,0,0,1-4-1.18L61.24,9l-7.8,9.07a3.48,3.48,0,0,1-3.5,1.1L35.5,15.5,33.92,30.78a3.47,3.47,0,0,1-3.1,3.14L16,35.46Z" />
|
|
3
|
+
</svg>
|