@qite/tide-booking-component 1.3.3 → 1.3.4
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/build/build-cjs/booking-product/components/age-select.d.ts +8 -8
- package/build/build-cjs/booking-product/components/amount-input.d.ts +10 -10
- package/build/build-cjs/booking-product/components/date-range-picker/calendar-day.d.ts +12 -12
- package/build/build-cjs/booking-product/components/date-range-picker/calendar.d.ts +19 -19
- package/build/build-cjs/booking-product/components/date-range-picker/index.d.ts +23 -20
- package/build/build-cjs/booking-product/components/dates.d.ts +9 -9
- package/build/build-cjs/booking-product/components/footer.d.ts +10 -10
- package/build/build-cjs/booking-product/components/header.d.ts +11 -11
- package/build/build-cjs/booking-product/components/icon.d.ts +10 -10
- package/build/build-cjs/booking-product/components/product.d.ts +9 -9
- package/build/build-cjs/booking-product/components/rating.d.ts +6 -6
- package/build/build-cjs/booking-product/components/rooms.d.ts +10 -10
- package/build/build-cjs/booking-product/index.d.ts +10 -10
- package/build/build-cjs/booking-product/settings-context.d.ts +6 -5
- package/build/build-cjs/booking-product/types.d.ts +25 -25
- package/build/build-cjs/booking-product/utils/api.d.ts +6 -16
- package/build/build-cjs/booking-product/utils/price.d.ts +1 -9
- package/build/build-cjs/booking-wizard/api-settings-slice.d.ts +4 -14
- package/build/build-cjs/booking-wizard/components/icon.d.ts +10 -10
- package/build/build-cjs/booking-wizard/components/labeled-input.d.ts +18 -18
- package/build/build-cjs/booking-wizard/components/labeled-select.d.ts +21 -21
- package/build/build-cjs/booking-wizard/components/message.d.ts +9 -9
- package/build/build-cjs/booking-wizard/components/multi-range-filter.d.ts +11 -11
- package/build/build-cjs/booking-wizard/components/print-offer-button.d.ts +17 -17
- package/build/build-cjs/booking-wizard/components/product-card.d.ts +8 -8
- package/build/build-cjs/booking-wizard/components/step-indicator.d.ts +6 -6
- package/build/build-cjs/booking-wizard/components/step-route.d.ts +9 -9
- package/build/build-cjs/booking-wizard/features/booking/api.d.ts +10 -29
- package/build/build-cjs/booking-wizard/features/booking/booking-self-contained.d.ts +8 -8
- package/build/build-cjs/booking-wizard/features/booking/booking-slice.d.ts +46 -177
- package/build/build-cjs/booking-wizard/features/booking/booking.d.ts +8 -8
- package/build/build-cjs/booking-wizard/features/booking/constants.d.ts +8 -15
- package/build/build-cjs/booking-wizard/features/booking/selectors.d.ts +136 -308
- package/build/build-cjs/booking-wizard/features/confirmation/confirmation.d.ts +5 -4
- package/build/build-cjs/booking-wizard/features/error/error.d.ts +5 -4
- package/build/build-cjs/booking-wizard/features/flight-options/flight-filter.d.ts +9 -9
- package/build/build-cjs/booking-wizard/features/flight-options/flight-option-flight.d.ts +8 -8
- package/build/build-cjs/booking-wizard/features/flight-options/flight-option-modal.d.ts +3 -3
- package/build/build-cjs/booking-wizard/features/flight-options/flight-option.d.ts +10 -10
- package/build/build-cjs/booking-wizard/features/flight-options/flight-utils.d.ts +6 -16
- package/build/build-cjs/booking-wizard/features/flight-options/index.d.ts +5 -4
- package/build/build-cjs/booking-wizard/features/price-details/price-details-api.d.ts +6 -15
- package/build/build-cjs/booking-wizard/features/price-details/price-details-slice.d.ts +80 -121
- package/build/build-cjs/booking-wizard/features/price-details/util.d.ts +2 -5
- package/build/build-cjs/booking-wizard/features/product-options/no-options.d.ts +3 -3
- package/build/build-cjs/booking-wizard/features/product-options/none-option.d.ts +9 -17
- package/build/build-cjs/booking-wizard/features/product-options/option-booking-airline-group.d.ts +8 -17
- package/build/build-cjs/booking-wizard/features/product-options/option-booking-group.d.ts +12 -18
- package/build/build-cjs/booking-wizard/features/product-options/option-item.d.ts +11 -11
- package/build/build-cjs/booking-wizard/features/product-options/option-pax-card.d.ts +10 -13
- package/build/build-cjs/booking-wizard/features/product-options/option-pax-group.d.ts +13 -20
- package/build/build-cjs/booking-wizard/features/product-options/option-room.d.ts +10 -18
- package/build/build-cjs/booking-wizard/features/product-options/option-unit-group.d.ts +13 -20
- package/build/build-cjs/booking-wizard/features/product-options/option-units-card.d.ts +9 -9
- package/build/build-cjs/booking-wizard/features/product-options/options-form.d.ts +5 -4
- package/build/build-cjs/booking-wizard/features/room-options/index.d.ts +5 -4
- package/build/build-cjs/booking-wizard/features/room-options/room-utils.d.ts +9 -29
- package/build/build-cjs/booking-wizard/features/room-options/room.d.ts +12 -15
- package/build/build-cjs/booking-wizard/features/room-options/traveler-rooms.d.ts +9 -13
- package/build/build-cjs/booking-wizard/features/sidebar/index.d.ts +7 -7
- package/build/build-cjs/booking-wizard/features/sidebar/sidebar-flight.d.ts +8 -8
- package/build/build-cjs/booking-wizard/features/sidebar/sidebar-util.d.ts +12 -31
- package/build/build-cjs/booking-wizard/features/sidebar/sidebar.d.ts +25 -29
- package/build/build-cjs/booking-wizard/features/summary/summary-booking-option-pax.d.ts +7 -7
- package/build/build-cjs/booking-wizard/features/summary/summary-booking-option-unit.d.ts +7 -7
- package/build/build-cjs/booking-wizard/features/summary/summary-flight.d.ts +8 -8
- package/build/build-cjs/booking-wizard/features/summary/summary-per-booking-option-group.d.ts +7 -10
- package/build/build-cjs/booking-wizard/features/summary/summary-per-pax-option-group.d.ts +7 -10
- package/build/build-cjs/booking-wizard/features/summary/summary-per-unit-option-group.d.ts +7 -10
- package/build/build-cjs/booking-wizard/features/summary/summary-slice.d.ts +8 -14
- package/build/build-cjs/booking-wizard/features/summary/summary.d.ts +5 -4
- package/build/build-cjs/booking-wizard/features/travelers-form/travelers-form-slice.d.ts +49 -75
- package/build/build-cjs/booking-wizard/features/travelers-form/travelers-form.d.ts +5 -4
- package/build/build-cjs/booking-wizard/features/travelers-form/type-ahead-input.d.ts +16 -16
- package/build/build-cjs/booking-wizard/features/travelers-form/validate-form.d.ts +4 -9
- package/build/build-cjs/booking-wizard/index.d.ts +12 -12
- package/build/build-cjs/booking-wizard/settings-context.d.ts +6 -5
- package/build/build-cjs/booking-wizard/store.d.ts +24 -44
- package/build/build-cjs/booking-wizard/types.d.ts +253 -253
- package/build/build-cjs/booking-wizard/use-offer-printer.d.ts +13 -19
- package/build/build-cjs/index.d.ts +3 -3
- package/build/build-cjs/index.js +7363 -16324
- package/build/build-cjs/shared/components/loader.d.ts +6 -6
- package/build/build-cjs/shared/types.d.ts +4 -4
- package/build/build-cjs/shared/utils/class-util.d.ts +1 -1
- package/build/build-cjs/shared/utils/localization-util.d.ts +248 -248
- package/build/build-cjs/shared/utils/query-string-util.d.ts +8 -29
- package/build/build-cjs/shared/utils/tide-api-utils.d.ts +4 -6
- package/build/build-esm/booking-product/components/age-select.d.ts +8 -8
- package/build/build-esm/booking-product/components/amount-input.d.ts +10 -10
- package/build/build-esm/booking-product/components/date-range-picker/calendar-day.d.ts +12 -12
- package/build/build-esm/booking-product/components/date-range-picker/calendar.d.ts +19 -19
- package/build/build-esm/booking-product/components/date-range-picker/index.d.ts +23 -20
- package/build/build-esm/booking-product/components/dates.d.ts +9 -9
- package/build/build-esm/booking-product/components/footer.d.ts +10 -10
- package/build/build-esm/booking-product/components/header.d.ts +11 -11
- package/build/build-esm/booking-product/components/icon.d.ts +10 -10
- package/build/build-esm/booking-product/components/product.d.ts +9 -9
- package/build/build-esm/booking-product/components/rating.d.ts +6 -6
- package/build/build-esm/booking-product/components/rooms.d.ts +10 -10
- package/build/build-esm/booking-product/index.d.ts +10 -10
- package/build/build-esm/booking-product/settings-context.d.ts +6 -5
- package/build/build-esm/booking-product/types.d.ts +25 -25
- package/build/build-esm/booking-product/utils/api.d.ts +6 -16
- package/build/build-esm/booking-product/utils/price.d.ts +1 -9
- package/build/build-esm/booking-wizard/api-settings-slice.d.ts +4 -14
- package/build/build-esm/booking-wizard/components/icon.d.ts +10 -10
- package/build/build-esm/booking-wizard/components/labeled-input.d.ts +18 -18
- package/build/build-esm/booking-wizard/components/labeled-select.d.ts +21 -21
- package/build/build-esm/booking-wizard/components/message.d.ts +9 -9
- package/build/build-esm/booking-wizard/components/multi-range-filter.d.ts +11 -11
- package/build/build-esm/booking-wizard/components/print-offer-button.d.ts +17 -17
- package/build/build-esm/booking-wizard/components/product-card.d.ts +8 -8
- package/build/build-esm/booking-wizard/components/step-indicator.d.ts +6 -6
- package/build/build-esm/booking-wizard/components/step-route.d.ts +9 -9
- package/build/build-esm/booking-wizard/features/booking/api.d.ts +10 -29
- package/build/build-esm/booking-wizard/features/booking/booking-self-contained.d.ts +8 -8
- package/build/build-esm/booking-wizard/features/booking/booking-slice.d.ts +46 -177
- package/build/build-esm/booking-wizard/features/booking/booking.d.ts +8 -8
- package/build/build-esm/booking-wizard/features/booking/constants.d.ts +8 -15
- package/build/build-esm/booking-wizard/features/booking/selectors.d.ts +136 -308
- package/build/build-esm/booking-wizard/features/confirmation/confirmation.d.ts +5 -4
- package/build/build-esm/booking-wizard/features/error/error.d.ts +5 -4
- package/build/build-esm/booking-wizard/features/flight-options/flight-filter.d.ts +9 -9
- package/build/build-esm/booking-wizard/features/flight-options/flight-option-flight.d.ts +8 -8
- package/build/build-esm/booking-wizard/features/flight-options/flight-option-modal.d.ts +3 -3
- package/build/build-esm/booking-wizard/features/flight-options/flight-option.d.ts +10 -10
- package/build/build-esm/booking-wizard/features/flight-options/flight-utils.d.ts +6 -16
- package/build/build-esm/booking-wizard/features/flight-options/index.d.ts +5 -4
- package/build/build-esm/booking-wizard/features/price-details/price-details-api.d.ts +6 -15
- package/build/build-esm/booking-wizard/features/price-details/price-details-slice.d.ts +80 -121
- package/build/build-esm/booking-wizard/features/price-details/util.d.ts +2 -5
- package/build/build-esm/booking-wizard/features/product-options/no-options.d.ts +3 -3
- package/build/build-esm/booking-wizard/features/product-options/none-option.d.ts +9 -17
- package/build/build-esm/booking-wizard/features/product-options/option-booking-airline-group.d.ts +8 -17
- package/build/build-esm/booking-wizard/features/product-options/option-booking-group.d.ts +12 -18
- package/build/build-esm/booking-wizard/features/product-options/option-item.d.ts +11 -11
- package/build/build-esm/booking-wizard/features/product-options/option-pax-card.d.ts +10 -13
- package/build/build-esm/booking-wizard/features/product-options/option-pax-group.d.ts +13 -20
- package/build/build-esm/booking-wizard/features/product-options/option-room.d.ts +10 -18
- package/build/build-esm/booking-wizard/features/product-options/option-unit-group.d.ts +13 -20
- package/build/build-esm/booking-wizard/features/product-options/option-units-card.d.ts +9 -9
- package/build/build-esm/booking-wizard/features/product-options/options-form.d.ts +5 -4
- package/build/build-esm/booking-wizard/features/room-options/index.d.ts +5 -4
- package/build/build-esm/booking-wizard/features/room-options/room-utils.d.ts +9 -29
- package/build/build-esm/booking-wizard/features/room-options/room.d.ts +12 -15
- package/build/build-esm/booking-wizard/features/room-options/traveler-rooms.d.ts +9 -13
- package/build/build-esm/booking-wizard/features/sidebar/index.d.ts +7 -7
- package/build/build-esm/booking-wizard/features/sidebar/sidebar-flight.d.ts +8 -8
- package/build/build-esm/booking-wizard/features/sidebar/sidebar-util.d.ts +12 -31
- package/build/build-esm/booking-wizard/features/sidebar/sidebar.d.ts +25 -29
- package/build/build-esm/booking-wizard/features/summary/summary-booking-option-pax.d.ts +7 -7
- package/build/build-esm/booking-wizard/features/summary/summary-booking-option-unit.d.ts +7 -7
- package/build/build-esm/booking-wizard/features/summary/summary-flight.d.ts +8 -8
- package/build/build-esm/booking-wizard/features/summary/summary-per-booking-option-group.d.ts +7 -10
- package/build/build-esm/booking-wizard/features/summary/summary-per-pax-option-group.d.ts +7 -10
- package/build/build-esm/booking-wizard/features/summary/summary-per-unit-option-group.d.ts +7 -10
- package/build/build-esm/booking-wizard/features/summary/summary-slice.d.ts +8 -14
- package/build/build-esm/booking-wizard/features/summary/summary.d.ts +5 -4
- package/build/build-esm/booking-wizard/features/travelers-form/travelers-form-slice.d.ts +49 -75
- package/build/build-esm/booking-wizard/features/travelers-form/travelers-form.d.ts +5 -4
- package/build/build-esm/booking-wizard/features/travelers-form/type-ahead-input.d.ts +16 -16
- package/build/build-esm/booking-wizard/features/travelers-form/validate-form.d.ts +4 -9
- package/build/build-esm/booking-wizard/index.d.ts +12 -12
- package/build/build-esm/booking-wizard/settings-context.d.ts +6 -5
- package/build/build-esm/booking-wizard/store.d.ts +24 -44
- package/build/build-esm/booking-wizard/types.d.ts +253 -253
- package/build/build-esm/booking-wizard/use-offer-printer.d.ts +13 -19
- package/build/build-esm/index.d.ts +3 -3
- package/build/build-esm/index.js +7351 -15924
- package/build/build-esm/shared/components/loader.d.ts +6 -6
- package/build/build-esm/shared/types.d.ts +4 -4
- package/build/build-esm/shared/utils/class-util.d.ts +1 -1
- package/build/build-esm/shared/utils/localization-util.d.ts +248 -248
- package/build/build-esm/shared/utils/query-string-util.d.ts +8 -29
- package/build/build-esm/shared/utils/tide-api-utils.d.ts +4 -6
- package/package.json +1 -1
- package/src/booking-wizard/features/booking/booking-slice.ts +0 -2
- package/src/booking-wizard/features/flight-options/flight-utils.ts +10 -4
- package/src/shared/translations/en-GB.json +1 -1
- package/src/shared/translations/fr-BE.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface LoaderProps {
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
declare const Loader: React.FC<LoaderProps>;
|
|
6
|
-
export default Loader;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface LoaderProps {
|
|
3
|
+
loaderText?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const Loader: React.FC<LoaderProps>;
|
|
6
|
+
export default Loader;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface ApiSettingsState {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export interface ApiSettingsState {
|
|
2
|
+
apiUrl: string;
|
|
3
|
+
apiKey: string;
|
|
4
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const buildClassName: (parts: any[]) => string;
|
|
1
|
+
export declare const buildClassName: (parts: any[]) => string;
|
|
@@ -1,248 +1,248 @@
|
|
|
1
|
-
export declare const languages: string[];
|
|
2
|
-
export declare const defaultLanguage = "nl-BE";
|
|
3
|
-
export declare const formatPrice: (price: number, locale?: string) => string;
|
|
4
|
-
export declare const getTranslations: (language: string) => {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
};
|
|
241
|
-
export declare const locales: {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
};
|
|
246
|
-
export declare function getLocale(code: string): Locale;
|
|
247
|
-
export declare const getPriceDifferenceText: (price: number) => string;
|
|
248
|
-
export declare function format(text: string, args: any[]): string;
|
|
1
|
+
export declare const languages: string[];
|
|
2
|
+
export declare const defaultLanguage = "nl-BE";
|
|
3
|
+
export declare const formatPrice: (price: number, locale?: string) => string;
|
|
4
|
+
export declare const getTranslations: (language: string) => {
|
|
5
|
+
STEPS: {
|
|
6
|
+
PERSONAL_DETAILS: string;
|
|
7
|
+
EXTRA_OPTIONS: string;
|
|
8
|
+
SUMMARY: string;
|
|
9
|
+
CONFIRMATION: string;
|
|
10
|
+
ERROR: string;
|
|
11
|
+
PREVIOUS: string;
|
|
12
|
+
NEXT: string;
|
|
13
|
+
SUBMIT_BOOKING: string;
|
|
14
|
+
SUBMIT_OFFER: string;
|
|
15
|
+
COMPOSE: string;
|
|
16
|
+
ROOM_OPTIONS: string;
|
|
17
|
+
FLIGHT_OPTIONS: string;
|
|
18
|
+
};
|
|
19
|
+
INPUT: {
|
|
20
|
+
INCREASE: string;
|
|
21
|
+
DECREASE: string;
|
|
22
|
+
};
|
|
23
|
+
FLIGHTS_FORM: {
|
|
24
|
+
OUTWARD_FLIGHTS: string;
|
|
25
|
+
OUTWARD_FLIGHT: string;
|
|
26
|
+
RETURN_FLIGHTS: string;
|
|
27
|
+
RETURN_FLIGHT: string;
|
|
28
|
+
DIRECT_FLIGHT: string;
|
|
29
|
+
STOP: string;
|
|
30
|
+
STOPS: string;
|
|
31
|
+
FLIGHT_STOPS: string;
|
|
32
|
+
DIFFERENT_OPTION_WARNING: string;
|
|
33
|
+
FILTER_OPTIONS: string;
|
|
34
|
+
AIRLINES: string;
|
|
35
|
+
AIRPORTS: string;
|
|
36
|
+
NUMBER_OF_STOPS: string;
|
|
37
|
+
FLIGHT_OUTWARD: string;
|
|
38
|
+
DEPARTURE_TIME: string;
|
|
39
|
+
TRAVEL_DURATION: string;
|
|
40
|
+
CHANGE_TIME: string;
|
|
41
|
+
FLIGHT_RETURN: string;
|
|
42
|
+
NO_FLIGHTS_FOUND: string;
|
|
43
|
+
STARTING: string;
|
|
44
|
+
LOWEST_PRICE: string;
|
|
45
|
+
CHOOSE_YOUR_CLASS: string;
|
|
46
|
+
PLUS_ONE_DAY: string;
|
|
47
|
+
STOP_TIME: string;
|
|
48
|
+
NIGHT_DEPARTURE: string;
|
|
49
|
+
MORNING_DEPARTURE: string;
|
|
50
|
+
AFTERNOON_DEPARTURE: string;
|
|
51
|
+
EVENING_DEPARTURE: string;
|
|
52
|
+
FLIGHTS_FOUND_1: string;
|
|
53
|
+
FLIGHTS_FOUND_2: string;
|
|
54
|
+
FLIGHTS_FOUND_3: string;
|
|
55
|
+
};
|
|
56
|
+
PRODUCT: {
|
|
57
|
+
STAY_INCLUDED: string;
|
|
58
|
+
FLIGHT_INCLUDED: string;
|
|
59
|
+
TRANSFER_INCLUDED: string;
|
|
60
|
+
LOADING_PRICE: string;
|
|
61
|
+
PER_PERSON: string;
|
|
62
|
+
PER_NIGHT: string;
|
|
63
|
+
PER_PERSON_PER_NIGHT: string;
|
|
64
|
+
BOOK_NOW: string;
|
|
65
|
+
TO_YOUR_OFFER: string;
|
|
66
|
+
NOT_AVAILABLE: string;
|
|
67
|
+
NUMBER_OF_ROOMS: string;
|
|
68
|
+
AGE_BY_DEPARTURE_DATE: string;
|
|
69
|
+
YEAR: string;
|
|
70
|
+
APPLY: string;
|
|
71
|
+
EDIT: string;
|
|
72
|
+
DEPARTURE: string;
|
|
73
|
+
DEPARTURE_DATE: string;
|
|
74
|
+
RETURN: string;
|
|
75
|
+
RETURN_DATE: string;
|
|
76
|
+
WHO_YOU_TRAVELING_WITH: string;
|
|
77
|
+
TRAVEL_PERIOD: string;
|
|
78
|
+
CLOSE: string;
|
|
79
|
+
};
|
|
80
|
+
MAIN: {
|
|
81
|
+
PREPARING_BOOKING: string;
|
|
82
|
+
PREPARING_OFFER: string;
|
|
83
|
+
PRODUCT_UNAVAILABLE: string;
|
|
84
|
+
};
|
|
85
|
+
SHARED: {
|
|
86
|
+
ROOM: string;
|
|
87
|
+
ROOMS: string;
|
|
88
|
+
TOTAL_PRICE: string;
|
|
89
|
+
ADULTS: string;
|
|
90
|
+
CHILDREN: string;
|
|
91
|
+
SELECT: string;
|
|
92
|
+
SELECTED: string;
|
|
93
|
+
};
|
|
94
|
+
SIDEBAR: {
|
|
95
|
+
OVERVIEW: string;
|
|
96
|
+
SLIDE_TOTAL_PRICE: string;
|
|
97
|
+
SLIDE_DEPOSIT: string;
|
|
98
|
+
TRAVEL_INFO: string;
|
|
99
|
+
TRAVELERS: string;
|
|
100
|
+
TRAVELERS_ADULTS: string;
|
|
101
|
+
TRAVELERS_ADULT: string;
|
|
102
|
+
TRAVELERS_CHILDREN: string;
|
|
103
|
+
TRAVELERS_CHILD: string;
|
|
104
|
+
DEPARTURE: string;
|
|
105
|
+
DEPARTURE_SINGLE: string;
|
|
106
|
+
ARRIVAL: string;
|
|
107
|
+
FLIGHT: string;
|
|
108
|
+
ACCOMMODATION: string;
|
|
109
|
+
BASE_PRICE: string;
|
|
110
|
+
OPTIONS: string;
|
|
111
|
+
INCLUDED_COSTS: string;
|
|
112
|
+
EXTRA_COSTS: string;
|
|
113
|
+
DEPOSIT: string;
|
|
114
|
+
DEPOSIT_TEXT1: string;
|
|
115
|
+
DEPOSIT_TEXT2: string;
|
|
116
|
+
DEPOSIT_TEXT3: string;
|
|
117
|
+
DEPOSIT_TEXT4: string;
|
|
118
|
+
DEPOSIT_TEXT5: string;
|
|
119
|
+
DEPOSIT_TEXT6: string;
|
|
120
|
+
LUGGAGE_INCLUDED: string;
|
|
121
|
+
DEPARTURE_FLIGHT: string;
|
|
122
|
+
ARRIVAL_FLIGHT: string;
|
|
123
|
+
FLIGHT_DEPARTURE: string;
|
|
124
|
+
FLIGHT_ARRIVAL: string;
|
|
125
|
+
ON_REQUEST: string;
|
|
126
|
+
CHANGES: string;
|
|
127
|
+
};
|
|
128
|
+
TRAVELERS_FORM: {
|
|
129
|
+
TRAVELER: string;
|
|
130
|
+
ADULT: string;
|
|
131
|
+
ADULTS: string;
|
|
132
|
+
CHILD: string;
|
|
133
|
+
CHILDREN: string;
|
|
134
|
+
GENDER: string;
|
|
135
|
+
MALE: string;
|
|
136
|
+
FEMALE: string;
|
|
137
|
+
OTHER: string;
|
|
138
|
+
MAIN_BOOKER: string;
|
|
139
|
+
FIRST_NAME: string;
|
|
140
|
+
LAST_NAME: string;
|
|
141
|
+
BIRTHDATE: string;
|
|
142
|
+
STREET: string;
|
|
143
|
+
STREET_PLACEHOLDER: string;
|
|
144
|
+
HOUSE_NUMBER: string;
|
|
145
|
+
POST_BOX: string;
|
|
146
|
+
ZIPCODE: string;
|
|
147
|
+
CITY: string;
|
|
148
|
+
CITY_PLACEHOLDER: string;
|
|
149
|
+
COUNTRY: string;
|
|
150
|
+
SELECT_COUNTRY: string;
|
|
151
|
+
PHONE: string;
|
|
152
|
+
EMAIL: string;
|
|
153
|
+
REPEAT_EMAIL: string;
|
|
154
|
+
VALIDATION_MESSAGE: string;
|
|
155
|
+
BOOK_WITH_AGENT: string;
|
|
156
|
+
CHOOSE_OFFICE: string;
|
|
157
|
+
COUNTRIES: {
|
|
158
|
+
BELGIUM: string;
|
|
159
|
+
NETHERLANDS: string;
|
|
160
|
+
FRANCE: string;
|
|
161
|
+
};
|
|
162
|
+
CHOOSE_AGENT_PLACEHOLDER: string;
|
|
163
|
+
VALIDATION: {
|
|
164
|
+
TRAVELER_X_FIELD: string;
|
|
165
|
+
TRAVELER_X_IS_NO_ADULT: string;
|
|
166
|
+
TRAVELER_X_IS_NO_CHILD: string;
|
|
167
|
+
NO_MAIN_BOOKER_SELECTED: string;
|
|
168
|
+
MAIN_BOOKER_FIELD: string;
|
|
169
|
+
MAIN_BOOKER_EMAIL_IS_INVALID: string;
|
|
170
|
+
MAIN_BOOKER_EMAIL_DOES_NOT_MATCH: string;
|
|
171
|
+
AGENT_IS_REQUIRED: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
OPTIONS_FORM: {
|
|
175
|
+
NO_OPTIONS_TITLE: string;
|
|
176
|
+
NO_OPTIONS_MESSAGE: string;
|
|
177
|
+
UNIT_TITLE: string;
|
|
178
|
+
PACKAGE: string;
|
|
179
|
+
DAY: string;
|
|
180
|
+
DAYS: string;
|
|
181
|
+
NIGHT: string;
|
|
182
|
+
NIGHTS: string;
|
|
183
|
+
PER_PAX_TITLE: string;
|
|
184
|
+
PER_BOOKING_TITLE: string;
|
|
185
|
+
PER_UNIT_TITLE: string;
|
|
186
|
+
NONE: string;
|
|
187
|
+
};
|
|
188
|
+
ROOM_OPTIONS_FORM: {
|
|
189
|
+
TRAVELER_GROUP: string;
|
|
190
|
+
ALTERNATIVES_TRAVELER_GROUP: string;
|
|
191
|
+
SHOW_ALTERNATIVES: string;
|
|
192
|
+
};
|
|
193
|
+
SUMMARY: {
|
|
194
|
+
PERSONAL_DETAILS: string;
|
|
195
|
+
TRAVELERS: string;
|
|
196
|
+
TRAVELER: string;
|
|
197
|
+
ADULTS: string;
|
|
198
|
+
ADULT: string;
|
|
199
|
+
CHILDREN: string;
|
|
200
|
+
CHILD: string;
|
|
201
|
+
MAIN_BOOKER: string;
|
|
202
|
+
NOTIFICATIONS_TITLE: string;
|
|
203
|
+
VALIDATE_TITLE: string;
|
|
204
|
+
VALIDATE_TEXT_BOOKING: string;
|
|
205
|
+
VALIDATE_TEXT_OFFER: string;
|
|
206
|
+
OPTIONS: string;
|
|
207
|
+
REMARKS: string;
|
|
208
|
+
VOUCHERS: string;
|
|
209
|
+
VOUCHER_VALIDATE: string;
|
|
210
|
+
ADD_VOUCHER: string;
|
|
211
|
+
VOUCHER_VALID: string;
|
|
212
|
+
VOUCHER_INVALID: string;
|
|
213
|
+
};
|
|
214
|
+
CONFIRMATION: {
|
|
215
|
+
TITLE_TEXT_OFFER: string;
|
|
216
|
+
TITLE_TEXT_BOOKING: string;
|
|
217
|
+
MESSAGE_TEXT1: string;
|
|
218
|
+
MESSAGE_TEXT2_OFFER: string;
|
|
219
|
+
MESSAGE_TEXT2_BOOKING: string;
|
|
220
|
+
QUESTIONS_TEXT1: string;
|
|
221
|
+
QUESTIONS_TEXT2: string;
|
|
222
|
+
QUESTIONS_TEXT3: string;
|
|
223
|
+
QUESTIONS_ALT: string;
|
|
224
|
+
MAIL_SUBJECT: string;
|
|
225
|
+
};
|
|
226
|
+
ERROR: {
|
|
227
|
+
TRY_AGAIN: string;
|
|
228
|
+
MESSAGE_TEXT1: string;
|
|
229
|
+
MESSAGE_TEXT2: string;
|
|
230
|
+
ERROR_TEXT1: string;
|
|
231
|
+
ERROR_TEXT2: string;
|
|
232
|
+
ERROR_TEXT3: string;
|
|
233
|
+
ERROR_ALT: string;
|
|
234
|
+
};
|
|
235
|
+
PRINT_OFFER_BUTTON: {
|
|
236
|
+
LABEL_IDLE: string;
|
|
237
|
+
LABEL_CREATING: string;
|
|
238
|
+
LABEL_PRINTING: string;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
export declare const locales: {
|
|
242
|
+
"nl-BE": Locale;
|
|
243
|
+
"fr-BE": Locale;
|
|
244
|
+
"en-GB": Locale;
|
|
245
|
+
};
|
|
246
|
+
export declare function getLocale(code: string): Locale;
|
|
247
|
+
export declare const getPriceDifferenceText: (price: number) => string;
|
|
248
|
+
export declare function format(text: string, args: any[]): string;
|
|
@@ -1,29 +1,8 @@
|
|
|
1
|
-
import { FlightInfo, Room } from "../../booking-wizard/types";
|
|
2
|
-
export declare const getDateFromParams: (
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
) =>
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
) => Date | null;
|
|
10
|
-
export declare const getNumberFromParams: (
|
|
11
|
-
params: URLSearchParams,
|
|
12
|
-
name: string
|
|
13
|
-
) => number | null;
|
|
14
|
-
export declare const getRoomsFromParams: (
|
|
15
|
-
params: URLSearchParams,
|
|
16
|
-
name: string
|
|
17
|
-
) => Room[] | null;
|
|
18
|
-
export declare const getFlightsFromParams: (
|
|
19
|
-
params: URLSearchParams,
|
|
20
|
-
name: string
|
|
21
|
-
) => FlightInfo | null;
|
|
22
|
-
export declare const getStringFromParams: (
|
|
23
|
-
params: URLSearchParams,
|
|
24
|
-
name: string
|
|
25
|
-
) => string | null;
|
|
26
|
-
export declare const getNumbersFromParams: (
|
|
27
|
-
params: URLSearchParams,
|
|
28
|
-
name: string
|
|
29
|
-
) => number[];
|
|
1
|
+
import { FlightInfo, Room } from "../../booking-wizard/types";
|
|
2
|
+
export declare const getDateFromParams: (params: URLSearchParams, name: string) => string | null;
|
|
3
|
+
export declare const getDateAsDateFromParams: (params: URLSearchParams, name: string) => Date | null;
|
|
4
|
+
export declare const getNumberFromParams: (params: URLSearchParams, name: string) => number | null;
|
|
5
|
+
export declare const getRoomsFromParams: (params: URLSearchParams, name: string) => Room[] | null;
|
|
6
|
+
export declare const getFlightsFromParams: (params: URLSearchParams, name: string) => FlightInfo | null;
|
|
7
|
+
export declare const getStringFromParams: (params: URLSearchParams, name: string) => string | null;
|
|
8
|
+
export declare const getNumbersFromParams: (params: URLSearchParams, name: string) => number[];
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { TideClientConfig } from "@qite/tide-client";
|
|
2
|
-
import { ApiSettingsState } from "../types";
|
|
3
|
-
export declare function buildTideClientConfig(
|
|
4
|
-
|
|
5
|
-
): TideClientConfig;
|
|
6
|
-
export declare const selectAgentToken: () => string | undefined;
|
|
1
|
+
import { TideClientConfig } from "@qite/tide-client";
|
|
2
|
+
import { ApiSettingsState } from "../types";
|
|
3
|
+
export declare function buildTideClientConfig(settings?: ApiSettingsState): TideClientConfig;
|
|
4
|
+
export declare const selectAgentToken: () => string | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface AgeSelectProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
declare const AgeSelect: React.FC<AgeSelectProps>;
|
|
8
|
-
export default AgeSelect;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface AgeSelectProps {
|
|
3
|
+
value?: number;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
onChange?: (value: number) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const AgeSelect: React.FC<AgeSelectProps>;
|
|
8
|
+
export default AgeSelect;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface AmountInputProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
declare const AmountInput: React.FC<AmountInputProps>;
|
|
10
|
-
export default AmountInput;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface AmountInputProps {
|
|
3
|
+
label: string;
|
|
4
|
+
value: number;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
min?: number;
|
|
7
|
+
onChange?: (value: number) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const AmountInput: React.FC<AmountInputProps>;
|
|
10
|
+
export default AmountInput;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface CalendarDayProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
declare const CalendarDay: React.FC<CalendarDayProps>;
|
|
12
|
-
export default CalendarDay;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface CalendarDayProps {
|
|
3
|
+
day: Date;
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
isDisabled: boolean;
|
|
6
|
+
isOutsideMonth: boolean;
|
|
7
|
+
extraClassNames?: string[];
|
|
8
|
+
onClick: (date: Date) => void;
|
|
9
|
+
onMouseOver: (date: Date) => void;
|
|
10
|
+
}
|
|
11
|
+
declare const CalendarDay: React.FC<CalendarDayProps>;
|
|
12
|
+
export default CalendarDay;
|