@tripian/react 9.0.12 → 9.0.13
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/DeleteUser/DeleteUser.d.ts +10 -0
- package/components/DeleteUserSuccess/DeleteUserSuccess.d.ts +8 -0
- package/components/FormTemplate/FormTemplateTripNextWidget/FormTemplateTripNextWidget.d.ts +1 -0
- package/components/FormTemplate/FormTemplateTripNextWidget/StepDestinationWidget/StepDestinationWidget.d.ts +4 -0
- package/components/GoogleMaps/GPlacesAutocomplete2/GPlacesAutocomplete2.d.ts +1 -0
- package/components/base/EllipseIcon/EllipseIcon.d.ts +1 -1
- package/components/base/Svg/Icons/Exclamation.d.ts +2 -2
- package/components/base/Svg/Icons/Exclamation2.d.ts +4 -0
- package/components/base/Svg/Icons/Success.d.ts +4 -0
- package/index.d.ts +3 -1
- package/index.js +2076 -1861
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
3
|
+
interface IDeleteUser {
|
|
4
|
+
goBack: () => void;
|
|
5
|
+
success: () => void;
|
|
6
|
+
userDeleteCallback: () => Promise<Model.DeleteUpdateResponse>;
|
|
7
|
+
t: (value: Model.TranslationKey) => string;
|
|
8
|
+
}
|
|
9
|
+
declare const DeleteUser: React.FC<IDeleteUser>;
|
|
10
|
+
export default DeleteUser;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
3
|
+
interface IDeleteUserSuccess {
|
|
4
|
+
goRegister: () => void;
|
|
5
|
+
t: (value: Model.TranslationKey) => string;
|
|
6
|
+
}
|
|
7
|
+
declare const DeleteUserSuccess: React.FC<IDeleteUserSuccess>;
|
|
8
|
+
export default DeleteUserSuccess;
|
|
@@ -17,6 +17,7 @@ interface IFormTemplateTripNextWidget {
|
|
|
17
17
|
stepId: number;
|
|
18
18
|
header: string;
|
|
19
19
|
};
|
|
20
|
+
t: (value: Model.TranslationKey) => string;
|
|
20
21
|
}
|
|
21
22
|
declare const FormTemplateTripNextWidget: React.FC<IFormTemplateTripNextWidget>;
|
|
22
23
|
export default FormTemplateTripNextWidget;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="google.maps" />
|
|
1
2
|
import Model from '@tripian/model';
|
|
2
3
|
import React from 'react';
|
|
3
4
|
export interface StepDestinationWidgetProps {
|
|
@@ -5,7 +6,10 @@ export interface StepDestinationWidgetProps {
|
|
|
5
6
|
tripProfile: Model.TripProfile;
|
|
6
7
|
cities: Model.City[];
|
|
7
8
|
setTripProfile: (tripProfile: Model.TripProfile) => void;
|
|
9
|
+
bound: google.maps.LatLngBounds | undefined;
|
|
10
|
+
setBound: (newBound?: google.maps.LatLngBounds) => void;
|
|
8
11
|
isTripEdit: boolean;
|
|
12
|
+
t: (value: Model.TranslationKey) => string;
|
|
9
13
|
}
|
|
10
14
|
declare const StepDestinationWidget: React.FC<StepDestinationWidgetProps>;
|
|
11
15
|
export default StepDestinationWidget;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface IEllipseIcon {
|
|
3
|
-
name: 'RESET_PASSWORD_EMAIL' | 'RESET_PASSWORD_APPROVED';
|
|
3
|
+
name: 'RESET_PASSWORD_EMAIL' | 'RESET_PASSWORD_APPROVED' | 'DELETE_USER' | 'DELETE_USER_SUCCESS';
|
|
4
4
|
}
|
|
5
5
|
declare const EllipseIcon: React.FC<IEllipseIcon>;
|
|
6
6
|
export default EllipseIcon;
|
package/index.d.ts
CHANGED
|
@@ -30,6 +30,8 @@ import CustomPopover from './components/base/CustomPopover/CustomPopover';
|
|
|
30
30
|
import CustomSlider from './components/CustomSlider/CustomSlider';
|
|
31
31
|
import DatePicker from './components/DatePicker/DatePicker';
|
|
32
32
|
import DateRangePicker from './components/DateRangePicker/DateRangePicker';
|
|
33
|
+
import DeleteUser from './components/DeleteUser/DeleteUser';
|
|
34
|
+
import DeleteUserSuccess from './components/DeleteUserSuccess/DeleteUserSuccess';
|
|
33
35
|
import DirectionInfo from './components/DirectionInfo/DirectionInfo';
|
|
34
36
|
import Dropdown from './components/base/Dropdown/Dropdown';
|
|
35
37
|
import FlightCard from './components/FlightCard/FlightCard';
|
|
@@ -123,4 +125,4 @@ import ViatorTourInfoImage from './providers/viator/components/ViatorProductInfo
|
|
|
123
125
|
import QuestionTemplate from './components/QuestionTemplate/QuestionTemplate';
|
|
124
126
|
import BookingDetails from './providers/gyg/components/BookingDetails/BookingDetails';
|
|
125
127
|
import Accordion from './components/base/Accordion/Accordion';
|
|
126
|
-
export { Accordion, AccommondationCard, AccommondationInfo, Badge, BackButton, Backdrop, BbAccommodationInfo, BbCarRentInfo, BbTourCard, BbTourInfo, BbTourInfoForm, BbTourInfoImage, BbTourInfoOffer, BbTourInfoText, Booking, BookingDetails, Button, ButtonIcons, BUTTON_TYPES, ButterflyCard, ButterflyCardSlider, CardSlider, Checkbox, CreateIconButton, CloseIconButton, CloseIconButton2, ConfirmModalPopup, Copy, CouponCard, CustomPopover, CustomSlider, DatePicker, DateRangePicker, DirectionInfo, Dropdown, FlightCard, FormTemplateAgent, FormTemplateCompanion, FormTemplateLogin, FormTemplateNewPassword, FormTemplateProfile, FormTemplateRegister, FormTemplateResetPassword, FormTemplateToursAndTickets, FormTemplateTripNext, FormTemplateTripNextWidget, GoogleMaps, GoogleMapsPoiInfo, GoogleMapsSearch, GPlacesAutocomplete2, GygTourCard, GygTourInfoEx, GygTourInfoForm, GygTourInfoImage, GygTourShoppingForm, GygTourOption, IconImage, Img, ImgLazy, Input, ItineraryCardSlider, Label, Loading, Modal, ModalFull, MustTryCard, NumberCounter, NumberInput, Notification, OfferAvailableDaySelect, OfferCard, OpeningsForm, PageLoading, PlanChangeDay, PoiCategories, PoiInfo, PoiInfoImage, PoiInfoText, PoiListCard, PoiListSearch, PoiRefCard, PoiSearchAutoComplete, PoiOfferRefCard, PreAppLoading, PreLoading, Price, ProgressLoading, ProgressAppLoading, RadioButton, 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, Toggle, ToggleSwitch, TourRefCardProduct, TripCard, TripSavedCard, UserCompanions, UserFeedbacks, ViatorProductCard, ViatorProductInfo, ViatorTourInfoImage, };
|
|
128
|
+
export { Accordion, AccommondationCard, AccommondationInfo, Badge, BackButton, Backdrop, BbAccommodationInfo, BbCarRentInfo, BbTourCard, BbTourInfo, BbTourInfoForm, BbTourInfoImage, BbTourInfoOffer, BbTourInfoText, Booking, BookingDetails, Button, ButtonIcons, BUTTON_TYPES, ButterflyCard, ButterflyCardSlider, CardSlider, Checkbox, CreateIconButton, CloseIconButton, CloseIconButton2, ConfirmModalPopup, Copy, CouponCard, CustomPopover, CustomSlider, DatePicker, DateRangePicker, DeleteUser, DeleteUserSuccess, DirectionInfo, Dropdown, FlightCard, FormTemplateAgent, FormTemplateCompanion, FormTemplateLogin, FormTemplateNewPassword, FormTemplateProfile, FormTemplateRegister, FormTemplateResetPassword, FormTemplateToursAndTickets, FormTemplateTripNext, FormTemplateTripNextWidget, GoogleMaps, GoogleMapsPoiInfo, GoogleMapsSearch, GPlacesAutocomplete2, GygTourCard, GygTourInfoEx, GygTourInfoForm, GygTourInfoImage, GygTourShoppingForm, GygTourOption, IconImage, Img, ImgLazy, Input, ItineraryCardSlider, Label, Loading, Modal, ModalFull, MustTryCard, NumberCounter, NumberInput, Notification, OfferAvailableDaySelect, OfferCard, OpeningsForm, PageLoading, PlanChangeDay, PoiCategories, PoiInfo, PoiInfoImage, PoiInfoText, PoiListCard, PoiListSearch, PoiRefCard, PoiSearchAutoComplete, PoiOfferRefCard, PreAppLoading, PreLoading, Price, ProgressLoading, ProgressAppLoading, RadioButton, 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, Toggle, ToggleSwitch, TourRefCardProduct, TripCard, TripSavedCard, UserCompanions, UserFeedbacks, ViatorProductCard, ViatorProductInfo, ViatorTourInfoImage, };
|