@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.
Files changed (181) hide show
  1. package/build/build-cjs/booking-product/components/age-select.d.ts +8 -8
  2. package/build/build-cjs/booking-product/components/amount-input.d.ts +10 -10
  3. package/build/build-cjs/booking-product/components/date-range-picker/calendar-day.d.ts +12 -12
  4. package/build/build-cjs/booking-product/components/date-range-picker/calendar.d.ts +19 -19
  5. package/build/build-cjs/booking-product/components/date-range-picker/index.d.ts +23 -20
  6. package/build/build-cjs/booking-product/components/dates.d.ts +9 -9
  7. package/build/build-cjs/booking-product/components/footer.d.ts +10 -10
  8. package/build/build-cjs/booking-product/components/header.d.ts +11 -11
  9. package/build/build-cjs/booking-product/components/icon.d.ts +10 -10
  10. package/build/build-cjs/booking-product/components/product.d.ts +9 -9
  11. package/build/build-cjs/booking-product/components/rating.d.ts +6 -6
  12. package/build/build-cjs/booking-product/components/rooms.d.ts +10 -10
  13. package/build/build-cjs/booking-product/index.d.ts +10 -10
  14. package/build/build-cjs/booking-product/settings-context.d.ts +6 -5
  15. package/build/build-cjs/booking-product/types.d.ts +25 -25
  16. package/build/build-cjs/booking-product/utils/api.d.ts +6 -16
  17. package/build/build-cjs/booking-product/utils/price.d.ts +1 -9
  18. package/build/build-cjs/booking-wizard/api-settings-slice.d.ts +4 -14
  19. package/build/build-cjs/booking-wizard/components/icon.d.ts +10 -10
  20. package/build/build-cjs/booking-wizard/components/labeled-input.d.ts +18 -18
  21. package/build/build-cjs/booking-wizard/components/labeled-select.d.ts +21 -21
  22. package/build/build-cjs/booking-wizard/components/message.d.ts +9 -9
  23. package/build/build-cjs/booking-wizard/components/multi-range-filter.d.ts +11 -11
  24. package/build/build-cjs/booking-wizard/components/print-offer-button.d.ts +17 -17
  25. package/build/build-cjs/booking-wizard/components/product-card.d.ts +8 -8
  26. package/build/build-cjs/booking-wizard/components/step-indicator.d.ts +6 -6
  27. package/build/build-cjs/booking-wizard/components/step-route.d.ts +9 -9
  28. package/build/build-cjs/booking-wizard/features/booking/api.d.ts +10 -29
  29. package/build/build-cjs/booking-wizard/features/booking/booking-self-contained.d.ts +8 -8
  30. package/build/build-cjs/booking-wizard/features/booking/booking-slice.d.ts +46 -177
  31. package/build/build-cjs/booking-wizard/features/booking/booking.d.ts +8 -8
  32. package/build/build-cjs/booking-wizard/features/booking/constants.d.ts +8 -15
  33. package/build/build-cjs/booking-wizard/features/booking/selectors.d.ts +136 -308
  34. package/build/build-cjs/booking-wizard/features/confirmation/confirmation.d.ts +5 -4
  35. package/build/build-cjs/booking-wizard/features/error/error.d.ts +5 -4
  36. package/build/build-cjs/booking-wizard/features/flight-options/flight-filter.d.ts +9 -9
  37. package/build/build-cjs/booking-wizard/features/flight-options/flight-option-flight.d.ts +8 -8
  38. package/build/build-cjs/booking-wizard/features/flight-options/flight-option-modal.d.ts +3 -3
  39. package/build/build-cjs/booking-wizard/features/flight-options/flight-option.d.ts +10 -10
  40. package/build/build-cjs/booking-wizard/features/flight-options/flight-utils.d.ts +6 -16
  41. package/build/build-cjs/booking-wizard/features/flight-options/index.d.ts +5 -4
  42. package/build/build-cjs/booking-wizard/features/price-details/price-details-api.d.ts +6 -15
  43. package/build/build-cjs/booking-wizard/features/price-details/price-details-slice.d.ts +80 -121
  44. package/build/build-cjs/booking-wizard/features/price-details/util.d.ts +2 -5
  45. package/build/build-cjs/booking-wizard/features/product-options/no-options.d.ts +3 -3
  46. package/build/build-cjs/booking-wizard/features/product-options/none-option.d.ts +9 -17
  47. package/build/build-cjs/booking-wizard/features/product-options/option-booking-airline-group.d.ts +8 -17
  48. package/build/build-cjs/booking-wizard/features/product-options/option-booking-group.d.ts +12 -18
  49. package/build/build-cjs/booking-wizard/features/product-options/option-item.d.ts +11 -11
  50. package/build/build-cjs/booking-wizard/features/product-options/option-pax-card.d.ts +10 -13
  51. package/build/build-cjs/booking-wizard/features/product-options/option-pax-group.d.ts +13 -20
  52. package/build/build-cjs/booking-wizard/features/product-options/option-room.d.ts +10 -18
  53. package/build/build-cjs/booking-wizard/features/product-options/option-unit-group.d.ts +13 -20
  54. package/build/build-cjs/booking-wizard/features/product-options/option-units-card.d.ts +9 -9
  55. package/build/build-cjs/booking-wizard/features/product-options/options-form.d.ts +5 -4
  56. package/build/build-cjs/booking-wizard/features/room-options/index.d.ts +5 -4
  57. package/build/build-cjs/booking-wizard/features/room-options/room-utils.d.ts +9 -29
  58. package/build/build-cjs/booking-wizard/features/room-options/room.d.ts +12 -15
  59. package/build/build-cjs/booking-wizard/features/room-options/traveler-rooms.d.ts +9 -13
  60. package/build/build-cjs/booking-wizard/features/sidebar/index.d.ts +7 -7
  61. package/build/build-cjs/booking-wizard/features/sidebar/sidebar-flight.d.ts +8 -8
  62. package/build/build-cjs/booking-wizard/features/sidebar/sidebar-util.d.ts +12 -31
  63. package/build/build-cjs/booking-wizard/features/sidebar/sidebar.d.ts +25 -29
  64. package/build/build-cjs/booking-wizard/features/summary/summary-booking-option-pax.d.ts +7 -7
  65. package/build/build-cjs/booking-wizard/features/summary/summary-booking-option-unit.d.ts +7 -7
  66. package/build/build-cjs/booking-wizard/features/summary/summary-flight.d.ts +8 -8
  67. package/build/build-cjs/booking-wizard/features/summary/summary-per-booking-option-group.d.ts +7 -10
  68. package/build/build-cjs/booking-wizard/features/summary/summary-per-pax-option-group.d.ts +7 -10
  69. package/build/build-cjs/booking-wizard/features/summary/summary-per-unit-option-group.d.ts +7 -10
  70. package/build/build-cjs/booking-wizard/features/summary/summary-slice.d.ts +8 -14
  71. package/build/build-cjs/booking-wizard/features/summary/summary.d.ts +5 -4
  72. package/build/build-cjs/booking-wizard/features/travelers-form/travelers-form-slice.d.ts +49 -75
  73. package/build/build-cjs/booking-wizard/features/travelers-form/travelers-form.d.ts +5 -4
  74. package/build/build-cjs/booking-wizard/features/travelers-form/type-ahead-input.d.ts +16 -16
  75. package/build/build-cjs/booking-wizard/features/travelers-form/validate-form.d.ts +4 -9
  76. package/build/build-cjs/booking-wizard/index.d.ts +12 -12
  77. package/build/build-cjs/booking-wizard/settings-context.d.ts +6 -5
  78. package/build/build-cjs/booking-wizard/store.d.ts +24 -44
  79. package/build/build-cjs/booking-wizard/types.d.ts +253 -253
  80. package/build/build-cjs/booking-wizard/use-offer-printer.d.ts +13 -19
  81. package/build/build-cjs/index.d.ts +3 -3
  82. package/build/build-cjs/index.js +7363 -16324
  83. package/build/build-cjs/shared/components/loader.d.ts +6 -6
  84. package/build/build-cjs/shared/types.d.ts +4 -4
  85. package/build/build-cjs/shared/utils/class-util.d.ts +1 -1
  86. package/build/build-cjs/shared/utils/localization-util.d.ts +248 -248
  87. package/build/build-cjs/shared/utils/query-string-util.d.ts +8 -29
  88. package/build/build-cjs/shared/utils/tide-api-utils.d.ts +4 -6
  89. package/build/build-esm/booking-product/components/age-select.d.ts +8 -8
  90. package/build/build-esm/booking-product/components/amount-input.d.ts +10 -10
  91. package/build/build-esm/booking-product/components/date-range-picker/calendar-day.d.ts +12 -12
  92. package/build/build-esm/booking-product/components/date-range-picker/calendar.d.ts +19 -19
  93. package/build/build-esm/booking-product/components/date-range-picker/index.d.ts +23 -20
  94. package/build/build-esm/booking-product/components/dates.d.ts +9 -9
  95. package/build/build-esm/booking-product/components/footer.d.ts +10 -10
  96. package/build/build-esm/booking-product/components/header.d.ts +11 -11
  97. package/build/build-esm/booking-product/components/icon.d.ts +10 -10
  98. package/build/build-esm/booking-product/components/product.d.ts +9 -9
  99. package/build/build-esm/booking-product/components/rating.d.ts +6 -6
  100. package/build/build-esm/booking-product/components/rooms.d.ts +10 -10
  101. package/build/build-esm/booking-product/index.d.ts +10 -10
  102. package/build/build-esm/booking-product/settings-context.d.ts +6 -5
  103. package/build/build-esm/booking-product/types.d.ts +25 -25
  104. package/build/build-esm/booking-product/utils/api.d.ts +6 -16
  105. package/build/build-esm/booking-product/utils/price.d.ts +1 -9
  106. package/build/build-esm/booking-wizard/api-settings-slice.d.ts +4 -14
  107. package/build/build-esm/booking-wizard/components/icon.d.ts +10 -10
  108. package/build/build-esm/booking-wizard/components/labeled-input.d.ts +18 -18
  109. package/build/build-esm/booking-wizard/components/labeled-select.d.ts +21 -21
  110. package/build/build-esm/booking-wizard/components/message.d.ts +9 -9
  111. package/build/build-esm/booking-wizard/components/multi-range-filter.d.ts +11 -11
  112. package/build/build-esm/booking-wizard/components/print-offer-button.d.ts +17 -17
  113. package/build/build-esm/booking-wizard/components/product-card.d.ts +8 -8
  114. package/build/build-esm/booking-wizard/components/step-indicator.d.ts +6 -6
  115. package/build/build-esm/booking-wizard/components/step-route.d.ts +9 -9
  116. package/build/build-esm/booking-wizard/features/booking/api.d.ts +10 -29
  117. package/build/build-esm/booking-wizard/features/booking/booking-self-contained.d.ts +8 -8
  118. package/build/build-esm/booking-wizard/features/booking/booking-slice.d.ts +46 -177
  119. package/build/build-esm/booking-wizard/features/booking/booking.d.ts +8 -8
  120. package/build/build-esm/booking-wizard/features/booking/constants.d.ts +8 -15
  121. package/build/build-esm/booking-wizard/features/booking/selectors.d.ts +136 -308
  122. package/build/build-esm/booking-wizard/features/confirmation/confirmation.d.ts +5 -4
  123. package/build/build-esm/booking-wizard/features/error/error.d.ts +5 -4
  124. package/build/build-esm/booking-wizard/features/flight-options/flight-filter.d.ts +9 -9
  125. package/build/build-esm/booking-wizard/features/flight-options/flight-option-flight.d.ts +8 -8
  126. package/build/build-esm/booking-wizard/features/flight-options/flight-option-modal.d.ts +3 -3
  127. package/build/build-esm/booking-wizard/features/flight-options/flight-option.d.ts +10 -10
  128. package/build/build-esm/booking-wizard/features/flight-options/flight-utils.d.ts +6 -16
  129. package/build/build-esm/booking-wizard/features/flight-options/index.d.ts +5 -4
  130. package/build/build-esm/booking-wizard/features/price-details/price-details-api.d.ts +6 -15
  131. package/build/build-esm/booking-wizard/features/price-details/price-details-slice.d.ts +80 -121
  132. package/build/build-esm/booking-wizard/features/price-details/util.d.ts +2 -5
  133. package/build/build-esm/booking-wizard/features/product-options/no-options.d.ts +3 -3
  134. package/build/build-esm/booking-wizard/features/product-options/none-option.d.ts +9 -17
  135. package/build/build-esm/booking-wizard/features/product-options/option-booking-airline-group.d.ts +8 -17
  136. package/build/build-esm/booking-wizard/features/product-options/option-booking-group.d.ts +12 -18
  137. package/build/build-esm/booking-wizard/features/product-options/option-item.d.ts +11 -11
  138. package/build/build-esm/booking-wizard/features/product-options/option-pax-card.d.ts +10 -13
  139. package/build/build-esm/booking-wizard/features/product-options/option-pax-group.d.ts +13 -20
  140. package/build/build-esm/booking-wizard/features/product-options/option-room.d.ts +10 -18
  141. package/build/build-esm/booking-wizard/features/product-options/option-unit-group.d.ts +13 -20
  142. package/build/build-esm/booking-wizard/features/product-options/option-units-card.d.ts +9 -9
  143. package/build/build-esm/booking-wizard/features/product-options/options-form.d.ts +5 -4
  144. package/build/build-esm/booking-wizard/features/room-options/index.d.ts +5 -4
  145. package/build/build-esm/booking-wizard/features/room-options/room-utils.d.ts +9 -29
  146. package/build/build-esm/booking-wizard/features/room-options/room.d.ts +12 -15
  147. package/build/build-esm/booking-wizard/features/room-options/traveler-rooms.d.ts +9 -13
  148. package/build/build-esm/booking-wizard/features/sidebar/index.d.ts +7 -7
  149. package/build/build-esm/booking-wizard/features/sidebar/sidebar-flight.d.ts +8 -8
  150. package/build/build-esm/booking-wizard/features/sidebar/sidebar-util.d.ts +12 -31
  151. package/build/build-esm/booking-wizard/features/sidebar/sidebar.d.ts +25 -29
  152. package/build/build-esm/booking-wizard/features/summary/summary-booking-option-pax.d.ts +7 -7
  153. package/build/build-esm/booking-wizard/features/summary/summary-booking-option-unit.d.ts +7 -7
  154. package/build/build-esm/booking-wizard/features/summary/summary-flight.d.ts +8 -8
  155. package/build/build-esm/booking-wizard/features/summary/summary-per-booking-option-group.d.ts +7 -10
  156. package/build/build-esm/booking-wizard/features/summary/summary-per-pax-option-group.d.ts +7 -10
  157. package/build/build-esm/booking-wizard/features/summary/summary-per-unit-option-group.d.ts +7 -10
  158. package/build/build-esm/booking-wizard/features/summary/summary-slice.d.ts +8 -14
  159. package/build/build-esm/booking-wizard/features/summary/summary.d.ts +5 -4
  160. package/build/build-esm/booking-wizard/features/travelers-form/travelers-form-slice.d.ts +49 -75
  161. package/build/build-esm/booking-wizard/features/travelers-form/travelers-form.d.ts +5 -4
  162. package/build/build-esm/booking-wizard/features/travelers-form/type-ahead-input.d.ts +16 -16
  163. package/build/build-esm/booking-wizard/features/travelers-form/validate-form.d.ts +4 -9
  164. package/build/build-esm/booking-wizard/index.d.ts +12 -12
  165. package/build/build-esm/booking-wizard/settings-context.d.ts +6 -5
  166. package/build/build-esm/booking-wizard/store.d.ts +24 -44
  167. package/build/build-esm/booking-wizard/types.d.ts +253 -253
  168. package/build/build-esm/booking-wizard/use-offer-printer.d.ts +13 -19
  169. package/build/build-esm/index.d.ts +3 -3
  170. package/build/build-esm/index.js +7351 -15924
  171. package/build/build-esm/shared/components/loader.d.ts +6 -6
  172. package/build/build-esm/shared/types.d.ts +4 -4
  173. package/build/build-esm/shared/utils/class-util.d.ts +1 -1
  174. package/build/build-esm/shared/utils/localization-util.d.ts +248 -248
  175. package/build/build-esm/shared/utils/query-string-util.d.ts +8 -29
  176. package/build/build-esm/shared/utils/tide-api-utils.d.ts +4 -6
  177. package/package.json +1 -1
  178. package/src/booking-wizard/features/booking/booking-slice.ts +0 -2
  179. package/src/booking-wizard/features/flight-options/flight-utils.ts +10 -4
  180. package/src/shared/translations/en-GB.json +1 -1
  181. package/src/shared/translations/fr-BE.json +1 -1
@@ -1,6 +1,6 @@
1
- import React from "react";
2
- interface LoaderProps {
3
- loaderText?: string;
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
- apiUrl: string;
3
- apiKey: string;
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
- 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
+ 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
- params: URLSearchParams,
4
- name: string
5
- ) => string | null;
6
- export declare const getDateAsDateFromParams: (
7
- params: URLSearchParams,
8
- name: string
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
- settings?: ApiSettingsState
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
- value?: number;
4
- disabled?: boolean;
5
- onChange?: (value: number) => void;
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
- 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
+ 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
- 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;
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;