thm-p3-configurator 0.0.4 → 0.0.6
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/dist/index.js +113 -0
- package/dist/public/assets/images/card-placeholder.png +0 -0
- package/dist/public/assets/images/dummy/bike-carrier.jpg +0 -0
- package/dist/public/assets/images/dummy/brand.png +0 -0
- package/dist/public/assets/images/dummy/cable-set.jpg +0 -0
- package/dist/public/assets/images/dummy/extra.png +0 -0
- package/dist/public/assets/images/dummy/license-plate-white.png +0 -0
- package/dist/public/assets/images/dummy/towbar-1.jpg +0 -0
- package/dist/public/assets/images/dummy/towbar-2.jpg +0 -0
- package/dist/public/assets/images/label-beste-keuze.png +0 -0
- package/dist/public/assets/images/license-plate-prefix.svg +598 -0
- package/dist/public/assets/images/logo-primary-icon.png +0 -0
- package/dist/public/assets/images/logo-primary-icon.svg +11 -0
- package/dist/public/assets/images/logo-primary.png +0 -0
- package/dist/public/assets/images/logo-primary.svg +26 -0
- package/dist/public/assets/images/logo-thc-white.svg +14 -0
- package/dist/public/assets/images/logo-white-icon.png +0 -0
- package/dist/public/assets/images/logo-white-icon.svg +11 -0
- package/dist/public/assets/images/logo-white.png +0 -0
- package/dist/public/assets/images/logo-white.svg +26 -0
- package/dist/public/assets/images/map-marker.png +0 -0
- package/dist/public/assets/images/map-marker.svg +1 -0
- package/dist/public/assets/images/montage-placeholder.png +0 -0
- package/dist/public/assets/images/preloader-background.png +0 -0
- package/dist/public/assets/list-check-bg.svg +11 -0
- package/dist/public/assets/lottie/animation.js +2199 -0
- package/dist/public/assets/lottie/data.json +1412 -0
- package/dist/public/assets/lottie/images/img_0.png +0 -0
- package/dist/public/assets/lottie/images/img_1.png +0 -0
- package/dist/public/assets/lottie/images/img_2.png +0 -0
- package/dist/public/assets/lottie/images/img_3.png +0 -0
- package/dist/public/assets/lottie/images/img_4.png +0 -0
- package/dist/public/assets/lottie/images/img_5.png +0 -0
- package/dist/public/assets/lottie/images/img_6.png +0 -0
- package/dist/public/assets/lottie/images/img_7.png +0 -0
- package/dist/public/assets/lottie/images/img_8.png +0 -0
- package/dist/public/assets/lottie/images/img_9.png +0 -0
- package/dist/public/favicon.ico +0 -0
- package/dist/public/html-template.ejs +51 -0
- package/dist/src/shared/App.js +79 -0
- package/dist/src/shared/__api__/_dummyApi.js +110 -0
- package/dist/src/shared/__api__/authenticatedProxyApi.js +58 -0
- package/dist/src/shared/__api__/mutations.js +180 -0
- package/dist/src/shared/__api__/orderApi.js +47 -0
- package/dist/src/shared/__api__/publicProxyApi.js +58 -0
- package/dist/src/shared/__api__/queries.js +276 -0
- package/dist/src/shared/__components__/Buttons/LinkButton.js +53 -0
- package/dist/src/shared/__components__/Buttons/NavigationButton.js +40 -0
- package/dist/src/shared/__components__/Buttons/PrimaryButton.js +53 -0
- package/dist/src/shared/__components__/Cards/Card.js +38 -0
- package/dist/src/shared/__components__/Cards/CardWide.js +27 -0
- package/dist/src/shared/__components__/Cards/ExpandableCard.js +78 -0
- package/dist/src/shared/__components__/Cards/TogglableCard.js +67 -0
- package/dist/src/shared/__components__/Error.js +65 -0
- package/dist/src/shared/__components__/Form/CheckboxInput.js +80 -0
- package/dist/src/shared/__components__/Form/DatePickerInput.js +98 -0
- package/dist/src/shared/__components__/Form/DropdownInput.js +143 -0
- package/dist/src/shared/__components__/Form/ErrorMessage.js +22 -0
- package/dist/src/shared/__components__/Form/FormSteps.js +62 -0
- package/dist/src/shared/__components__/Form/LicensePlateInput.js +86 -0
- package/dist/src/shared/__components__/Form/NumericInput.js +108 -0
- package/dist/src/shared/__components__/Form/RadioButtons.js +91 -0
- package/dist/src/shared/__components__/Form/RadioInput.js +81 -0
- package/dist/src/shared/__components__/Form/TextAreaInput.js +84 -0
- package/dist/src/shared/__components__/Form/TextInput.js +89 -0
- package/dist/src/shared/__components__/Form/TimePickerInput.js +107 -0
- package/dist/src/shared/__components__/Header.js +39 -0
- package/dist/src/shared/__components__/LocationsSelector/LocationAutoComplete.js +169 -0
- package/dist/src/shared/__components__/LocationsSelector/LocationClusteredMap.js +100 -0
- package/dist/src/shared/__components__/LocationsSelector/LocationClusteredTreeMarkers.js +215 -0
- package/dist/src/shared/__components__/LocationsSelector/LocationInfo.js +50 -0
- package/dist/src/shared/__components__/LocationsSelector/LocationList.js +171 -0
- package/dist/src/shared/__components__/LocationsSelector/LocationListItem.js +94 -0
- package/dist/src/shared/__components__/LocationsSelector/LocationTreeMarker.js +77 -0
- package/dist/src/shared/__components__/LocationsSelector/index.js +126 -0
- package/dist/src/shared/__components__/Modal.js +71 -0
- package/dist/src/shared/__components__/Navbar.js +55 -0
- package/dist/src/shared/__components__/NavigationSteps.js +91 -0
- package/dist/src/shared/__components__/ProductCard/ProductCardCheckbox.js +38 -0
- package/dist/src/shared/__components__/ProductCard/ProductCardDescription.js +66 -0
- package/dist/src/shared/__components__/ProductCard/ProductCardDiscountAlert.js +53 -0
- package/dist/src/shared/__components__/ProductCard/ProductCardImage.js +27 -0
- package/dist/src/shared/__components__/ProductCard/ProductCardPrice.js +32 -0
- package/dist/src/shared/__components__/ProductCard/ProductCardRibbon.js +28 -0
- package/dist/src/shared/__components__/ProductCard/ProductCardSpecifications.js +34 -0
- package/dist/src/shared/__components__/ProductCard/ProductCardUsps.js +76 -0
- package/dist/src/shared/__components__/ProductCard/index.js +149 -0
- package/dist/src/shared/__components__/ProductTable/ProductTableEditableRow.js +63 -0
- package/dist/src/shared/__components__/ProductTable/ProductTableHead.js +30 -0
- package/dist/src/shared/__components__/ProductTable/ProductTableSection.js +25 -0
- package/dist/src/shared/__components__/ProductTable/ProductTableSectionTotal.js +42 -0
- package/dist/src/shared/__components__/ProductTable/ProductTableStaticRow.js +44 -0
- package/dist/src/shared/__components__/ProductTable/ProductTableTotal.js +39 -0
- package/dist/src/shared/__components__/ProductTable/index.js +109 -0
- package/dist/src/shared/__components__/Spinners/FullPageSpinner.js +67 -0
- package/dist/src/shared/__components__/Spinners/TextSpinner.js +31 -0
- package/dist/src/shared/__components__/UspsList.js +25 -0
- package/dist/src/shared/__constants__/cookiebot.js +7 -0
- package/dist/src/shared/__constants__/index.js +124 -0
- package/dist/src/shared/__constants__/sentry.js +20 -0
- package/dist/src/shared/__containers__/ANWBMembershipInput.js +151 -0
- package/dist/src/shared/__containers__/AppointmentForm.js +336 -0
- package/dist/src/shared/__containers__/BoardComputerCard.js +135 -0
- package/dist/src/shared/__containers__/BottomNavigationBar.js +131 -0
- package/dist/src/shared/__containers__/BranchSelectorModal.js +111 -0
- package/dist/src/shared/__containers__/ExitIntentModal.js +283 -0
- package/dist/src/shared/__containers__/ExtraProductsOverview.js +79 -0
- package/dist/src/shared/__containers__/LicensePlateForm.js +125 -0
- package/dist/src/shared/__containers__/ManualSelectionForm.js +161 -0
- package/dist/src/shared/__containers__/ProductCartSide.js +101 -0
- package/dist/src/shared/__containers__/ProductDiscountCard.js +112 -0
- package/dist/src/shared/__containers__/ProductsCartOverview.js +111 -0
- package/dist/src/shared/__containers__/ProductsOverview.js +234 -0
- package/dist/src/shared/__containers__/QuestionsForm.js +151 -0
- package/dist/src/shared/__containers__/QuotationForm.js +311 -0
- package/dist/src/shared/__containers__/QuotationSuccessModal.js +34 -0
- package/dist/src/shared/__containers__/SentryWrapper.js +60 -0
- package/dist/src/shared/__containers__/StyleWrapper.js +75 -0
- package/dist/src/shared/__containers__/VehicleData.js +88 -0
- package/dist/src/shared/__containers__/internal/InternalAppointmentForm.js +583 -0
- package/dist/src/shared/__containers__/internal/InternalAppointmentSuccessModal.js +78 -0
- package/dist/src/shared/__containers__/internal/InternalQuotationForm.js +407 -0
- package/dist/src/shared/__containers__/internal/InternalQuotationSuccessModal.js +79 -0
- package/dist/src/shared/__context__/ActiveMarkerContext.js +49 -0
- package/dist/src/shared/__context__/CountryContext.js +63 -0
- package/dist/src/shared/__context__/FormulaContext.js +69 -0
- package/dist/src/shared/__context__/OrderSessionContext.js +601 -0
- package/dist/src/shared/__helpers__/cookiebot.js +26 -0
- package/dist/src/shared/__helpers__/geolocation.js +70 -0
- package/dist/src/shared/__helpers__/image.js +88 -0
- package/dist/src/shared/__helpers__/index.js +220 -0
- package/dist/src/shared/__helpers__/product.js +45 -0
- package/dist/src/shared/__helpers__/queryClient.js +23 -0
- package/dist/src/shared/__helpers__/ui.js +20 -0
- package/dist/src/shared/__hooks__/useBreakpoint.js +68 -0
- package/dist/src/shared/__hooks__/useSearchParam.js +27 -0
- package/dist/src/shared/__hooks__/useUserLocation.js +51 -0
- package/dist/src/shared/__pages__/AppointmentPage.js +42 -0
- package/dist/src/shared/__pages__/AppointmentThanksPage.js +56 -0
- package/dist/src/shared/__pages__/ExtraProductsPage.js +39 -0
- package/dist/src/shared/__pages__/LicensePlatePage.js +161 -0
- package/dist/src/shared/__pages__/LocationsPage.js +80 -0
- package/dist/src/shared/__pages__/ManualSelectionPage.js +147 -0
- package/dist/src/shared/__pages__/NoProductsPage.js +95 -0
- package/dist/src/shared/__pages__/NotFoundPage.js +27 -0
- package/dist/src/shared/__pages__/OverviewPage.js +56 -0
- package/dist/src/shared/__pages__/ProductsPage.js +46 -0
- package/dist/src/shared/__pages__/QuotationPage.js +35 -0
- package/dist/src/shared/__pages__/QuotationThanksPage.js +92 -0
- package/dist/src/shared/__pages__/index.js +156 -0
- package/dist/src/shared/__pages__/internal/InternalAppointmentPage.js +47 -0
- package/dist/src/shared/__pages__/internal/InternalExtraProductsPage.js +42 -0
- package/dist/src/shared/__pages__/internal/InternalLicensePlatePage.js +136 -0
- package/dist/src/shared/__pages__/internal/InternalLocationsPage.js +92 -0
- package/dist/src/shared/__pages__/internal/InternalManualSelectionPage.js +127 -0
- package/dist/src/shared/__pages__/internal/InternalOverviewPage.js +54 -0
- package/dist/src/shared/__pages__/internal/InternalProductsPage.js +45 -0
- package/dist/src/shared/__pages__/internal/InternalQuotationPage.js +46 -0
- package/dist/src/shared/__pages__/internal/index.js +66 -0
- package/dist/src/shared/__services__/ANWBValidator.js +138 -0
- package/dist/src/shared/__services__/Experiments.js +300 -0
- package/dist/src/shared/__services__/LicensePlateValidator.js +82 -0
- package/dist/src/shared/__services__/LocalStorageWorker.js +71 -0
- package/dist/src/shared/__style__/_bootstrap-external.scss +44 -0
- package/dist/src/shared/__style__/_bootstrap.scss +44 -0
- package/dist/src/shared/__style__/_variables-external.scss +244 -0
- package/dist/src/shared/__style__/_variables.scss +244 -0
- package/dist/src/shared/__style__/base/_global.scss +10 -0
- package/dist/src/shared/__style__/base/_icon.scss +11 -0
- package/dist/src/shared/__style__/base/_typography-external.scss +57 -0
- package/dist/src/shared/__style__/base/_typography.scss +30 -0
- package/dist/src/shared/__style__/components/_alert.scss +13 -0
- package/dist/src/shared/__style__/components/_buttons.scss +81 -0
- package/dist/src/shared/__style__/components/_collapse.scss +5 -0
- package/dist/src/shared/__style__/components/_datepicker.scss +41 -0
- package/dist/src/shared/__style__/components/_error.scss +64 -0
- package/dist/src/shared/__style__/components/_exit-intent-popup.scss +26 -0
- package/dist/src/shared/__style__/components/_license-plate.scss +48 -0
- package/dist/src/shared/__style__/components/_list-check.scss +38 -0
- package/dist/src/shared/__style__/components/_loader.scss +30 -0
- package/dist/src/shared/__style__/components/_microcopy.scss +34 -0
- package/dist/src/shared/__style__/components/_modal.scss +94 -0
- package/dist/src/shared/__style__/components/_navbar.scss +43 -0
- package/dist/src/shared/__style__/components/_next-prev-nav.scss +38 -0
- package/dist/src/shared/__style__/components/_preloader.scss +138 -0
- package/dist/src/shared/__style__/components/_section-pagination.scss +46 -0
- package/dist/src/shared/__style__/components/_status.scss +9 -0
- package/dist/src/shared/__style__/components/_steps.scss +79 -0
- package/dist/src/shared/__style__/components/_vehicle-data.scss +88 -0
- package/dist/src/shared/__style__/components/card/_card-default.scss +6 -0
- package/dist/src/shared/__style__/components/card/_card-horizontal.scss +70 -0
- package/dist/src/shared/__style__/components/card/_card.scss +150 -0
- package/dist/src/shared/__style__/components/cart/_cart-product.scss +23 -0
- package/dist/src/shared/__style__/components/cart/_cart-table.scss +170 -0
- package/dist/src/shared/__style__/components/cart/_cart.scss +75 -0
- package/dist/src/shared/__style__/components/dealer/_dealer-autocomplete.scss +104 -0
- package/dist/src/shared/__style__/components/dealer/_dealer-data.scss +20 -0
- package/dist/src/shared/__style__/components/dealer/_dealer-item.scss +53 -0
- package/dist/src/shared/__style__/components/dealer/_dealer-list.scss +23 -0
- package/dist/src/shared/__style__/components/dealer/_dealer-map.scss +97 -0
- package/dist/src/shared/__style__/components/dealer/_dealer.scss +5 -0
- package/dist/src/shared/__style__/components/filter/_filter-form.scss +22 -0
- package/dist/src/shared/__style__/components/form/_form-card.scss +10 -0
- package/dist/src/shared/__style__/components/form/_form-column.scss +16 -0
- package/dist/src/shared/__style__/components/form/_form-dots.scss +23 -0
- package/dist/src/shared/__style__/components/form/_form-radio.scss +114 -0
- package/dist/src/shared/__style__/components/form/_form-select.scss +140 -0
- package/dist/src/shared/__style__/components/form/_form.scss +64 -0
- package/dist/src/shared/__style__/components/hero/_hero-offset.scss +22 -0
- package/dist/src/shared/__style__/components/hero/_hero.scss +46 -0
- package/dist/src/shared/__style__/components/pagination.scss +65 -0
- package/dist/src/shared/__style__/components/sidebar/_react-numeric-input.scss +0 -0
- package/dist/src/shared/__style__/components/sidebar/_sidebar.scss +60 -0
- package/dist/src/shared/__style__/configurator/_configurator-offset-sidebar.scss +42 -0
- package/dist/src/shared/__style__/configurator/_configurator-offset.scss +41 -0
- package/dist/src/shared/__style__/configurator/_configurator-thc.scss +78 -0
- package/dist/src/shared/__style__/configurator/_configurator-wrapper-steps.scss +5 -0
- package/dist/src/shared/__style__/configurator/_configurator.scss +140 -0
- package/dist/src/shared/__style__/main-external.scss +59 -0
- package/dist/src/shared/__style__/main.module.scss +59 -0
- package/dist/src/shared/__style__/main.scss +59 -0
- package/package.json +1 -2
package/dist/index.js
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "ActiveMarkerProvider", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _ActiveMarkerContext.ActiveMarkerProvider;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "CountryController", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _CountryContext.CountryController;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "InternalAppointmentPage", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _index.InternalAppointmentPage;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "InternalExtraProductsPage", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function get() {
|
|
27
|
+
return _index.InternalExtraProductsPage;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "InternalLicensePlatePage", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function get() {
|
|
33
|
+
return _index.InternalLicensePlatePage;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "InternalLocationsPage", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function get() {
|
|
39
|
+
return _index.InternalLocationsPage;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "InternalManualSelectionPage", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function get() {
|
|
45
|
+
return _index.InternalManualSelectionPage;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "InternalOverviewPage", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function get() {
|
|
51
|
+
return _index.InternalOverviewPage;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "InternalProductsPage", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function get() {
|
|
57
|
+
return _index.InternalProductsPage;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "InternalQuotationPage", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function get() {
|
|
63
|
+
return _index.InternalQuotationPage;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "OrderSessionController", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function get() {
|
|
69
|
+
return _OrderSessionContext.OrderSessionController;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "orderSessionActions", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function get() {
|
|
75
|
+
return _OrderSessionContext.orderSessionActions;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "styles", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function get() {
|
|
81
|
+
return _mainModule.default;
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "useActiveMarker", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function get() {
|
|
87
|
+
return _ActiveMarkerContext.useActiveMarker;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, "useCountry", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function get() {
|
|
93
|
+
return _CountryContext.useCountry;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "useCountryDispatch", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function get() {
|
|
99
|
+
return _CountryContext.useCountryDispatch;
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "useOrderSession", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function get() {
|
|
105
|
+
return _OrderSessionContext.useOrderSession;
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
var _ActiveMarkerContext = require("./src/shared/__context__/ActiveMarkerContext.js");
|
|
109
|
+
var _CountryContext = require("./src/shared/__context__/CountryContext.js");
|
|
110
|
+
var _OrderSessionContext = require("./src/shared/__context__/OrderSessionContext.js");
|
|
111
|
+
var _index = require("./src/shared/__pages__/internal/index.js");
|
|
112
|
+
var _mainModule = _interopRequireDefault(require("./src/shared/__style__/main.module.scss"));
|
|
113
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|