@tripian/react 6.0.23 → 6.0.27
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.d.ts +10 -0
- package/components/Loading/Loading.d.ts +1 -0
- package/components/PoiInfo/PoiInfo.d.ts +3 -0
- package/components/StepInfo/StepInfo.d.ts +3 -0
- package/components/base/Backdrop/Backdrop.d.ts +1 -0
- package/components/base/Button/Icons/index.d.ts +1 -0
- package/components/base/Modal/Modal.d.ts +1 -1
- package/components/base/PageLoading/PageLoading.d.ts +1 -0
- package/components/base/SideNavigation/SideNavigation.d.ts +4 -0
- package/img/d33033e86902c1855385d224f7507515.png +0 -0
- package/index.js +2098 -1948
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import Model from '@tripian/model';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface IFeedback {
|
|
4
|
+
feedbackSubjects: Model.FeedbackSubjects[];
|
|
5
|
+
sendFeedback: (value: Model.FeedbackRequest) => Promise<void>;
|
|
6
|
+
showModal: boolean;
|
|
7
|
+
setShowModal: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare const Feedback: React.FC<IFeedback>;
|
|
10
|
+
export default Feedback;
|
|
@@ -26,6 +26,9 @@ interface IPoiInfo {
|
|
|
26
26
|
isLoadingOffer: (offerId: number) => boolean;
|
|
27
27
|
offerButtonClick: (optIn: boolean, offerId: number, offerClaimDate: string) => void;
|
|
28
28
|
hideOffers: boolean;
|
|
29
|
+
loadingFeedback: boolean;
|
|
30
|
+
feedbackSubjects: Model.FeedbackSubjects[];
|
|
31
|
+
sendFeedback: (value: Model.FeedbackRequest) => Promise<void>;
|
|
29
32
|
}
|
|
30
33
|
declare const PoiInfo: React.FC<IPoiInfo>;
|
|
31
34
|
export default PoiInfo;
|
|
@@ -22,6 +22,9 @@ interface IStepInfo {
|
|
|
22
22
|
isLoadingOffer: (offerId: number) => boolean;
|
|
23
23
|
offerButtonClick: (optIn: boolean, offerId: number, offerClaimDate: string) => void;
|
|
24
24
|
hideOffers: boolean;
|
|
25
|
+
loadingFeedback: boolean;
|
|
26
|
+
feedbackSubjects: Model.FeedbackSubjects[];
|
|
27
|
+
sendFeedback: (value: Model.FeedbackRequest) => Promise<void>;
|
|
25
28
|
}
|
|
26
29
|
declare const StepInfo: React.FC<IStepInfo>;
|
|
27
30
|
export default StepInfo;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
2
3
|
interface ISideNavigationMenuItem {
|
|
3
4
|
header: string;
|
|
4
5
|
title: string;
|
|
@@ -12,6 +13,9 @@ interface ISideNavigation {
|
|
|
12
13
|
showBbButton?: boolean;
|
|
13
14
|
tosUrl?: string;
|
|
14
15
|
ppUrl?: string;
|
|
16
|
+
feedbackSubjects: Model.FeedbackSubjects[];
|
|
17
|
+
loadingFeedback: boolean;
|
|
18
|
+
sendFeedback: (value: Model.FeedbackRequest) => Promise<void>;
|
|
15
19
|
}
|
|
16
20
|
declare const SideNavigation: React.FC<ISideNavigation>;
|
|
17
21
|
export default SideNavigation;
|
|
Binary file
|