@qite/tide-booking-component 1.0.32 → 1.0.33

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 (248) hide show
  1. package/build/build-cjs/booking-wizard/components/icon.d.ts +7 -7
  2. package/build/build-cjs/booking-wizard/components/labeled-input.d.ts +18 -18
  3. package/build/build-cjs/booking-wizard/components/labeled-select.d.ts +21 -21
  4. package/build/build-cjs/booking-wizard/components/message.d.ts +9 -9
  5. package/build/build-cjs/booking-wizard/components/product-card.d.ts +8 -8
  6. package/build/build-cjs/booking-wizard/components/rating.d.ts +6 -6
  7. package/build/build-cjs/booking-wizard/components/step-indicator.d.ts +6 -6
  8. package/build/build-cjs/booking-wizard/components/step-route.d.ts +9 -9
  9. package/build/build-cjs/booking-wizard/features/booking/api.d.ts +6 -16
  10. package/build/build-cjs/booking-wizard/features/booking/booking-slice.d.ts +36 -138
  11. package/build/build-cjs/booking-wizard/features/booking/booking.d.ts +8 -8
  12. package/build/build-cjs/booking-wizard/features/booking/selectors.d.ts +95 -221
  13. package/build/build-cjs/booking-wizard/features/confirmation/confirmation.d.ts +5 -4
  14. package/build/build-cjs/booking-wizard/features/error/error.d.ts +5 -4
  15. package/build/build-cjs/booking-wizard/features/price-details/price-details-api.d.ts +5 -13
  16. package/build/build-cjs/booking-wizard/features/price-details/price-details-slice.d.ts +75 -116
  17. package/build/build-cjs/booking-wizard/features/price-details/util.d.ts +2 -5
  18. package/build/build-cjs/booking-wizard/features/product-options/no-options.d.ts +3 -3
  19. package/build/build-cjs/booking-wizard/features/product-options/none-option.d.ts +9 -17
  20. package/build/build-cjs/booking-wizard/features/product-options/option-booking-group.d.ts +12 -18
  21. package/build/build-cjs/booking-wizard/features/product-options/option-item.d.ts +11 -11
  22. package/build/build-cjs/booking-wizard/features/product-options/option-pax-card.d.ts +10 -13
  23. package/build/build-cjs/booking-wizard/features/product-options/option-pax-group.d.ts +13 -20
  24. package/build/build-cjs/booking-wizard/features/product-options/option-room.d.ts +10 -18
  25. package/build/build-cjs/booking-wizard/features/product-options/option-unit-group.d.ts +13 -20
  26. package/build/build-cjs/booking-wizard/features/product-options/option-units-card.d.ts +9 -9
  27. package/build/build-cjs/booking-wizard/features/product-options/options-form.d.ts +5 -4
  28. package/build/build-cjs/booking-wizard/features/product-options/validate-form.d.ts +2 -2
  29. package/build/build-cjs/booking-wizard/features/sidebar/index.d.ts +7 -7
  30. package/build/build-cjs/booking-wizard/features/sidebar/sidebar-flight.d.ts +8 -8
  31. package/build/build-cjs/booking-wizard/features/sidebar/sidebar-util.d.ts +12 -30
  32. package/build/build-cjs/booking-wizard/features/sidebar/sidebar.d.ts +25 -29
  33. package/build/build-cjs/booking-wizard/features/summary/summary-booking-option-pax.d.ts +7 -7
  34. package/build/build-cjs/booking-wizard/features/summary/summary-booking-option-unit.d.ts +7 -7
  35. package/build/build-cjs/booking-wizard/features/summary/summary-flight.d.ts +8 -8
  36. package/build/build-cjs/booking-wizard/features/summary/summary-per-booking-option-group.d.ts +7 -10
  37. package/build/build-cjs/booking-wizard/features/summary/summary-per-pax-option-group.d.ts +7 -10
  38. package/build/build-cjs/booking-wizard/features/summary/summary-per-unit-option-group.d.ts +7 -10
  39. package/build/build-cjs/booking-wizard/features/summary/summary-slice.d.ts +8 -14
  40. package/build/build-cjs/booking-wizard/features/summary/summary.d.ts +5 -4
  41. package/build/build-cjs/booking-wizard/features/travelers-form/travelers-form-slice.d.ts +46 -72
  42. package/build/build-cjs/booking-wizard/features/travelers-form/travelers-form.d.ts +5 -4
  43. package/build/build-cjs/booking-wizard/features/travelers-form/type-ahead-input.d.ts +16 -16
  44. package/build/build-cjs/booking-wizard/features/travelers-form/validate-form.d.ts +4 -9
  45. package/build/build-cjs/booking-wizard/index.d.ts +12 -12
  46. package/build/build-cjs/booking-wizard/settings-context.d.ts +6 -5
  47. package/build/build-cjs/booking-wizard/store.d.ts +21 -41
  48. package/build/build-cjs/booking-wizard/types.d.ts +127 -127
  49. package/build/build-cjs/booking-wizard/utils/class-util.d.ts +1 -1
  50. package/build/build-cjs/booking-wizard/utils/localization-util.d.ts +158 -158
  51. package/build/build-cjs/booking-wizard/utils/query-string-util.d.ts +7 -25
  52. package/build/build-cjs/booking-wizard/utils/tide-api-utils.d.ts +2 -2
  53. package/build/build-cjs/index.d.ts +2 -2
  54. package/build/build-cjs/index.js +3698 -8238
  55. package/build/build-esm/booking-wizard/components/icon.d.ts +7 -7
  56. package/build/build-esm/booking-wizard/components/labeled-input.d.ts +18 -18
  57. package/build/build-esm/booking-wizard/components/labeled-select.d.ts +21 -21
  58. package/build/build-esm/booking-wizard/components/message.d.ts +9 -9
  59. package/build/build-esm/booking-wizard/components/product-card.d.ts +8 -8
  60. package/build/build-esm/booking-wizard/components/rating.d.ts +6 -6
  61. package/build/build-esm/booking-wizard/components/step-indicator.d.ts +6 -6
  62. package/build/build-esm/booking-wizard/components/step-route.d.ts +9 -9
  63. package/build/build-esm/booking-wizard/features/booking/api.d.ts +6 -16
  64. package/build/build-esm/booking-wizard/features/booking/booking-slice.d.ts +36 -138
  65. package/build/build-esm/booking-wizard/features/booking/booking.d.ts +8 -8
  66. package/build/build-esm/booking-wizard/features/booking/selectors.d.ts +95 -221
  67. package/build/build-esm/booking-wizard/features/confirmation/confirmation.d.ts +5 -4
  68. package/build/build-esm/booking-wizard/features/error/error.d.ts +5 -4
  69. package/build/build-esm/booking-wizard/features/price-details/price-details-api.d.ts +5 -13
  70. package/build/build-esm/booking-wizard/features/price-details/price-details-slice.d.ts +75 -116
  71. package/build/build-esm/booking-wizard/features/price-details/util.d.ts +2 -5
  72. package/build/build-esm/booking-wizard/features/product-options/no-options.d.ts +3 -3
  73. package/build/build-esm/booking-wizard/features/product-options/none-option.d.ts +9 -17
  74. package/build/build-esm/booking-wizard/features/product-options/option-booking-group.d.ts +12 -18
  75. package/build/build-esm/booking-wizard/features/product-options/option-item.d.ts +11 -11
  76. package/build/build-esm/booking-wizard/features/product-options/option-pax-card.d.ts +10 -13
  77. package/build/build-esm/booking-wizard/features/product-options/option-pax-group.d.ts +13 -20
  78. package/build/build-esm/booking-wizard/features/product-options/option-room.d.ts +10 -18
  79. package/build/build-esm/booking-wizard/features/product-options/option-unit-group.d.ts +13 -20
  80. package/build/build-esm/booking-wizard/features/product-options/option-units-card.d.ts +9 -9
  81. package/build/build-esm/booking-wizard/features/product-options/options-form.d.ts +5 -4
  82. package/build/build-esm/booking-wizard/features/product-options/validate-form.d.ts +2 -2
  83. package/build/build-esm/booking-wizard/features/sidebar/index.d.ts +7 -7
  84. package/build/build-esm/booking-wizard/features/sidebar/sidebar-flight.d.ts +8 -8
  85. package/build/build-esm/booking-wizard/features/sidebar/sidebar-util.d.ts +12 -30
  86. package/build/build-esm/booking-wizard/features/sidebar/sidebar.d.ts +25 -29
  87. package/build/build-esm/booking-wizard/features/summary/summary-booking-option-pax.d.ts +7 -7
  88. package/build/build-esm/booking-wizard/features/summary/summary-booking-option-unit.d.ts +7 -7
  89. package/build/build-esm/booking-wizard/features/summary/summary-flight.d.ts +8 -8
  90. package/build/build-esm/booking-wizard/features/summary/summary-per-booking-option-group.d.ts +7 -10
  91. package/build/build-esm/booking-wizard/features/summary/summary-per-pax-option-group.d.ts +7 -10
  92. package/build/build-esm/booking-wizard/features/summary/summary-per-unit-option-group.d.ts +7 -10
  93. package/build/build-esm/booking-wizard/features/summary/summary-slice.d.ts +8 -14
  94. package/build/build-esm/booking-wizard/features/summary/summary.d.ts +5 -4
  95. package/build/build-esm/booking-wizard/features/travelers-form/travelers-form-slice.d.ts +46 -72
  96. package/build/build-esm/booking-wizard/features/travelers-form/travelers-form.d.ts +5 -4
  97. package/build/build-esm/booking-wizard/features/travelers-form/type-ahead-input.d.ts +16 -16
  98. package/build/build-esm/booking-wizard/features/travelers-form/validate-form.d.ts +4 -9
  99. package/build/build-esm/booking-wizard/index.d.ts +12 -12
  100. package/build/build-esm/booking-wizard/settings-context.d.ts +6 -5
  101. package/build/build-esm/booking-wizard/store.d.ts +21 -41
  102. package/build/build-esm/booking-wizard/types.d.ts +127 -127
  103. package/build/build-esm/booking-wizard/utils/class-util.d.ts +1 -1
  104. package/build/build-esm/booking-wizard/utils/localization-util.d.ts +158 -158
  105. package/build/build-esm/booking-wizard/utils/query-string-util.d.ts +7 -25
  106. package/build/build-esm/booking-wizard/utils/tide-api-utils.d.ts +2 -2
  107. package/build/build-esm/index.d.ts +2 -2
  108. package/build/build-esm/index.js +3688 -8075
  109. package/package.json +1 -1
  110. package/selfcontained/index.html +18 -0
  111. package/selfcontained/index.tsx +113 -0
  112. package/selfcontained/package-lock.json +7587 -0
  113. package/selfcontained/package.json +27 -0
  114. package/selfcontained/scss/_animations.scss +39 -0
  115. package/selfcontained/scss/_base.scss +115 -0
  116. package/selfcontained/scss/_mixins.scss +730 -0
  117. package/selfcontained/scss/_overrides.scss +73 -0
  118. package/selfcontained/scss/_placeholders.scss +88 -0
  119. package/selfcontained/scss/_variables.scss +59 -0
  120. package/selfcontained/scss/components/_accent-frame.scss +28 -0
  121. package/selfcontained/scss/components/_alert-bar.scss +30 -0
  122. package/selfcontained/scss/components/_amount-label.scss +3 -0
  123. package/selfcontained/scss/components/_backdrop.scss +42 -0
  124. package/selfcontained/scss/components/_baseline.scss +3 -0
  125. package/selfcontained/scss/components/_booking.scss +894 -0
  126. package/selfcontained/scss/components/_breadcrumb.scss +83 -0
  127. package/selfcontained/scss/components/_button.scss +691 -0
  128. package/selfcontained/scss/components/_caption.scss +10 -0
  129. package/selfcontained/scss/components/_carousel.scss +250 -0
  130. package/selfcontained/scss/components/_checkbox.scss +214 -0
  131. package/selfcontained/scss/components/_column.scss +18 -0
  132. package/selfcontained/scss/components/_company-rooms.scss +21 -0
  133. package/selfcontained/scss/components/_configure-rooms.scss +417 -0
  134. package/selfcontained/scss/components/_configure-trip.scss +147 -0
  135. package/selfcontained/scss/components/_contact-bubble.scss +90 -0
  136. package/selfcontained/scss/components/_contact-form.scss +36 -0
  137. package/selfcontained/scss/components/_container.scss +19 -0
  138. package/selfcontained/scss/components/_copy.scss +26 -0
  139. package/selfcontained/scss/components/_cta.scss +407 -0
  140. package/selfcontained/scss/components/_date-list.scss +35 -0
  141. package/selfcontained/scss/components/_date-range-picker.scss +261 -0
  142. package/selfcontained/scss/components/_datepicker.scss +289 -0
  143. package/selfcontained/scss/components/_decrement-increment.scss +54 -0
  144. package/selfcontained/scss/components/_destination-intro.scss +50 -0
  145. package/selfcontained/scss/components/_destination-labels.scss +60 -0
  146. package/selfcontained/scss/components/_disclaimer-text.scss +4 -0
  147. package/selfcontained/scss/components/_dropdown.scss +271 -0
  148. package/selfcontained/scss/components/_embed.scss +32 -0
  149. package/selfcontained/scss/components/_expert.scss +84 -0
  150. package/selfcontained/scss/components/_faceted-search.scss +197 -0
  151. package/selfcontained/scss/components/_find-office.scss +122 -0
  152. package/selfcontained/scss/components/_flight-option.scss +79 -0
  153. package/selfcontained/scss/components/_flight-schedule.scss +82 -0
  154. package/selfcontained/scss/components/_flight-timeline.scss +162 -0
  155. package/selfcontained/scss/components/_footer.scss +193 -0
  156. package/selfcontained/scss/components/_form.scss +1441 -0
  157. package/selfcontained/scss/components/_gallery-grid.scss +94 -0
  158. package/selfcontained/scss/components/_gallery-row.scss +78 -0
  159. package/selfcontained/scss/components/_grid-sidebar.scss +36 -0
  160. package/selfcontained/scss/components/_grid.scss +72 -0
  161. package/selfcontained/scss/components/_hero.scss +149 -0
  162. package/selfcontained/scss/components/_highlight-frame.scss +32 -0
  163. package/selfcontained/scss/components/_highlight-two-column.scss +24 -0
  164. package/selfcontained/scss/components/_icon.scss +516 -0
  165. package/selfcontained/scss/components/_image.scss +234 -0
  166. package/selfcontained/scss/components/_info-message.scss +34 -0
  167. package/selfcontained/scss/components/_infowindow.scss +61 -0
  168. package/selfcontained/scss/components/_input.scss +25 -0
  169. package/selfcontained/scss/components/_intro-text.scss +0 -0
  170. package/selfcontained/scss/components/_intro.scss +27 -0
  171. package/selfcontained/scss/components/_itinerary.scss +138 -0
  172. package/selfcontained/scss/components/_legal.scss +39 -0
  173. package/selfcontained/scss/components/_link-items.scss +114 -0
  174. package/selfcontained/scss/components/_link.scss +118 -0
  175. package/selfcontained/scss/components/_list.scss +309 -0
  176. package/selfcontained/scss/components/_loader.scss +73 -0
  177. package/selfcontained/scss/components/_logo.scss +39 -0
  178. package/selfcontained/scss/components/_map-marker.scss +16 -0
  179. package/selfcontained/scss/components/_map-popup.scss +54 -0
  180. package/selfcontained/scss/components/_meals.scss +9 -0
  181. package/selfcontained/scss/components/_media-section.scss +14 -0
  182. package/selfcontained/scss/components/_media-text.scss +65 -0
  183. package/selfcontained/scss/components/_megamenu.scss +103 -0
  184. package/selfcontained/scss/components/_modal.scss +252 -0
  185. package/selfcontained/scss/components/_navigation-qsm.scss +95 -0
  186. package/selfcontained/scss/components/_navigation.scss +239 -0
  187. package/selfcontained/scss/components/_page.scss +8 -0
  188. package/selfcontained/scss/components/_pager.scss +17 -0
  189. package/selfcontained/scss/components/_panel.scss +41 -0
  190. package/selfcontained/scss/components/_placeholder-message.scss +12 -0
  191. package/selfcontained/scss/components/_pricing-summary.scss +72 -0
  192. package/selfcontained/scss/components/_pricing.scss +361 -0
  193. package/selfcontained/scss/components/_product-info.scss +82 -0
  194. package/selfcontained/scss/components/_product-intro.scss +139 -0
  195. package/selfcontained/scss/components/_product-offer-request.scss +8 -0
  196. package/selfcontained/scss/components/_productcard-grid.scss +111 -0
  197. package/selfcontained/scss/components/_productcard.scss +889 -0
  198. package/selfcontained/scss/components/_qsm.scss +427 -0
  199. package/selfcontained/scss/components/_quote.scss +61 -0
  200. package/selfcontained/scss/components/_radiobutton.scss +167 -0
  201. package/selfcontained/scss/components/_range-filter.scss +12 -0
  202. package/selfcontained/scss/components/_rating.scss +36 -0
  203. package/selfcontained/scss/components/_room-lines.scss +537 -0
  204. package/selfcontained/scss/components/_row.scss +3 -0
  205. package/selfcontained/scss/components/_schedule.scss +209 -0
  206. package/selfcontained/scss/components/_section.scss +30 -0
  207. package/selfcontained/scss/components/_select-wrapper.scss +53 -0
  208. package/selfcontained/scss/components/_social-items.scss +56 -0
  209. package/selfcontained/scss/components/_spinner.scss +29 -0
  210. package/selfcontained/scss/components/_step-indicators.scss +155 -0
  211. package/selfcontained/scss/components/_sticky-bar.scss +40 -0
  212. package/selfcontained/scss/components/_table.scss +81 -0
  213. package/selfcontained/scss/components/_teamcard.scss +117 -0
  214. package/selfcontained/scss/components/_text-highlight.scss +26 -0
  215. package/selfcontained/scss/components/_three-column.scss +51 -0
  216. package/selfcontained/scss/components/_tide-booking.scss +20 -0
  217. package/selfcontained/scss/components/_toggle-buttons.scss +8 -0
  218. package/selfcontained/scss/components/_tree.scss +538 -0
  219. package/selfcontained/scss/components/_two-column.scss +52 -0
  220. package/selfcontained/scss/components/_typeahead.scss +329 -0
  221. package/selfcontained/scss/components/_usp-grid.scss +75 -0
  222. package/selfcontained/scss/components/_white-labels.scss +15 -0
  223. package/selfcontained/scss/main.scss +112 -0
  224. package/selfcontained/tsconfig.json +10 -0
  225. package/selfcontained/webpack.config.js +41 -0
  226. package/src/booking-wizard/api-settings-slice.ts +31 -0
  227. package/src/booking-wizard/components/loader.tsx +12 -0
  228. package/src/booking-wizard/components/step-route.tsx +27 -27
  229. package/src/booking-wizard/features/booking/api.ts +34 -31
  230. package/src/booking-wizard/features/booking/booking-self-contained.tsx +300 -0
  231. package/src/booking-wizard/features/booking/booking-slice.ts +418 -407
  232. package/src/booking-wizard/features/booking/booking.tsx +306 -306
  233. package/src/booking-wizard/features/booking/constants.ts +11 -0
  234. package/src/booking-wizard/features/booking/selectors.ts +354 -348
  235. package/src/booking-wizard/features/confirmation/confirmation.tsx +92 -84
  236. package/src/booking-wizard/features/error/error.tsx +76 -73
  237. package/src/booking-wizard/features/price-details/price-details-api.ts +24 -22
  238. package/src/booking-wizard/features/price-details/price-details-slice.ts +151 -151
  239. package/src/booking-wizard/features/product-options/option-item.tsx +321 -321
  240. package/src/booking-wizard/features/product-options/option-room.tsx +316 -316
  241. package/src/booking-wizard/features/product-options/options-form.tsx +355 -350
  242. package/src/booking-wizard/features/sidebar/sidebar-util.ts +177 -175
  243. package/src/booking-wizard/features/summary/summary.tsx +632 -613
  244. package/src/booking-wizard/features/travelers-form/travelers-form.tsx +755 -767
  245. package/src/booking-wizard/store.ts +31 -29
  246. package/src/booking-wizard/translations/nl-BE.json +157 -157
  247. package/src/booking-wizard/types.ts +142 -138
  248. package/src/booking-wizard/utils/tide-api-utils.ts +34 -33
