@tripian/react 6.0.27 → 6.0.29
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/FormTemplate/FormTemplateTripNextWidget/FormTemplateTripNextWidget.d.ts +27 -0
- package/components/FormTemplate/FormTemplateTripNextWidget/StepDestination/StepDestination.d.ts +15 -0
- package/components/FormTemplate/FormTemplateTripNextWidget/model.d.ts +22 -0
- package/components/TripCard/TripCard.d.ts +2 -0
- package/components/base/PreLoading/PreLoading.d.ts +1 -0
- package/img/e9ebfedd68cfc0c4b3f691edbf1fb070.png +0 -0
- package/index.d.ts +2 -1
- package/index.js +1153 -905
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
3
|
+
/**
|
|
4
|
+
* Destinations
|
|
5
|
+
* Stay & Shares
|
|
6
|
+
* Picked Informations
|
|
7
|
+
* Personalize tour trip
|
|
8
|
+
*/
|
|
9
|
+
interface IFormTemplateTripNextWidget {
|
|
10
|
+
tripProfile: Model.TripProfile;
|
|
11
|
+
cities: Array<Model.City>;
|
|
12
|
+
uniqueUserId: string;
|
|
13
|
+
callbackTripProfile: (tripProfile: Model.TripProfile) => void;
|
|
14
|
+
onSubmitText: string;
|
|
15
|
+
onSubmit: () => void;
|
|
16
|
+
stepHeader: {
|
|
17
|
+
stepId: number;
|
|
18
|
+
header: string;
|
|
19
|
+
};
|
|
20
|
+
destinationTips: {
|
|
21
|
+
iconUrl: string;
|
|
22
|
+
title: string;
|
|
23
|
+
description: string;
|
|
24
|
+
}[];
|
|
25
|
+
}
|
|
26
|
+
declare const FormTemplateTripNextWidget: React.FC<IFormTemplateTripNextWidget>;
|
|
27
|
+
export default FormTemplateTripNextWidget;
|
package/components/FormTemplate/FormTemplateTripNextWidget/StepDestination/StepDestination.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Model from '@tripian/model';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface StepDestinationProps {
|
|
4
|
+
tripProfile: Model.TripProfile;
|
|
5
|
+
cities: Model.City[];
|
|
6
|
+
setTripProfile: (tripProfile: Model.TripProfile) => void;
|
|
7
|
+
isTripEdit: boolean;
|
|
8
|
+
destinationTips: {
|
|
9
|
+
iconUrl: string;
|
|
10
|
+
title: string;
|
|
11
|
+
description: string;
|
|
12
|
+
}[];
|
|
13
|
+
}
|
|
14
|
+
declare const StepDestination: React.FC<StepDestinationProps>;
|
|
15
|
+
export default StepDestination;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import Model from '@tripian/model';
|
|
2
|
+
declare type QuestionAnswerNext = {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
subAnswers: Model.SubAnswer[];
|
|
7
|
+
};
|
|
8
|
+
export declare type QuestionNext = {
|
|
9
|
+
id: number;
|
|
10
|
+
name: string;
|
|
11
|
+
order: number;
|
|
12
|
+
selectMultiple: boolean;
|
|
13
|
+
skippable: boolean;
|
|
14
|
+
stepId: number;
|
|
15
|
+
theme: string;
|
|
16
|
+
iconUrl: string;
|
|
17
|
+
title: string;
|
|
18
|
+
description: string;
|
|
19
|
+
category: Model.QUESTIONS_CATEGORY;
|
|
20
|
+
answers: QuestionAnswerNext[];
|
|
21
|
+
};
|
|
22
|
+
export {};
|
|
@@ -2,6 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import Model from '@tripian/model';
|
|
3
3
|
interface ITripCard {
|
|
4
4
|
tripReference: Model.TripReference;
|
|
5
|
+
icsFileDownload: (tripHash: string) => void;
|
|
6
|
+
icsLoading: boolean;
|
|
5
7
|
editTrip: (tripReference: Model.TripReference) => void;
|
|
6
8
|
deleteTrip: (tripHash: string) => void;
|
|
7
9
|
clicked: (tripReference: Model.TripReference) => void;
|
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ import FormTemplateProfile from './components/FormTemplate/FormTemplateProfile/F
|
|
|
29
29
|
import FormTemplateRegister from './components/FormTemplate/FormTemplateRegister/FormTemplateRegister';
|
|
30
30
|
import FormTemplateResetPassword from './components/FormTemplate/FormTemplateResetPassword/FormTemplateResetPassword';
|
|
31
31
|
import FormTemplateTripNext from './components/FormTemplate/FormTemplateTripNext/FormTemplateTripNext';
|
|
32
|
+
import FormTemplateTripNextWidget from './components/FormTemplate/FormTemplateTripNextWidget/FormTemplateTripNextWidget';
|
|
32
33
|
import GoogleMaps from './components/GoogleMaps/GoogleMaps';
|
|
33
34
|
import GoogleMapsPoiInfo from './components/GoogleMapsPoiInfo/GoogleMapsPoiInfo';
|
|
34
35
|
import GygTourCard from './providers/gyg/components/GygTourCard/GygTourCard';
|
|
@@ -89,4 +90,4 @@ import UserCompanions from './components/UserCompanions/UserCompanions';
|
|
|
89
90
|
import QuestionTemplate from './components/QuestionTemplate/QuestionTemplate';
|
|
90
91
|
import BookingDetails from './providers/gyg/components/BookingDetails/BookingDetails';
|
|
91
92
|
import Accordion from './components/base/Accordion/Accordion';
|
|
92
|
-
export { Accordion, AccommondationCard, AccommondationInfo, 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, FormTemplateNewPassword, FormTemplateProfile, FormTemplateRegister, FormTemplateResetPassword, FormTemplateTripNext, GoogleMaps, GoogleMapsPoiInfo, GygTourCard, GygTourInfo, IconImage, Img, ImgLazy, Input, Label, Loading, Modal, ModalFull, MustTryCard, NumberCounter, NumberInput, Notification, OpeningsForm, PageLoading, PlanChangeDay, PoiCategories, PoiInfo, PoiInfoImage, PoiInfoText, PoiListCard, PoiListSearch, PoiRefCard, PoiOfferRefCard, PreLoading, Price, ProgressLoading, ProgressAppLoading, RadioButtonGroup, RatingStars, RefCard, ReservationDetails, ResetPasswordApproved, ResetPasswordEmail, RouteResult, RSelect, SearchThisArea, SideNavigation, StepAlternativeCard, StepCard, StepCardUserReaction, StepInfo, StepTimeframe, Svg, Switch, SvgIcons, QuestionTemplate, TabMenu, TasteCard, TasteCard2, TasteInfo, TextField, TourRefCardProduct, TripCard, UserCompanions, };
|
|
93
|
+
export { Accordion, AccommondationCard, AccommondationInfo, 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, FormTemplateNewPassword, FormTemplateProfile, FormTemplateRegister, FormTemplateResetPassword, FormTemplateTripNext, FormTemplateTripNextWidget, GoogleMaps, GoogleMapsPoiInfo, GygTourCard, GygTourInfo, IconImage, Img, ImgLazy, Input, Label, Loading, Modal, ModalFull, MustTryCard, NumberCounter, NumberInput, Notification, OpeningsForm, PageLoading, PlanChangeDay, PoiCategories, PoiInfo, PoiInfoImage, PoiInfoText, PoiListCard, PoiListSearch, PoiRefCard, PoiOfferRefCard, PreLoading, Price, ProgressLoading, ProgressAppLoading, RadioButtonGroup, RatingStars, RefCard, ReservationDetails, ResetPasswordApproved, ResetPasswordEmail, RouteResult, RSelect, SearchThisArea, SideNavigation, StepAlternativeCard, StepCard, StepCardUserReaction, StepInfo, StepTimeframe, Svg, Switch, SvgIcons, QuestionTemplate, TabMenu, TasteCard, TasteCard2, TasteInfo, TextField, TourRefCardProduct, TripCard, UserCompanions, };
|