@qite/tide-booking-component 1.3.4 → 1.3.5
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-wizard/features/sidebar/sidebar-util.d.ts +3 -3
- package/build/build-cjs/booking-wizard/features/travelers-form/travelers-form-slice.d.ts +5 -5
- package/build/build-cjs/booking-wizard/types.d.ts +6 -0
- package/build/build-cjs/index.js +223 -147
- package/build/build-cjs/shared/utils/localization-util.d.ts +2 -0
- package/build/build-esm/booking-wizard/features/sidebar/sidebar-util.d.ts +3 -3
- package/build/build-esm/booking-wizard/features/travelers-form/travelers-form-slice.d.ts +5 -5
- package/build/build-esm/booking-wizard/types.d.ts +6 -0
- package/build/build-esm/index.js +223 -147
- package/build/build-esm/shared/utils/localization-util.d.ts +2 -0
- package/package.json +75 -75
- package/src/booking-wizard/components/print-offer-button.tsx +63 -63
- package/src/booking-wizard/features/booking/booking-self-contained.tsx +389 -389
- package/src/booking-wizard/features/booking/booking-slice.ts +663 -663
- package/src/booking-wizard/features/booking/booking.tsx +361 -361
- package/src/booking-wizard/features/flight-options/flight-utils.ts +522 -522
- package/src/booking-wizard/features/product-options/options-form.tsx +481 -481
- package/src/booking-wizard/features/sidebar/sidebar-util.ts +177 -177
- package/src/booking-wizard/features/summary/summary-booking-option-pax.tsx +25 -25
- package/src/booking-wizard/features/summary/summary.tsx +674 -674
- package/src/booking-wizard/features/travelers-form/travelers-form-slice.ts +164 -164
- package/src/booking-wizard/features/travelers-form/travelers-form.tsx +888 -754
- package/src/booking-wizard/settings-context.ts +62 -62
- package/src/booking-wizard/types.ts +286 -279
- package/src/booking-wizard/use-offer-printer.ts +117 -117
- package/src/shared/translations/en-GB.json +239 -237
- package/src/shared/translations/fr-BE.json +239 -238
- package/src/shared/translations/nl-BE.json +239 -237
- package/src/shared/utils/tide-api-utils.ts +36 -36
- package/styles/booking-wizard-variables.scss +873 -873
- package/styles/components/_booking.scss +879 -879
- package/styles/components/_dropdown.scss +72 -72
- package/styles/components/_form.scss +1583 -1583
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Settings } from "./types";
|
|
3
|
-
|
|
4
|
-
interface WizardSettingsContextProps extends Settings {}
|
|
5
|
-
|
|
6
|
-
const SettingsContext = React.createContext<WizardSettingsContextProps>({
|
|
7
|
-
language: "nl-BE",
|
|
8
|
-
token: "",
|
|
9
|
-
generatePaymentUrl: false,
|
|
10
|
-
currency: "EUR",
|
|
11
|
-
officeId: 1,
|
|
12
|
-
tagIds: [],
|
|
13
|
-
hideAgentSelection: false,
|
|
14
|
-
agentAdressId: undefined,
|
|
15
|
-
affiliateSlug: undefined,
|
|
16
|
-
productPath: "/",
|
|
17
|
-
basePath: "/boeken",
|
|
18
|
-
roomOptions: {
|
|
19
|
-
pathSuffix: "/",
|
|
20
|
-
},
|
|
21
|
-
flightOptions: {
|
|
22
|
-
pathSuffix: "/vluchten",
|
|
23
|
-
},
|
|
24
|
-
options: {
|
|
25
|
-
pathSuffix: "/opties",
|
|
26
|
-
reportPrintActionId: null,
|
|
27
|
-
},
|
|
28
|
-
travellers: {
|
|
29
|
-
pathSuffix: "/reizigers",
|
|
30
|
-
},
|
|
31
|
-
summary: {
|
|
32
|
-
pathSuffix: "/samenvatting",
|
|
33
|
-
checkboxes: null,
|
|
34
|
-
},
|
|
35
|
-
confirmation: {
|
|
36
|
-
pathSuffix: "/bevestiging",
|
|
37
|
-
},
|
|
38
|
-
error: {
|
|
39
|
-
pathSuffix: "/mislukt",
|
|
40
|
-
},
|
|
41
|
-
companyContactEmail: "info@tidesoftware.be",
|
|
42
|
-
companyContactPhone: "093362299",
|
|
43
|
-
showProductCardRating: false,
|
|
44
|
-
showSidebarDeposit: false,
|
|
45
|
-
sidebarHeaderComponent: null,
|
|
46
|
-
sidebarFooterComponent: null,
|
|
47
|
-
loaderComponent: null,
|
|
48
|
-
icons: null,
|
|
49
|
-
bookingOptions: {
|
|
50
|
-
b2b: {
|
|
51
|
-
entryStatus: 0,
|
|
52
|
-
},
|
|
53
|
-
b2b2c: {
|
|
54
|
-
entryStatus: 0,
|
|
55
|
-
},
|
|
56
|
-
b2c: {
|
|
57
|
-
entryStatus: 0,
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
export default SettingsContext;
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Settings } from "./types";
|
|
3
|
+
|
|
4
|
+
interface WizardSettingsContextProps extends Settings {}
|
|
5
|
+
|
|
6
|
+
const SettingsContext = React.createContext<WizardSettingsContextProps>({
|
|
7
|
+
language: "nl-BE",
|
|
8
|
+
token: "",
|
|
9
|
+
generatePaymentUrl: false,
|
|
10
|
+
currency: "EUR",
|
|
11
|
+
officeId: 1,
|
|
12
|
+
tagIds: [],
|
|
13
|
+
hideAgentSelection: false,
|
|
14
|
+
agentAdressId: undefined,
|
|
15
|
+
affiliateSlug: undefined,
|
|
16
|
+
productPath: "/",
|
|
17
|
+
basePath: "/boeken",
|
|
18
|
+
roomOptions: {
|
|
19
|
+
pathSuffix: "/",
|
|
20
|
+
},
|
|
21
|
+
flightOptions: {
|
|
22
|
+
pathSuffix: "/vluchten",
|
|
23
|
+
},
|
|
24
|
+
options: {
|
|
25
|
+
pathSuffix: "/opties",
|
|
26
|
+
reportPrintActionId: null,
|
|
27
|
+
},
|
|
28
|
+
travellers: {
|
|
29
|
+
pathSuffix: "/reizigers",
|
|
30
|
+
},
|
|
31
|
+
summary: {
|
|
32
|
+
pathSuffix: "/samenvatting",
|
|
33
|
+
checkboxes: null,
|
|
34
|
+
},
|
|
35
|
+
confirmation: {
|
|
36
|
+
pathSuffix: "/bevestiging",
|
|
37
|
+
},
|
|
38
|
+
error: {
|
|
39
|
+
pathSuffix: "/mislukt",
|
|
40
|
+
},
|
|
41
|
+
companyContactEmail: "info@tidesoftware.be",
|
|
42
|
+
companyContactPhone: "093362299",
|
|
43
|
+
showProductCardRating: false,
|
|
44
|
+
showSidebarDeposit: false,
|
|
45
|
+
sidebarHeaderComponent: null,
|
|
46
|
+
sidebarFooterComponent: null,
|
|
47
|
+
loaderComponent: null,
|
|
48
|
+
icons: null,
|
|
49
|
+
bookingOptions: {
|
|
50
|
+
b2b: {
|
|
51
|
+
entryStatus: 0,
|
|
52
|
+
},
|
|
53
|
+
b2b2c: {
|
|
54
|
+
entryStatus: 0,
|
|
55
|
+
},
|
|
56
|
+
b2c: {
|
|
57
|
+
entryStatus: 0,
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
export default SettingsContext;
|