@@ -1,7 +1,7 @@
1
- import React from "react";
2
- interface IconProps {
3
- name: string;
4
- className?: string;
5
- }
6
- declare const Icon: React.FC<IconProps>;
7
- export default Icon;
1
+ import React from "react";
2
+ interface IconProps {
3
+ name: string;
4
+ className?: string;
5
+ }
6
+ declare const Icon: React.FC<IconProps>;
7
+ export default Icon;
@@ -1,18 +1,18 @@
1
- import React from "react";
2
- interface LabeledInputProps {
3
- name: string;
4
- type?: string;
5
- required?: boolean;
6
- value?: string | number;
7
- defaultValue?: string | number;
8
- min?: string | number;
9
- max?: string | number;
10
- label?: string;
11
- placeholder?: string;
12
- hasError?: boolean;
13
- extraClassName?: string;
14
- onChange?: React.ChangeEventHandler<HTMLInputElement>;
15
- onBlur?: React.FocusEventHandler<HTMLInputElement>;
16
- }
17
- declare const LabeledInput: React.FC<LabeledInputProps>;
18
- export default LabeledInput;
1
+ import React from "react";
2
+ interface LabeledInputProps {
3
+ name: string;
4
+ type?: string;
5
+ required?: boolean;
6
+ value?: string | number;
7
+ defaultValue?: string | number;
8
+ min?: string | number;
9
+ max?: string | number;
10
+ label?: string;
11
+ placeholder?: string;
12
+ hasError?: boolean;
13
+ extraClassName?: string;
14
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
15
+ onBlur?: React.FocusEventHandler<HTMLInputElement>;
16
+ }
17
+ declare const LabeledInput: React.FC<LabeledInputProps>;
18
+ export default LabeledInput;
@@ -1,21 +1,21 @@
1
- import React from "react";
2
- interface LabeledSelectProps {
3
- name: string;
4
- id?: string;
5
- required?: boolean;
6
- value?: string | number;
7
- defaultValue?: string | number;
8
- label?: string;
9
- hasError?: boolean;
10
- extraClassName?: string;
11
- extraDropdownClassName?: string;
12
- options?: {
13
- key: string;
14
- value: string | number | undefined;
15
- label: string;
16
- }[];
17
- onChange?: React.ChangeEventHandler<HTMLSelectElement>;
18
- onBlur?: React.FocusEventHandler<HTMLSelectElement>;
19
- }
20
- declare const LabeledSelect: React.FC<LabeledSelectProps>;
21
- export default LabeledSelect;
1
+ import React from "react";
2
+ interface LabeledSelectProps {
3
+ name: string;
4
+ id?: string;
5
+ required?: boolean;
6
+ value?: string | number;
7
+ defaultValue?: string | number;
8
+ label?: string;
9
+ hasError?: boolean;
10
+ extraClassName?: string;
11
+ extraDropdownClassName?: string;
12
+ options?: {
13
+ key: string;
14
+ value: string | number | undefined;
15
+ label: string;
16
+ }[];
17
+ onChange?: React.ChangeEventHandler<HTMLSelectElement>;
18
+ onBlur?: React.FocusEventHandler<HTMLSelectElement>;
19
+ }
20
+ declare const LabeledSelect: React.FC<LabeledSelectProps>;
21
+ export default LabeledSelect;
@@ -1,9 +1,9 @@
1
- import React from "react";
2
- interface MessageProps {
3
- type: "error" | "success";
4
- title: string;
5
- actionComponent?: JSX.Element;
6
- children?: JSX.Element | JSX.Element[];
7
- }
8
- declare const Message: React.FC<MessageProps>;
9
- export default Message;
1
+ import React from "react";
2
+ interface MessageProps {
3
+ type: "error" | "success";
4
+ title: string;
5
+ actionComponent?: JSX.Element;
6
+ children?: JSX.Element | JSX.Element[];
7
+ }
8
+ declare const Message: React.FC<MessageProps>;
9
+ export default Message;
@@ -1,8 +1,8 @@
1
- import React from "react";
2
- interface ProductCardProps {
3
- productName: string;
4
- thumbnailUrl?: string;
5
- handleToggleClick: () => void;
6
- }
7
- declare const ProductCard: React.FC<ProductCardProps>;
8
- export default ProductCard;
1
+ import React from "react";
2
+ interface ProductCardProps {
3
+ productName: string;
4
+ thumbnailUrl?: string;
5
+ handleToggleClick: () => void;
6
+ }
7
+ declare const ProductCard: React.FC<ProductCardProps>;
8
+ export default ProductCard;
@@ -1,6 +1,6 @@
1
- import React from "react";
2
- interface RatingProps {
3
- rating: number;
4
- }
5
- declare const Rating: React.FC<RatingProps>;
6
- export default Rating;
1
+ import React from "react";
2
+ interface RatingProps {
3
+ rating: number;
4
+ }
5
+ declare const Rating: React.FC<RatingProps>;
6
+ export default Rating;
@@ -1,6 +1,6 @@
1
- import React from "react";
2
- interface StepIndicatorsProps {
3
- currentStep: number;
4
- }
5
- declare const StepIndicators: React.FC<StepIndicatorsProps>;
6
- export default StepIndicators;
1
+ import React from "react";
2
+ interface StepIndicatorsProps {
3
+ currentStep: number;
4
+ }
5
+ declare const StepIndicators: React.FC<StepIndicatorsProps>;
6
+ export default StepIndicators;
@@ -1,9 +1,9 @@
1
- import React from "react";
2
- interface StepRoute {
3
- path: string;
4
- number: number;
5
- title: string;
6
- component: JSX.Element;
7
- }
8
- declare const StepRoute: React.FC<StepRoute>;
9
- export default StepRoute;
1
+ import React from "react";
2
+ interface StepRoute {
3
+ path: string;
4
+ number: number;
5
+ title: string;
6
+ component: JSX.Element;
7
+ }
8
+ declare const StepRoute: React.FC<StepRoute>;
9
+ export default StepRoute;
@@ -1,16 +1,6 @@
1
- import {
2
- BookingPackageRequest,
3
- BookingPackageDetailsRequest,
4
- BookingPackage,
5
- BookingTravelAgent,
6
- TideResponse,
7
- } from "@qite/tide-client/build/types";
8
- declare const packageApi: {
9
- fetchDetails: (
10
- request: BookingPackageRequest<BookingPackageDetailsRequest>,
11
- signal: AbortSignal,
12
- languageCode?: string
13
- ) => Promise<TideResponse<BookingPackage>>;
14
- fetchAgents: (signal: AbortSignal) => Promise<BookingTravelAgent[]>;
15
- };
16
- export default packageApi;
1
+ import { BookingPackageRequest, BookingPackageDetailsRequest, BookingPackage, BookingTravelAgent, TideResponse } from "@qite/tide-client/build/types";
2
+ declare const packageApi: {
3
+ fetchDetails: (request: BookingPackageRequest<BookingPackageDetailsRequest>, signal: AbortSignal, languageCode?: string) => Promise<TideResponse<BookingPackage>>;
4
+ fetchAgents: (signal: AbortSignal) => Promise<BookingTravelAgent[]>;
5
+ };
6
+ export default packageApi;
@@ -1,138 +1,36 @@
1
- import {
2
- BookingAttributes,
3
- BookingOptions,
4
- ProductAttributes,
5
- } from "../../types";
6
- import {
7
- BookingOptionGroup,
8
- BookingOptionPax,
9
- BookingOptionUnit,
10
- BookingPackage,
11
- BookingPackageRoom,
12
- BookingTravelAgent,
13
- PerBookingPackageOption,
14
- } from "@qite/tide-client/build/types";
15
- export interface BookingState {
16
- officeId: number;
17
- languageCode: string;
18
- productAttributes?: ProductAttributes;
19
- bookingAttributes?: BookingAttributes;
20
- calculateDeposit: boolean;
21
- bookingNumber?: string;
22
- isRetry: boolean;
23
- package?: BookingPackage;
24
- agents?: BookingTravelAgent[];
25
- isBusy: boolean;
26
- skipPaymentWithAgent: boolean;
27
- generatePaymentUrl: boolean;
28
- isUnavailable?: boolean;
29
- tagIds?: number[];
30
- agentAdressId?: number;
31
- remarks?: string;
32
- voucherCodes?: string[];
33
- bookingOptions: BookingOptions;
34
- bookingType: string;
35
- }
36
- export declare const fetchPackage: import("@reduxjs/toolkit").AsyncThunk<
37
- void,
38
- void,
39
- {
40
- state?: unknown;
41
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
42
- extra?: unknown;
43
- rejectValue?: unknown;
44
- serializedErrorType?: unknown;
45
- pendingMeta?: unknown;
46
- fulfilledMeta?: unknown;
47
- rejectedMeta?: unknown;
48
- }
49
- >;
50
- export declare const setOfficeId: import("@reduxjs/toolkit").ActionCreatorWithPayload<
51
- number,
52
- "booking/setOfficeId"
53
- >,
54
- setLanguageCode: import("@reduxjs/toolkit").ActionCreatorWithPayload<
55
- string,
56
- "booking/setLanguageCode"
57
- >,
58
- setBookingOptions: import("@reduxjs/toolkit").ActionCreatorWithPayload<
59
- BookingOptions,
60
- "booking/setBookingOptions"
61
- >,
62
- setBookingType: import("@reduxjs/toolkit").ActionCreatorWithPayload<
63
- string,
64
- "booking/setBookingType"
65
- >,
66
- setProductAttributes: import("@reduxjs/toolkit").ActionCreatorWithPayload<
67
- ProductAttributes,
68
- "booking/setProductAttributes"
69
- >,
70
- setBookingAttributes: import("@reduxjs/toolkit").ActionCreatorWithPayload<
71
- BookingAttributes,
72
- "booking/setBookingAttributes"
73
- >,
74
- setCalculateDeposit: import("@reduxjs/toolkit").ActionCreatorWithPayload<
75
- boolean,
76
- "booking/setCalculateDeposit"
77
- >,
78
- setBookingNumber: import("@reduxjs/toolkit").ActionCreatorWithPayload<
79
- string,
80
- "booking/setBookingNumber"
81
- >,
82
- setIsRetry: import("@reduxjs/toolkit").ActionCreatorWithPayload<
83
- boolean,
84
- "booking/setIsRetry"
85
- >,
86
- setFetchingPackage: import("@reduxjs/toolkit").ActionCreatorWithPayload<
87
- boolean,
88
- "booking/setFetchingPackage"
89
- >,
90
- setPackage: import("@reduxjs/toolkit").ActionCreatorWithPayload<
91
- BookingPackage,
92
- "booking/setPackage"
93
- >,
94
- setPackageRooms: import("@reduxjs/toolkit").ActionCreatorWithPayload<
95
- BookingPackageRoom[],
96
- "booking/setPackageRooms"
97
- >,
98
- setPackageOptionPax: import("@reduxjs/toolkit").ActionCreatorWithPayload<
99
- BookingOptionPax[],
100
- "booking/setPackageOptionPax"
101
- >,
102
- setPackageOptionUnits: import("@reduxjs/toolkit").ActionCreatorWithPayload<
103
- BookingOptionUnit[],
104
- "booking/setPackageOptionUnits"
105
- >,
106
- setPackageGroups: import("@reduxjs/toolkit").ActionCreatorWithPayload<
107
- BookingOptionGroup<PerBookingPackageOption>[],
108
- "booking/setPackageGroups"
109
- >,
110
- setSkipPayment: import("@reduxjs/toolkit").ActionCreatorWithPayload<
111
- boolean,
112
- "booking/setSkipPayment"
113
- >,
114
- setGeneratePaymentUrl: import("@reduxjs/toolkit").ActionCreatorWithPayload<
115
- boolean,
116
- "booking/setGeneratePaymentUrl"
117
- >,
118
- setTagIds: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<
119
- number[] | undefined,
120
- "booking/setTagIds"
121
- >,
122
- setAgentAdressId: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<
123
- number | undefined,
124
- "booking/setAgentAdressId"
125
- >,
126
- setBookingRemarks: import("@reduxjs/toolkit").ActionCreatorWithPayload<
127
- string,
128
- "booking/setBookingRemarks"
129
- >,
130
- setVoucherCodes: import("@reduxjs/toolkit").ActionCreatorWithPayload<
131
- string[],
132
- "booking/setVoucherCodes"
133
- >;
134
- declare const _default: import("redux").Reducer<
135
- BookingState,
136
- import("redux").AnyAction
137
- >;
138
- export default _default;
1
+ import { BookingAttributes, BookingOptions, ProductAttributes } from "../../types";
2
+ import { BookingOptionGroup, BookingOptionPax, BookingOptionUnit, BookingPackage, BookingPackageRoom, BookingTravelAgent, PerBookingPackageOption } from "@qite/tide-client/build/types";
3
+ export interface BookingState {
4
+ officeId: number;
5
+ languageCode: string;
6
+ productAttributes?: ProductAttributes;
7
+ bookingAttributes?: BookingAttributes;
8
+ calculateDeposit: boolean;
9
+ bookingNumber?: string;
10
+ isRetry: boolean;
11
+ package?: BookingPackage;
12
+ agents?: BookingTravelAgent[];
13
+ isBusy: boolean;
14
+ skipPaymentWithAgent: boolean;
15
+ generatePaymentUrl: boolean;
16
+ isUnavailable?: boolean;
17
+ tagIds?: number[];
18
+ agentAdressId?: number;
19
+ remarks?: string;
20
+ voucherCodes?: string[];
21
+ bookingOptions: BookingOptions;
22
+ bookingType: string;
23
+ }
24
+ export declare const fetchPackage: import("@reduxjs/toolkit").AsyncThunk<void, void, {
25
+ state?: unknown;
26
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
27
+ extra?: unknown;
28
+ rejectValue?: unknown;
29
+ serializedErrorType?: unknown;
30
+ pendingMeta?: unknown;
31
+ fulfilledMeta?: unknown;
32
+ rejectedMeta?: unknown;
33
+ }>;
34
+ export declare const setOfficeId: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, "booking/setOfficeId">, setLanguageCode: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "booking/setLanguageCode">, setBookingOptions: import("@reduxjs/toolkit").ActionCreatorWithPayload<BookingOptions, "booking/setBookingOptions">, setBookingType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "booking/setBookingType">, setProductAttributes: import("@reduxjs/toolkit").ActionCreatorWithPayload<ProductAttributes, "booking/setProductAttributes">, setBookingAttributes: import("@reduxjs/toolkit").ActionCreatorWithPayload<BookingAttributes, "booking/setBookingAttributes">, setCalculateDeposit: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "booking/setCalculateDeposit">, setBookingNumber: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "booking/setBookingNumber">, setIsRetry: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "booking/setIsRetry">, setFetchingPackage: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "booking/setFetchingPackage">, setPackage: import("@reduxjs/toolkit").ActionCreatorWithPayload<BookingPackage, "booking/setPackage">, setPackageRooms: import("@reduxjs/toolkit").ActionCreatorWithPayload<BookingPackageRoom[], "booking/setPackageRooms">, setPackageOptionPax: import("@reduxjs/toolkit").ActionCreatorWithPayload<BookingOptionPax[], "booking/setPackageOptionPax">, setPackageOptionUnits: import("@reduxjs/toolkit").ActionCreatorWithPayload<BookingOptionUnit[], "booking/setPackageOptionUnits">, setPackageGroups: import("@reduxjs/toolkit").ActionCreatorWithPayload<BookingOptionGroup<PerBookingPackageOption>[], "booking/setPackageGroups">, setSkipPayment: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "booking/setSkipPayment">, setGeneratePaymentUrl: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "booking/setGeneratePaymentUrl">, setTagIds: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<number[] | undefined, "booking/setTagIds">, setAgentAdressId: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<number | undefined, "booking/setAgentAdressId">, setBookingRemarks: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "booking/setBookingRemarks">, setVoucherCodes: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "booking/setVoucherCodes">;
35
+ declare const _default: import("redux").Reducer<BookingState, import("redux").AnyAction>;
36
+ export default _default;
@@ -1,8 +1,8 @@
1
- import React from "react";
2
- interface BookingProps {
3
- productCode: string;
4
- productName: string;
5
- thumbnailUrl?: string;
6
- }
7
- declare const Booking: React.FC<BookingProps>;
8
- export default Booking;
1
+ import React from "react";
2
+ interface BookingProps {
3
+ productCode: string;
4
+ productName: string;
5
+ thumbnailUrl?: string;
6
+ }
7
+ declare const Booking: React.FC<BookingProps>;
8
+ export default Booking;