@tripian/react 5.0.5 → 5.0.8
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/FormTemplateRegister/FormTemplateRegister.d.ts +0 -2
- package/components/OfferCard/OfferCard.d.ts +3 -1
- package/components/PoiInfo/PoiInfo.d.ts +3 -1
- package/components/StepInfo/StepInfo.d.ts +3 -0
- package/components/base/Button/Icons/EyeIconButton/EyeIconButton.d.ts +7 -0
- package/components/base/EyeToggle/Switch.d.ts +7 -0
- package/components/base/TextField/TextField.d.ts +1 -0
- package/index.js +1605 -1550
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Model from '@tripian/model';
|
|
3
3
|
interface IFormTemplateRegister {
|
|
4
|
-
profileQuestions?: Model.Question[];
|
|
5
4
|
register: (value: Model.RegisterRequest) => Promise<Model.Token>;
|
|
6
5
|
successRegister: (userEmail: string, token: Model.Token) => void;
|
|
7
6
|
reCaptchaSiteKey: string;
|
|
8
|
-
showProfileQuestions?: boolean;
|
|
9
7
|
showCaptcha: boolean;
|
|
10
8
|
}
|
|
11
9
|
declare const FormTemplateRegister: React.FC<IFormTemplateRegister>;
|
|
@@ -2,7 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import Model from '@tripian/model';
|
|
3
3
|
interface IOfferCard {
|
|
4
4
|
offer: Model.Offer;
|
|
5
|
-
|
|
5
|
+
optedIn: boolean;
|
|
6
|
+
isLoadingOffer: (offerId: number) => boolean;
|
|
7
|
+
clicked: (optIn: boolean, id: number) => void;
|
|
6
8
|
}
|
|
7
9
|
declare const OfferCard: React.FC<IOfferCard>;
|
|
8
10
|
export default OfferCard;
|
|
@@ -21,7 +21,9 @@ 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
|
+
myOffers: Model.Poi[];
|
|
25
|
+
isLoadingOffer: (offerId: number) => boolean;
|
|
26
|
+
offerButtonClick: (optIn: boolean, offerId: number, offerClaimDate: string) => void;
|
|
25
27
|
}
|
|
26
28
|
declare const PoiInfo: React.FC<IPoiInfo>;
|
|
27
29
|
export default PoiInfo;
|
|
@@ -17,6 +17,9 @@ 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
|
+
myOffers: Model.Poi[];
|
|
21
|
+
isLoadingOffer: (offerId: number) => boolean;
|
|
22
|
+
offerButtonClick: (optIn: boolean, offerId: number, offerClaimDate: string) => void;
|
|
20
23
|
}
|
|
21
24
|
declare const StepInfo: React.FC<IStepInfo>;
|
|
22
25
|
export default StepInfo;
|