@tripian/react 9.0.13 → 9.0.14
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/index.js +37 -29
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/providers/gyg/components/GygTourInfo/GygTourInfoForm/GygTourInfoForm.d.ts +2 -1
- package/providers/gyg/components/GygTourInfo/GygTourOption/GygTourOption.d.ts +2 -1
- package/providers/gyg/components/GygTourInfo/GygTourShoppingForm/GygTourShoppingForm.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tripian/react",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.14",
|
|
4
4
|
"description": "Tripian Inc React Components",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@react-google-maps/api": "^2.12.0",
|
|
9
|
-
"@tripian/model": "9.0.
|
|
9
|
+
"@tripian/model": "9.0.14",
|
|
10
10
|
"external-svg-loader": "^1.6.1",
|
|
11
11
|
"moment": "^2.24.0",
|
|
12
12
|
"react": "^18.1.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Providers } from '@tripian/model';
|
|
2
|
+
import Model, { Providers } from '@tripian/model';
|
|
3
3
|
interface IGygTourInfoForm {
|
|
4
4
|
formPersonsCategories: Providers.Gyg.TourDataFormPersonsCategory[];
|
|
5
5
|
personsCategories: (Providers.Gyg.TourDataFormPersonsCategory & {
|
|
@@ -11,6 +11,7 @@ interface IGygTourInfoForm {
|
|
|
11
11
|
availableDates: string[];
|
|
12
12
|
availableDate?: string;
|
|
13
13
|
setAvailableDate: (availableDate: string) => void;
|
|
14
|
+
t: (value: Model.TranslationKey) => string;
|
|
14
15
|
}
|
|
15
16
|
declare const GygTourInfoForm: React.FC<IGygTourInfoForm>;
|
|
16
17
|
export default GygTourInfoForm;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Providers } from '@tripian/model';
|
|
2
|
+
import Model, { Providers } from '@tripian/model';
|
|
3
3
|
interface IGygTourOption {
|
|
4
4
|
tourOption: Providers.Gyg.TourDataOption;
|
|
5
5
|
availabilities: Providers.Gyg.TourDataOptionAvailability[];
|
|
@@ -7,6 +7,7 @@ interface IGygTourOption {
|
|
|
7
7
|
adultCount: number;
|
|
8
8
|
childrenCount?: number;
|
|
9
9
|
bookingRequestCallback: (bookingRequest: Providers.Gyg.TourBookingRequest) => void;
|
|
10
|
+
t: (value: Model.TranslationKey) => string;
|
|
10
11
|
}
|
|
11
12
|
declare const GygTourOption: React.FC<IGygTourOption>;
|
|
12
13
|
export default GygTourOption;
|
|
@@ -4,6 +4,7 @@ interface IGygTourShoppingForm {
|
|
|
4
4
|
user?: Model.User;
|
|
5
5
|
clicked: (data: Providers.Gyg.TourShoppingFormData) => void;
|
|
6
6
|
goBack: () => void;
|
|
7
|
+
t: (value: Model.TranslationKey) => string;
|
|
7
8
|
}
|
|
8
9
|
declare const GygTourShoppingForm: React.FC<IGygTourShoppingForm>;
|
|
9
10
|
export default GygTourShoppingForm;
|