@tripian/react 6.0.28 → 6.0.30
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/{Feedback → FeedBack}/Feedback.d.ts +0 -0
- 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/index.d.ts +5 -1
- package/index.js +2400 -2145
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +2 -2
|
File without changes
|
|
@@ -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 {};
|
package/index.d.ts
CHANGED
|
@@ -29,10 +29,13 @@ 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';
|
|
35
36
|
import GygTourInfo from './providers/gyg/components/GygTourInfo/GygTourInfo';
|
|
37
|
+
import GygTourInfoImage from './providers/gyg/components/GygTourInfo/GygTourInfoImage/GygTourInfoImage';
|
|
38
|
+
import GygTourOption from './providers/gyg/components/GygTourInfo/GygTourInfoForm/GygTourOption/GygTourOption';
|
|
36
39
|
import IconImage from './components/base/IconImage/IconImage';
|
|
37
40
|
import Img from './components/base/Img/Img';
|
|
38
41
|
import ImgLazy from './components/base/ImgLazy/ImgLazy';
|
|
@@ -62,6 +65,7 @@ import ProgressLoading from './components/base/ProgressLoading/ProgressLoading';
|
|
|
62
65
|
import ProgressAppLoading from './components/base/ProgressAppLoading/ProgressAppLoading';
|
|
63
66
|
import RadioButtonGroup from './components/base/RadioButtonGroup/RadioButtonGroup';
|
|
64
67
|
import RatingStars from './components/RatingStars/RatingStars';
|
|
68
|
+
import ReadMoreLess from './components/base/ReadMoreLess/ReadMoreLess';
|
|
65
69
|
import RefCard from './components/RefCard/RefCard';
|
|
66
70
|
import * as RouteResult from './components/GoogleMaps/GRoute/IRouteResult';
|
|
67
71
|
import RSelect from './components/base/RSelect/RSelect';
|
|
@@ -89,4 +93,4 @@ import UserCompanions from './components/UserCompanions/UserCompanions';
|
|
|
89
93
|
import QuestionTemplate from './components/QuestionTemplate/QuestionTemplate';
|
|
90
94
|
import BookingDetails from './providers/gyg/components/BookingDetails/BookingDetails';
|
|
91
95
|
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, };
|
|
96
|
+
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, GygTourInfoImage, GygTourOption, 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, ReadMoreLess, 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, };
|