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.
Files changed (222) hide show
  1. package/dist/index.js +113 -0
  2. package/dist/public/assets/images/card-placeholder.png +0 -0
  3. package/dist/public/assets/images/dummy/bike-carrier.jpg +0 -0
  4. package/dist/public/assets/images/dummy/brand.png +0 -0
  5. package/dist/public/assets/images/dummy/cable-set.jpg +0 -0
  6. package/dist/public/assets/images/dummy/extra.png +0 -0
  7. package/dist/public/assets/images/dummy/license-plate-white.png +0 -0
  8. package/dist/public/assets/images/dummy/towbar-1.jpg +0 -0
  9. package/dist/public/assets/images/dummy/towbar-2.jpg +0 -0
  10. package/dist/public/assets/images/label-beste-keuze.png +0 -0
  11. package/dist/public/assets/images/license-plate-prefix.svg +598 -0
  12. package/dist/public/assets/images/logo-primary-icon.png +0 -0
  13. package/dist/public/assets/images/logo-primary-icon.svg +11 -0
  14. package/dist/public/assets/images/logo-primary.png +0 -0
  15. package/dist/public/assets/images/logo-primary.svg +26 -0
  16. package/dist/public/assets/images/logo-thc-white.svg +14 -0
  17. package/dist/public/assets/images/logo-white-icon.png +0 -0
  18. package/dist/public/assets/images/logo-white-icon.svg +11 -0
  19. package/dist/public/assets/images/logo-white.png +0 -0
  20. package/dist/public/assets/images/logo-white.svg +26 -0
  21. package/dist/public/assets/images/map-marker.png +0 -0
  22. package/dist/public/assets/images/map-marker.svg +1 -0
  23. package/dist/public/assets/images/montage-placeholder.png +0 -0
  24. package/dist/public/assets/images/preloader-background.png +0 -0
  25. package/dist/public/assets/list-check-bg.svg +11 -0
  26. package/dist/public/assets/lottie/animation.js +2199 -0
  27. package/dist/public/assets/lottie/data.json +1412 -0
  28. package/dist/public/assets/lottie/images/img_0.png +0 -0
  29. package/dist/public/assets/lottie/images/img_1.png +0 -0
  30. package/dist/public/assets/lottie/images/img_2.png +0 -0
  31. package/dist/public/assets/lottie/images/img_3.png +0 -0
  32. package/dist/public/assets/lottie/images/img_4.png +0 -0
  33. package/dist/public/assets/lottie/images/img_5.png +0 -0
  34. package/dist/public/assets/lottie/images/img_6.png +0 -0
  35. package/dist/public/assets/lottie/images/img_7.png +0 -0
  36. package/dist/public/assets/lottie/images/img_8.png +0 -0
  37. package/dist/public/assets/lottie/images/img_9.png +0 -0
  38. package/dist/public/favicon.ico +0 -0
  39. package/dist/public/html-template.ejs +51 -0
  40. package/dist/src/shared/App.js +79 -0
  41. package/dist/src/shared/__api__/_dummyApi.js +110 -0
  42. package/dist/src/shared/__api__/authenticatedProxyApi.js +58 -0
  43. package/dist/src/shared/__api__/mutations.js +180 -0
  44. package/dist/src/shared/__api__/orderApi.js +47 -0
  45. package/dist/src/shared/__api__/publicProxyApi.js +58 -0
  46. package/dist/src/shared/__api__/queries.js +276 -0
  47. package/dist/src/shared/__components__/Buttons/LinkButton.js +53 -0
  48. package/dist/src/shared/__components__/Buttons/NavigationButton.js +40 -0
  49. package/dist/src/shared/__components__/Buttons/PrimaryButton.js +53 -0
  50. package/dist/src/shared/__components__/Cards/Card.js +38 -0
  51. package/dist/src/shared/__components__/Cards/CardWide.js +27 -0
  52. package/dist/src/shared/__components__/Cards/ExpandableCard.js +78 -0
  53. package/dist/src/shared/__components__/Cards/TogglableCard.js +67 -0
  54. package/dist/src/shared/__components__/Error.js +65 -0
  55. package/dist/src/shared/__components__/Form/CheckboxInput.js +80 -0
  56. package/dist/src/shared/__components__/Form/DatePickerInput.js +98 -0
  57. package/dist/src/shared/__components__/Form/DropdownInput.js +143 -0
  58. package/dist/src/shared/__components__/Form/ErrorMessage.js +22 -0
  59. package/dist/src/shared/__components__/Form/FormSteps.js +62 -0
  60. package/dist/src/shared/__components__/Form/LicensePlateInput.js +86 -0
  61. package/dist/src/shared/__components__/Form/NumericInput.js +108 -0
  62. package/dist/src/shared/__components__/Form/RadioButtons.js +91 -0
  63. package/dist/src/shared/__components__/Form/RadioInput.js +81 -0
  64. package/dist/src/shared/__components__/Form/TextAreaInput.js +84 -0
  65. package/dist/src/shared/__components__/Form/TextInput.js +89 -0
  66. package/dist/src/shared/__components__/Form/TimePickerInput.js +107 -0
  67. package/dist/src/shared/__components__/Header.js +39 -0
  68. package/dist/src/shared/__components__/LocationsSelector/LocationAutoComplete.js +169 -0
  69. package/dist/src/shared/__components__/LocationsSelector/LocationClusteredMap.js +100 -0
  70. package/dist/src/shared/__components__/LocationsSelector/LocationClusteredTreeMarkers.js +215 -0
  71. package/dist/src/shared/__components__/LocationsSelector/LocationInfo.js +50 -0
  72. package/dist/src/shared/__components__/LocationsSelector/LocationList.js +171 -0
  73. package/dist/src/shared/__components__/LocationsSelector/LocationListItem.js +94 -0
  74. package/dist/src/shared/__components__/LocationsSelector/LocationTreeMarker.js +77 -0
  75. package/dist/src/shared/__components__/LocationsSelector/index.js +126 -0
  76. package/dist/src/shared/__components__/Modal.js +71 -0
  77. package/dist/src/shared/__components__/Navbar.js +55 -0
  78. package/dist/src/shared/__components__/NavigationSteps.js +91 -0
  79. package/dist/src/shared/__components__/ProductCard/ProductCardCheckbox.js +38 -0
  80. package/dist/src/shared/__components__/ProductCard/ProductCardDescription.js +66 -0
  81. package/dist/src/shared/__components__/ProductCard/ProductCardDiscountAlert.js +53 -0
  82. package/dist/src/shared/__components__/ProductCard/ProductCardImage.js +27 -0
  83. package/dist/src/shared/__components__/ProductCard/ProductCardPrice.js +32 -0
  84. package/dist/src/shared/__components__/ProductCard/ProductCardRibbon.js +28 -0
  85. package/dist/src/shared/__components__/ProductCard/ProductCardSpecifications.js +34 -0
  86. package/dist/src/shared/__components__/ProductCard/ProductCardUsps.js +76 -0
  87. package/dist/src/shared/__components__/ProductCard/index.js +149 -0
  88. package/dist/src/shared/__components__/ProductTable/ProductTableEditableRow.js +63 -0
  89. package/dist/src/shared/__components__/ProductTable/ProductTableHead.js +30 -0
  90. package/dist/src/shared/__components__/ProductTable/ProductTableSection.js +25 -0
  91. package/dist/src/shared/__components__/ProductTable/ProductTableSectionTotal.js +42 -0
  92. package/dist/src/shared/__components__/ProductTable/ProductTableStaticRow.js +44 -0
  93. package/dist/src/shared/__components__/ProductTable/ProductTableTotal.js +39 -0
  94. package/dist/src/shared/__components__/ProductTable/index.js +109 -0
  95. package/dist/src/shared/__components__/Spinners/FullPageSpinner.js +67 -0
  96. package/dist/src/shared/__components__/Spinners/TextSpinner.js +31 -0
  97. package/dist/src/shared/__components__/UspsList.js +25 -0
  98. package/dist/src/shared/__constants__/cookiebot.js +7 -0
  99. package/dist/src/shared/__constants__/index.js +124 -0
  100. package/dist/src/shared/__constants__/sentry.js +20 -0
  101. package/dist/src/shared/__containers__/ANWBMembershipInput.js +151 -0
  102. package/dist/src/shared/__containers__/AppointmentForm.js +336 -0
  103. package/dist/src/shared/__containers__/BoardComputerCard.js +135 -0
  104. package/dist/src/shared/__containers__/BottomNavigationBar.js +131 -0
  105. package/dist/src/shared/__containers__/BranchSelectorModal.js +111 -0
  106. package/dist/src/shared/__containers__/ExitIntentModal.js +283 -0
  107. package/dist/src/shared/__containers__/ExtraProductsOverview.js +79 -0
  108. package/dist/src/shared/__containers__/LicensePlateForm.js +125 -0
  109. package/dist/src/shared/__containers__/ManualSelectionForm.js +161 -0
  110. package/dist/src/shared/__containers__/ProductCartSide.js +101 -0
  111. package/dist/src/shared/__containers__/ProductDiscountCard.js +112 -0
  112. package/dist/src/shared/__containers__/ProductsCartOverview.js +111 -0
  113. package/dist/src/shared/__containers__/ProductsOverview.js +234 -0
  114. package/dist/src/shared/__containers__/QuestionsForm.js +151 -0
  115. package/dist/src/shared/__containers__/QuotationForm.js +311 -0
  116. package/dist/src/shared/__containers__/QuotationSuccessModal.js +34 -0
  117. package/dist/src/shared/__containers__/SentryWrapper.js +60 -0
  118. package/dist/src/shared/__containers__/StyleWrapper.js +75 -0
  119. package/dist/src/shared/__containers__/VehicleData.js +88 -0
  120. package/dist/src/shared/__containers__/internal/InternalAppointmentForm.js +583 -0
  121. package/dist/src/shared/__containers__/internal/InternalAppointmentSuccessModal.js +78 -0
  122. package/dist/src/shared/__containers__/internal/InternalQuotationForm.js +407 -0
  123. package/dist/src/shared/__containers__/internal/InternalQuotationSuccessModal.js +79 -0
  124. package/dist/src/shared/__context__/ActiveMarkerContext.js +49 -0
  125. package/dist/src/shared/__context__/CountryContext.js +63 -0
  126. package/dist/src/shared/__context__/FormulaContext.js +69 -0
  127. package/dist/src/shared/__context__/OrderSessionContext.js +601 -0
  128. package/dist/src/shared/__helpers__/cookiebot.js +26 -0
  129. package/dist/src/shared/__helpers__/geolocation.js +70 -0
  130. package/dist/src/shared/__helpers__/image.js +88 -0
  131. package/dist/src/shared/__helpers__/index.js +220 -0
  132. package/dist/src/shared/__helpers__/product.js +45 -0
  133. package/dist/src/shared/__helpers__/queryClient.js +23 -0
  134. package/dist/src/shared/__helpers__/ui.js +20 -0
  135. package/dist/src/shared/__hooks__/useBreakpoint.js +68 -0
  136. package/dist/src/shared/__hooks__/useSearchParam.js +27 -0
  137. package/dist/src/shared/__hooks__/useUserLocation.js +51 -0
  138. package/dist/src/shared/__pages__/AppointmentPage.js +42 -0
  139. package/dist/src/shared/__pages__/AppointmentThanksPage.js +56 -0
  140. package/dist/src/shared/__pages__/ExtraProductsPage.js +39 -0
  141. package/dist/src/shared/__pages__/LicensePlatePage.js +161 -0
  142. package/dist/src/shared/__pages__/LocationsPage.js +80 -0
  143. package/dist/src/shared/__pages__/ManualSelectionPage.js +147 -0
  144. package/dist/src/shared/__pages__/NoProductsPage.js +95 -0
  145. package/dist/src/shared/__pages__/NotFoundPage.js +27 -0
  146. package/dist/src/shared/__pages__/OverviewPage.js +56 -0
  147. package/dist/src/shared/__pages__/ProductsPage.js +46 -0
  148. package/dist/src/shared/__pages__/QuotationPage.js +35 -0
  149. package/dist/src/shared/__pages__/QuotationThanksPage.js +92 -0
  150. package/dist/src/shared/__pages__/index.js +156 -0
  151. package/dist/src/shared/__pages__/internal/InternalAppointmentPage.js +47 -0
  152. package/dist/src/shared/__pages__/internal/InternalExtraProductsPage.js +42 -0
  153. package/dist/src/shared/__pages__/internal/InternalLicensePlatePage.js +136 -0
  154. package/dist/src/shared/__pages__/internal/InternalLocationsPage.js +92 -0
  155. package/dist/src/shared/__pages__/internal/InternalManualSelectionPage.js +127 -0
  156. package/dist/src/shared/__pages__/internal/InternalOverviewPage.js +54 -0
  157. package/dist/src/shared/__pages__/internal/InternalProductsPage.js +45 -0
  158. package/dist/src/shared/__pages__/internal/InternalQuotationPage.js +46 -0
  159. package/dist/src/shared/__pages__/internal/index.js +66 -0
  160. package/dist/src/shared/__services__/ANWBValidator.js +138 -0
  161. package/dist/src/shared/__services__/Experiments.js +300 -0
  162. package/dist/src/shared/__services__/LicensePlateValidator.js +82 -0
  163. package/dist/src/shared/__services__/LocalStorageWorker.js +71 -0
  164. package/dist/src/shared/__style__/_bootstrap-external.scss +44 -0
  165. package/dist/src/shared/__style__/_bootstrap.scss +44 -0
  166. package/dist/src/shared/__style__/_variables-external.scss +244 -0
  167. package/dist/src/shared/__style__/_variables.scss +244 -0
  168. package/dist/src/shared/__style__/base/_global.scss +10 -0
  169. package/dist/src/shared/__style__/base/_icon.scss +11 -0
  170. package/dist/src/shared/__style__/base/_typography-external.scss +57 -0
  171. package/dist/src/shared/__style__/base/_typography.scss +30 -0
  172. package/dist/src/shared/__style__/components/_alert.scss +13 -0
  173. package/dist/src/shared/__style__/components/_buttons.scss +81 -0
  174. package/dist/src/shared/__style__/components/_collapse.scss +5 -0
  175. package/dist/src/shared/__style__/components/_datepicker.scss +41 -0
  176. package/dist/src/shared/__style__/components/_error.scss +64 -0
  177. package/dist/src/shared/__style__/components/_exit-intent-popup.scss +26 -0
  178. package/dist/src/shared/__style__/components/_license-plate.scss +48 -0
  179. package/dist/src/shared/__style__/components/_list-check.scss +38 -0
  180. package/dist/src/shared/__style__/components/_loader.scss +30 -0
  181. package/dist/src/shared/__style__/components/_microcopy.scss +34 -0
  182. package/dist/src/shared/__style__/components/_modal.scss +94 -0
  183. package/dist/src/shared/__style__/components/_navbar.scss +43 -0
  184. package/dist/src/shared/__style__/components/_next-prev-nav.scss +38 -0
  185. package/dist/src/shared/__style__/components/_preloader.scss +138 -0
  186. package/dist/src/shared/__style__/components/_section-pagination.scss +46 -0
  187. package/dist/src/shared/__style__/components/_status.scss +9 -0
  188. package/dist/src/shared/__style__/components/_steps.scss +79 -0
  189. package/dist/src/shared/__style__/components/_vehicle-data.scss +88 -0
  190. package/dist/src/shared/__style__/components/card/_card-default.scss +6 -0
  191. package/dist/src/shared/__style__/components/card/_card-horizontal.scss +70 -0
  192. package/dist/src/shared/__style__/components/card/_card.scss +150 -0
  193. package/dist/src/shared/__style__/components/cart/_cart-product.scss +23 -0
  194. package/dist/src/shared/__style__/components/cart/_cart-table.scss +170 -0
  195. package/dist/src/shared/__style__/components/cart/_cart.scss +75 -0
  196. package/dist/src/shared/__style__/components/dealer/_dealer-autocomplete.scss +104 -0
  197. package/dist/src/shared/__style__/components/dealer/_dealer-data.scss +20 -0
  198. package/dist/src/shared/__style__/components/dealer/_dealer-item.scss +53 -0
  199. package/dist/src/shared/__style__/components/dealer/_dealer-list.scss +23 -0
  200. package/dist/src/shared/__style__/components/dealer/_dealer-map.scss +97 -0
  201. package/dist/src/shared/__style__/components/dealer/_dealer.scss +5 -0
  202. package/dist/src/shared/__style__/components/filter/_filter-form.scss +22 -0
  203. package/dist/src/shared/__style__/components/form/_form-card.scss +10 -0
  204. package/dist/src/shared/__style__/components/form/_form-column.scss +16 -0
  205. package/dist/src/shared/__style__/components/form/_form-dots.scss +23 -0
  206. package/dist/src/shared/__style__/components/form/_form-radio.scss +114 -0
  207. package/dist/src/shared/__style__/components/form/_form-select.scss +140 -0
  208. package/dist/src/shared/__style__/components/form/_form.scss +64 -0
  209. package/dist/src/shared/__style__/components/hero/_hero-offset.scss +22 -0
  210. package/dist/src/shared/__style__/components/hero/_hero.scss +46 -0
  211. package/dist/src/shared/__style__/components/pagination.scss +65 -0
  212. package/dist/src/shared/__style__/components/sidebar/_react-numeric-input.scss +0 -0
  213. package/dist/src/shared/__style__/components/sidebar/_sidebar.scss +60 -0
  214. package/dist/src/shared/__style__/configurator/_configurator-offset-sidebar.scss +42 -0
  215. package/dist/src/shared/__style__/configurator/_configurator-offset.scss +41 -0
  216. package/dist/src/shared/__style__/configurator/_configurator-thc.scss +78 -0
  217. package/dist/src/shared/__style__/configurator/_configurator-wrapper-steps.scss +5 -0
  218. package/dist/src/shared/__style__/configurator/_configurator.scss +140 -0
  219. package/dist/src/shared/__style__/main-external.scss +59 -0
  220. package/dist/src/shared/__style__/main.module.scss +59 -0
  221. package/dist/src/shared/__style__/main.scss +59 -0
  222. 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 }; }