@tripian/react 6.0.3 → 6.0.5
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/FormTemplateTripNext/StepDestination/StepDestination.d.ts +1 -1
- package/components/GoogleMaps/GRoute/GRouteCalculate.d.ts +1 -1
- package/components/GoogleMaps/GRoute/GRouteRender.d.ts +2 -2
- package/components/GoogleMaps/GRoute/IRouteResult.d.ts +2 -2
- package/components/UserCompanionSelection/UserCompanionSelection.d.ts +1 -1
- package/components/base/RSelect/RSelect.d.ts +7 -9
- package/components/base/RSelectMulti/RSelectMulti.d.ts +15 -0
- package/index.d.ts +1 -3
- package/index.js +28928 -28186
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import Model from '@tripian/model';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export interface StepDestinationProps {
|
|
4
4
|
tripProfile: Model.TripProfile;
|
|
5
|
-
cities:
|
|
5
|
+
cities: Model.City[];
|
|
6
6
|
setTripProfile: (tripProfile: Model.TripProfile) => void;
|
|
7
7
|
isTripEdit: boolean;
|
|
8
8
|
destinationTips: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IMergedDirections } from './IRouteResult';
|
|
2
|
-
declare const mergeDirections: (directionsWalking
|
|
2
|
+
declare const mergeDirections: (directionsWalking?: google.maps.DirectionsResult, directionsDriving?: google.maps.DirectionsResult, directionsCycling?: google.maps.DirectionsResult) => IMergedDirections | undefined;
|
|
3
3
|
export default mergeDirections;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
interface IGRouteRender {
|
|
5
5
|
directions?: {
|
|
6
|
-
walking
|
|
7
|
-
driving
|
|
6
|
+
walking?: google.maps.DirectionsResult;
|
|
7
|
+
driving?: google.maps.DirectionsResult;
|
|
8
8
|
cycling?: google.maps.DirectionsResult;
|
|
9
9
|
};
|
|
10
10
|
}
|
|
@@ -19,8 +19,8 @@ export interface ILeg {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
export interface IMergedDirections {
|
|
22
|
-
walking
|
|
23
|
-
driving
|
|
22
|
+
walking?: google.maps.DirectionsResult;
|
|
23
|
+
driving?: google.maps.DirectionsResult;
|
|
24
24
|
cycling?: google.maps.DirectionsResult;
|
|
25
25
|
legs: ILeg[];
|
|
26
26
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Model from '@tripian/model';
|
|
3
3
|
interface IUserCompanionSelection {
|
|
4
|
-
selectedCompanionIds:
|
|
4
|
+
selectedCompanionIds: number[];
|
|
5
5
|
userCompanionQuestions: Array<Model.Question>;
|
|
6
6
|
userCompanions?: Array<Model.Companion>;
|
|
7
7
|
companionLoadingList: Array<number>;
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { InputActionMeta } from 'react-select';
|
|
3
3
|
import './RSelect.scss';
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
export declare type RSelectOption = {
|
|
5
|
+
value: string;
|
|
6
6
|
label: string;
|
|
7
|
-
|
|
8
|
-
isSelected?: boolean;
|
|
9
|
-
}
|
|
7
|
+
};
|
|
10
8
|
interface IRSelect {
|
|
11
|
-
options:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
disabled?: boolean;
|
|
9
|
+
options: RSelectOption[];
|
|
10
|
+
selectedOptionValue?: string;
|
|
11
|
+
onSelectedOptionChange: (selectedOption: RSelectOption) => void;
|
|
15
12
|
onInputChange?: (newValue: string, actionMeta: InputActionMeta) => void;
|
|
16
13
|
placeHolder?: string;
|
|
14
|
+
disabled?: boolean;
|
|
17
15
|
onFocus?: () => void;
|
|
18
16
|
onBlur?: () => void;
|
|
19
17
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { InputActionMeta } from 'react-select';
|
|
3
|
+
import { RSelectOption } from '../RSelect/RSelect';
|
|
4
|
+
interface IRSelectMulti {
|
|
5
|
+
options: RSelectOption[];
|
|
6
|
+
selectedOptionValues: string[];
|
|
7
|
+
onSelectedOptionChange: (selectedOptions: RSelectOption[]) => void;
|
|
8
|
+
onInputChange?: (newValue: string, actionMeta: InputActionMeta) => void;
|
|
9
|
+
placeHolder?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
onFocus?: () => void;
|
|
12
|
+
onBlur?: () => void;
|
|
13
|
+
}
|
|
14
|
+
declare const RSelectMulti: React.FC<IRSelectMulti>;
|
|
15
|
+
export default RSelectMulti;
|
package/index.d.ts
CHANGED
|
@@ -28,8 +28,6 @@ import FormTemplateNewPassword from './components/FormTemplate/FormTemplateNewPa
|
|
|
28
28
|
import FormTemplateProfile from './components/FormTemplate/FormTemplateProfile/FormTemplateProfile';
|
|
29
29
|
import FormTemplateRegister from './components/FormTemplate/FormTemplateRegister/FormTemplateRegister';
|
|
30
30
|
import FormTemplateResetPassword from './components/FormTemplate/FormTemplateResetPassword/FormTemplateResetPassword';
|
|
31
|
-
import FormTemplateTrip from './components/FormTemplate/FormTemplateTrip/FormTemplateTrip';
|
|
32
|
-
import FormTemplateTrip2 from './components/FormTemplate/FormTemplateTrip2/FormTemplateTrip2';
|
|
33
31
|
import FormTemplateTripNext from './components/FormTemplate/FormTemplateTripNext/FormTemplateTripNext';
|
|
34
32
|
import GoogleMaps from './components/GoogleMaps/GoogleMaps';
|
|
35
33
|
import GoogleMapsPoiInfo from './components/GoogleMapsPoiInfo/GoogleMapsPoiInfo';
|
|
@@ -94,4 +92,4 @@ import UserCompanions from './components/UserCompanions/UserCompanions';
|
|
|
94
92
|
import QuestionTemplate from './components/QuestionTemplate/QuestionTemplate';
|
|
95
93
|
import BookingDetails from './providers/gyg/components/BookingDetails/BookingDetails';
|
|
96
94
|
import Accordion from './components/base/Accordion/Accordion';
|
|
97
|
-
export { Accordion, AccommendationCard, AccommendationInfo, 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,
|
|
95
|
+
export { Accordion, AccommendationCard, AccommendationInfo, 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, GlxTourCard, GlxTourInfo, 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, TourRefCard, TourRefCardProduct, TripCard, UserCompanions, };
|