@wayke-se/components-react 5.1.0-beta.2 → 5.2.0-beta.0

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 (267) hide show
  1. package/README.md +476 -626
  2. package/dist/index.d.ts +2 -4317
  3. package/dist/index.js +786 -792
  4. package/dist/index.js.map +4 -4
  5. package/dist/index.mjs +783 -789
  6. package/dist/index.mjs.map +4 -4
  7. package/dist/types/src/@types/action.d.ts +3 -0
  8. package/dist/types/src/@types/codegen/types.d.ts +433 -0
  9. package/dist/types/src/@types/conversion.d.ts +45 -0
  10. package/dist/types/src/@types/filter.d.ts +5 -0
  11. package/dist/types/src/@types/market.d.ts +1 -0
  12. package/dist/types/src/@types/queryFilter.d.ts +5 -0
  13. package/dist/types/src/@types/search.d.ts +114 -0
  14. package/dist/types/src/@types/vehicle-properties.d.ts +29 -0
  15. package/dist/types/src/State/CentralStorage/CentralStorageContext.d.ts +5 -0
  16. package/dist/types/src/State/CentralStorage/CentralStorageProvider.d.ts +6 -0
  17. package/dist/types/src/State/CentralStorage/useCentralStorage.d.ts +6 -0
  18. package/dist/types/src/State/Path/PathContext.d.ts +8 -0
  19. package/dist/types/src/State/Path/PathProvider.d.ts +6 -0
  20. package/dist/types/src/State/Path/reducer.d.ts +14 -0
  21. package/dist/types/src/State/Path/usePath.d.ts +3 -0
  22. package/dist/types/src/State/RelatedSearch/RelatedSearchContext.d.ts +9 -0
  23. package/dist/types/src/State/RelatedSearch/RelatedSearchProvider.d.ts +9 -0
  24. package/dist/types/src/State/RelatedSearch/useRelatedSearch.d.ts +2 -0
  25. package/dist/types/src/State/Search/SearchContext.d.ts +14 -0
  26. package/dist/types/src/State/Search/SearchProvider.d.ts +10 -0
  27. package/dist/types/src/State/Search/useSearch.d.ts +2 -0
  28. package/dist/types/src/State/Settings/SettingsContext.d.ts +12 -0
  29. package/dist/types/src/State/Settings/SettingsProvider.d.ts +11 -0
  30. package/dist/types/src/State/Settings/useSettings.d.ts +2 -0
  31. package/dist/types/src/components/AccessoryCard/index.d.ts +16 -0
  32. package/dist/types/src/components/AccessoryCard/wrapper.d.ts +54 -0
  33. package/dist/types/src/components/Accordion/index.d.ts +13 -0
  34. package/dist/types/src/components/Accordion/wrapper.d.ts +42 -0
  35. package/dist/types/src/components/ActionList/index.d.ts +17 -0
  36. package/dist/types/src/components/ActionList/toggle-item.d.ts +13 -0
  37. package/dist/types/src/components/Avatar/index.d.ts +7 -0
  38. package/dist/types/src/components/Avatar/wrapper.d.ts +9 -0
  39. package/dist/types/src/components/Badge/index.d.ts +7 -0
  40. package/dist/types/src/components/Badge/wrapper.d.ts +9 -0
  41. package/dist/types/src/components/Blockquote/index.d.ts +9 -0
  42. package/dist/types/src/components/Blockquote/wrapper.d.ts +23 -0
  43. package/dist/types/src/components/Button/index.d.ts +207 -0
  44. package/dist/types/src/components/CheckMarkList/index.d.ts +7 -0
  45. package/dist/types/src/components/CheckMarkList/wrapper.d.ts +14 -0
  46. package/dist/types/src/components/Checklist/index.d.ts +13 -0
  47. package/dist/types/src/components/Checklist/wrapper.d.ts +28 -0
  48. package/dist/types/src/components/ColorSelect/index.d.ts +14 -0
  49. package/dist/types/src/components/ColorSelect/wrapper.d.ts +29 -0
  50. package/dist/types/src/components/ColumnRow/index.d.ts +6 -0
  51. package/dist/types/src/components/Columns/index.d.ts +20 -0
  52. package/dist/types/src/components/Container/index.d.ts +6 -0
  53. package/dist/types/src/components/Container/wrapper.d.ts +3 -0
  54. package/dist/types/src/components/Content/index.d.ts +6 -0
  55. package/dist/types/src/components/Content/wrapper.d.ts +7 -0
  56. package/dist/types/src/components/ContentLogo/index.d.ts +9 -0
  57. package/dist/types/src/components/CreditorDisclaimer/index.d.ts +2 -0
  58. package/dist/types/src/components/CreditorDisclaimer/wrapper.d.ts +14 -0
  59. package/dist/types/src/components/DataList/index.d.ts +10 -0
  60. package/dist/types/src/components/DataList/wrapper.d.ts +14 -0
  61. package/dist/types/src/components/DetailBox/index.d.ts +8 -0
  62. package/dist/types/src/components/DetailBox/wrapper.d.ts +98 -0
  63. package/dist/types/src/components/DocumentList/index.d.ts +11 -0
  64. package/dist/types/src/components/DocumentList/wrapper.d.ts +25 -0
  65. package/dist/types/src/components/ExtendContent/index.d.ts +8 -0
  66. package/dist/types/src/components/ExtendContent/wrapper.d.ts +13 -0
  67. package/dist/types/src/components/ExtendInfo/index.d.ts +7 -0
  68. package/dist/types/src/components/ExtendInfo/wrapper.d.ts +38 -0
  69. package/dist/types/src/components/Filter/index.d.ts +9 -0
  70. package/dist/types/src/components/Filter/wrapper.d.ts +27 -0
  71. package/dist/types/src/components/FilterPanel/checkListFacet.d.ts +7 -0
  72. package/dist/types/src/components/FilterPanel/colorFacet.d.ts +7 -0
  73. package/dist/types/src/components/FilterPanel/faceSelector.d.ts +7 -0
  74. package/dist/types/src/components/FilterPanel/index.d.ts +20 -0
  75. package/dist/types/src/components/FilterPanel/rangeFacet.d.ts +9 -0
  76. package/dist/types/src/components/FinancialOptions/LoanModal.d.ts +12 -0
  77. package/dist/types/src/components/FinancialOptions/index.d.ts +11 -0
  78. package/dist/types/src/components/FinancialOptions/leasing.d.ts +7 -0
  79. package/dist/types/src/components/FinancialOptions/loan.d.ts +11 -0
  80. package/dist/types/src/components/Gallery/MediaButton.d.ts +7 -0
  81. package/dist/types/src/components/Gallery/index.d.ts +10 -0
  82. package/dist/types/src/components/Gallery/wrapper.d.ts +74 -0
  83. package/dist/types/src/components/Grid/index.d.ts +13 -0
  84. package/dist/types/src/components/Grid/wrapper.d.ts +9 -0
  85. package/dist/types/src/components/Heading/index.d.ts +145 -0
  86. package/dist/types/src/components/Icon/index.d.ts +17 -0
  87. package/dist/types/src/components/Image/index.d.ts +3 -0
  88. package/dist/types/src/components/InputCheckbox/index.d.ts +7 -0
  89. package/dist/types/src/components/InputCheckbox/wrapper.d.ts +31 -0
  90. package/dist/types/src/components/InputError/index.d.ts +7 -0
  91. package/dist/types/src/components/InputError/wrapper.d.ts +3 -0
  92. package/dist/types/src/components/InputGroup/index.d.ts +6 -0
  93. package/dist/types/src/components/InputLabel/index.d.ts +7 -0
  94. package/dist/types/src/components/InputLabel/wrapper.d.ts +5 -0
  95. package/dist/types/src/components/InputSearch/index.d.ts +11 -0
  96. package/dist/types/src/components/InputSearch/wrapper.d.ts +42 -0
  97. package/dist/types/src/components/InputSelect/index.d.ts +14 -0
  98. package/dist/types/src/components/InputSelect/wrapper.d.ts +14 -0
  99. package/dist/types/src/components/InputText/index.d.ts +7 -0
  100. package/dist/types/src/components/InputText/wrapper.d.ts +9 -0
  101. package/dist/types/src/components/InputTextarea/index.d.ts +7 -0
  102. package/dist/types/src/components/InputTextarea/wrapper.d.ts +8 -0
  103. package/dist/types/src/components/InsuranceOptions/Insurance.d.ts +9 -0
  104. package/dist/types/src/components/InsuranceOptions/InsuranceFree.d.ts +9 -0
  105. package/dist/types/src/components/InsuranceOptions/InsuranceFreeModal.d.ts +8 -0
  106. package/dist/types/src/components/InsuranceOptions/InsuranceModal.d.ts +10 -0
  107. package/dist/types/src/components/InsuranceOptions/index.d.ts +9 -0
  108. package/dist/types/src/components/LeadForm/index.d.ts +15 -0
  109. package/dist/types/src/components/LeadForm/wrapper.d.ts +3 -0
  110. package/dist/types/src/components/Lightbox/index.d.ts +9 -0
  111. package/dist/types/src/components/Lightbox/wrapper.d.ts +26 -0
  112. package/dist/types/src/components/Link/index.d.ts +9 -0
  113. package/dist/types/src/components/Loader/index.d.ts +7 -0
  114. package/dist/types/src/components/Loader/wrapper.d.ts +13 -0
  115. package/dist/types/src/components/LogoBox/index.d.ts +9 -0
  116. package/dist/types/src/components/LogoBox/wrapper.d.ts +7 -0
  117. package/dist/types/src/components/Map/index.d.ts +7 -0
  118. package/dist/types/src/components/Map/wrapper.d.ts +12 -0
  119. package/dist/types/src/components/Modal/index.d.ts +9 -0
  120. package/dist/types/src/components/Modal/wrapper.d.ts +51 -0
  121. package/dist/types/src/components/NavButton/index.d.ts +12 -0
  122. package/dist/types/src/components/OpeningHours/index.d.ts +7 -0
  123. package/dist/types/src/components/OptionBox/index.d.ts +9 -0
  124. package/dist/types/src/components/OptionBox/wrapper.d.ts +20 -0
  125. package/dist/types/src/components/OverflowBox/index.d.ts +6 -0
  126. package/dist/types/src/components/OverflowBox/wrapper.d.ts +3 -0
  127. package/dist/types/src/components/OverflowGrid/index.d.ts +12 -0
  128. package/dist/types/src/components/OverflowGrid/wrapper.d.ts +44 -0
  129. package/dist/types/src/components/Page/index.d.ts +12 -0
  130. package/dist/types/src/components/Panel/index.d.ts +10 -0
  131. package/dist/types/src/components/Panel/wrapper.d.ts +50 -0
  132. package/dist/types/src/components/PhoneNumber/index.d.ts +6 -0
  133. package/dist/types/src/components/Portal/index.d.ts +4 -0
  134. package/dist/types/src/components/Portal/portal-element.d.ts +6 -0
  135. package/dist/types/src/components/Portal/portal-namespace.d.ts +1 -0
  136. package/dist/types/src/components/Portal/portal.d.ts +7 -0
  137. package/dist/types/src/components/Price/index.d.ts +8 -0
  138. package/dist/types/src/components/PriceBox/index.d.ts +11 -0
  139. package/dist/types/src/components/PriceBox/wrapper.d.ts +18 -0
  140. package/dist/types/src/components/PriceTable/index.d.ts +7 -0
  141. package/dist/types/src/components/PriceTable/wrapper.d.ts +12 -0
  142. package/dist/types/src/components/ProductCard/index.d.ts +27 -0
  143. package/dist/types/src/components/ProductCard/wrapper.d.ts +62 -0
  144. package/dist/types/src/components/ProductPage/index.d.ts +22 -0
  145. package/dist/types/src/components/ProgressBar/index.d.ts +7 -0
  146. package/dist/types/src/components/ProgressBar/wrapper.d.ts +14 -0
  147. package/dist/types/src/components/RangeSlider/RangeSliderSimple.d.ts +13 -0
  148. package/dist/types/src/components/RangeSlider/SliderWithLabel.d.ts +13 -0
  149. package/dist/types/src/components/RangeSlider/handle.d.ts +9 -0
  150. package/dist/types/src/components/RangeSlider/index.d.ts +13 -0
  151. package/dist/types/src/components/RangeSlider/track.d.ts +9 -0
  152. package/dist/types/src/components/RangeSlider/wrapper.d.ts +22 -0
  153. package/dist/types/src/components/RangeSliderLabel/index.d.ts +8 -0
  154. package/dist/types/src/components/RangeSliderLabel/wrapper.d.ts +17 -0
  155. package/dist/types/src/components/Repeat/index.d.ts +9 -0
  156. package/dist/types/src/components/Result/index.d.ts +6 -0
  157. package/dist/types/src/components/Result/wrapper.d.ts +27 -0
  158. package/dist/types/src/components/Root/index.d.ts +6 -0
  159. package/dist/types/src/components/SearchBar/index.d.ts +8 -0
  160. package/dist/types/src/components/SearchFilter/index.d.ts +3 -0
  161. package/dist/types/src/components/SearchTerm/index.d.ts +8 -0
  162. package/dist/types/src/components/SearchTerm/wrapper.d.ts +20 -0
  163. package/dist/types/src/components/SectionHeader/index.d.ts +8 -0
  164. package/dist/types/src/components/SectionHeader/wrapper.d.ts +9 -0
  165. package/dist/types/src/components/Snackbar/index.d.ts +9 -0
  166. package/dist/types/src/components/Snackbar/wrapper.d.ts +21 -0
  167. package/dist/types/src/components/SortSelect/index.d.ts +14 -0
  168. package/dist/types/src/components/SortSelect/wrapper.d.ts +14 -0
  169. package/dist/types/src/components/Sphere/Sphere.d.ts +6 -0
  170. package/dist/types/src/components/Sphere/SphereLightbox.d.ts +6 -0
  171. package/dist/types/src/components/Sphere/SphereViewer.d.ts +9 -0
  172. package/dist/types/src/components/Sphere/wrapper.d.ts +5 -0
  173. package/dist/types/src/components/SrOnly/index.d.ts +3 -0
  174. package/dist/types/src/components/StateIndicator/index.d.ts +7 -0
  175. package/dist/types/src/components/SwitchBar/index.d.ts +10 -0
  176. package/dist/types/src/components/SwitchBar/wrapper.d.ts +46 -0
  177. package/dist/types/src/components/TableColumn/index.d.ts +9 -0
  178. package/dist/types/src/components/TableList/index.d.ts +18 -0
  179. package/dist/types/src/components/Tabs/index.d.ts +12 -0
  180. package/dist/types/src/components/Tabs/wrapper.d.ts +37 -0
  181. package/dist/types/src/components/ThreeSixty/Rotation.d.ts +6 -0
  182. package/dist/types/src/components/ThreeSixty/ThreeSixtLightbox.d.ts +6 -0
  183. package/dist/types/src/components/ThreeSixty/ThreeSixty.d.ts +9 -0
  184. package/dist/types/src/components/UspList/index.d.ts +11 -0
  185. package/dist/types/src/components/UspList/wrapper.d.ts +37 -0
  186. package/dist/types/src/components/Utility/index.d.ts +16 -0
  187. package/dist/types/src/components/Video/CustomPlayer.d.ts +10 -0
  188. package/dist/types/src/components/Video/EmbeddedVideoLightbox.d.ts +8 -0
  189. package/dist/types/src/components/Video/EmbededVideo.d.ts +8 -0
  190. package/dist/types/src/components/Video/QuickNavEmbeded.d.ts +7 -0
  191. package/dist/types/src/components/Video/QuickNavVideo.d.ts +7 -0
  192. package/dist/types/src/components/Video/Video.d.ts +8 -0
  193. package/dist/types/src/components/Video/VimeoPlayer.d.ts +7 -0
  194. package/dist/types/src/components/Video/YoutubePlayer.d.ts +7 -0
  195. package/dist/types/src/components/Video/useThumbnail.d.ts +2 -0
  196. package/dist/types/src/components/Video/utils.d.ts +9 -0
  197. package/dist/types/src/components/Video/wrapper.d.ts +13 -0
  198. package/dist/types/src/hooks/apolloTypes.d.ts +6 -0
  199. package/dist/types/src/hooks/useFetch.d.ts +7 -0
  200. package/dist/types/src/hooks/useHasBeenVisible.d.ts +2 -0
  201. package/dist/types/src/hooks/useHashGuid.d.ts +2 -0
  202. package/dist/types/src/hooks/useInitializeTranslation.d.ts +3 -0
  203. package/dist/types/src/hooks/useInsurance.d.ts +4 -0
  204. package/dist/types/src/hooks/useIsInViewport.d.ts +5 -0
  205. package/dist/types/src/hooks/useLoan.d.ts +4 -0
  206. package/dist/types/src/hooks/useOnScreen.d.ts +2 -0
  207. package/dist/types/src/hooks/useOutsideClick.d.ts +2 -0
  208. package/dist/types/src/hooks/usePrevious.d.ts +2 -0
  209. package/dist/types/src/hooks/useSearchItem.d.ts +4 -0
  210. package/dist/types/src/hooks/useSearchItemBranch.d.ts +4 -0
  211. package/dist/types/src/hooks/useSessionStorage.d.ts +7 -0
  212. package/dist/types/src/hooks/useSubmitLead.d.ts +29 -0
  213. package/dist/types/src/hooks/useVimeoThumbnail.d.ts +2 -0
  214. package/dist/types/src/index.d.ts +13 -0
  215. package/dist/types/src/layout/helpers.d.ts +1 -0
  216. package/dist/types/src/layout/keyframes.d.ts +3 -0
  217. package/dist/types/src/layout/theme.d.ts +49 -0
  218. package/dist/types/src/layouts/WaykeComposite.d.ts +12 -0
  219. package/dist/types/src/layouts/WaykeCompositeWithProvider.d.ts +9 -0
  220. package/dist/types/src/layouts/search/index.d.ts +19 -0
  221. package/dist/types/src/layouts/searchItem/Accessories/AccessoryModal.d.ts +8 -0
  222. package/dist/types/src/layouts/searchItem/Accessories/index.d.ts +7 -0
  223. package/dist/types/src/layouts/searchItem/Branch.d.ts +9 -0
  224. package/dist/types/src/layouts/searchItem/BranchModal.d.ts +9 -0
  225. package/dist/types/src/layouts/searchItem/CheckList.d.ts +21 -0
  226. package/dist/types/src/layouts/searchItem/DemoCarModal.d.ts +6 -0
  227. package/dist/types/src/layouts/searchItem/Documents.d.ts +7 -0
  228. package/dist/types/src/layouts/searchItem/ManufacturerPackagesOption.d.ts +7 -0
  229. package/dist/types/src/layouts/searchItem/MetadataItem.d.ts +10 -0
  230. package/dist/types/src/layouts/searchItem/PackageOptionModal.d.ts +17 -0
  231. package/dist/types/src/layouts/searchItem/PackageOptions.d.ts +7 -0
  232. package/dist/types/src/layouts/searchItem/Page404.d.ts +3 -0
  233. package/dist/types/src/layouts/searchItem/PageLoading.d.ts +3 -0
  234. package/dist/types/src/layouts/searchItem/Property.d.ts +8 -0
  235. package/dist/types/src/layouts/searchItem/Related.d.ts +11 -0
  236. package/dist/types/src/layouts/searchItem/index.d.ts +17 -0
  237. package/dist/types/src/layouts/searchItem/useEcom.d.ts +8 -0
  238. package/dist/types/src/providers/WaykeItemProvidet.d.ts +24 -0
  239. package/dist/types/src/providers/WaykeProvider.d.ts +26 -0
  240. package/dist/types/src/providers/graphqlProvider.d.ts +6 -0
  241. package/dist/types/src/providers/themeProvider.d.ts +6 -0
  242. package/dist/types/src/queries/INSURANCE_CALCULATION.d.ts +2 -0
  243. package/dist/types/src/queries/LOAN_CALCULATION.d.ts +2 -0
  244. package/dist/types/src/queries/SEARCH_ITEM_BRANCH_QUERY.d.ts +2 -0
  245. package/dist/types/src/queries/SEARCH_ITEM_QUERY.d.ts +2 -0
  246. package/dist/types/src/utils/I18n.d.ts +4 -0
  247. package/dist/types/src/utils/constants.d.ts +67 -0
  248. package/dist/types/src/utils/converters.d.ts +1 -0
  249. package/dist/types/src/utils/deep-copy.d.ts +5 -0
  250. package/dist/types/src/utils/formats.d.ts +8 -0
  251. package/dist/types/src/utils/phonenumbers.d.ts +1 -0
  252. package/dist/types/src/utils/pubsub/Actions.d.ts +16 -0
  253. package/dist/types/src/utils/pubsub/Events.d.ts +147 -0
  254. package/dist/types/src/utils/pubsub/pubsub.d.ts +44 -0
  255. package/dist/types/src/utils/regex.d.ts +3 -0
  256. package/dist/types/src/utils/sortOptions.d.ts +13 -0
  257. package/dist/types/src/utils/specification.d.ts +28 -0
  258. package/dist/types/src/utils/ssn.d.ts +1 -0
  259. package/dist/types/src/utils/url.d.ts +1 -0
  260. package/dist/types/src/utils/vehicle-properties/compare-basic-properties.d.ts +3 -0
  261. package/dist/types/src/utils/vehicle-properties/compare-categories.d.ts +3 -0
  262. package/dist/types/src/utils/vehicle-properties/compare-properties.d.ts +3 -0
  263. package/dist/types/src/utils/vehicle-properties/custom-property-adder.d.ts +13 -0
  264. package/dist/types/src/utils/vehicle-properties/property-remover.d.ts +7 -0
  265. package/dist/types/src/utils/vehicle-properties/property-tree-creator.d.ts +31 -0
  266. package/dist/types/src/utils/vehicle-properties/property-tree-sorter.d.ts +3 -0
  267. package/package.json +29 -26
@@ -0,0 +1,3 @@
1
+ export declare const noTransform: import("styled-components/dist/models/Keyframes").default;
2
+ export declare const fadeIn: import("styled-components/dist/models/Keyframes").default;
3
+ export declare const rotate: import("styled-components/dist/models/Keyframes").default;
@@ -0,0 +1,49 @@
1
+ declare const theme: {
2
+ color: {
3
+ bg: string;
4
+ link: string;
5
+ accent: string;
6
+ accentTransparent: string;
7
+ accentDark: string;
8
+ border: string;
9
+ textDark: string;
10
+ textDarkLighten: string;
11
+ textLight: string;
12
+ hoverOverlay: string;
13
+ disabledBg: string;
14
+ disabledText: string;
15
+ placeholder: string;
16
+ ui: {
17
+ positiveLight: string;
18
+ positive: string;
19
+ neutralLight: string;
20
+ neutral: string;
21
+ negativeLight: string;
22
+ negative: string;
23
+ infoLight: string;
24
+ };
25
+ };
26
+ breakpoint: {
27
+ Sm: string;
28
+ LtSm: string;
29
+ Md: string;
30
+ LtMd: string;
31
+ Lg: string;
32
+ LtLg: string;
33
+ };
34
+ mask: {
35
+ gradient: {
36
+ toTop: string;
37
+ toBottom: string;
38
+ toLeft: string;
39
+ toRight: string;
40
+ };
41
+ };
42
+ distances: {
43
+ baseUnit: string;
44
+ inputHeight: string;
45
+ containerMaxWidth: string;
46
+ };
47
+ };
48
+ export type Theme = typeof theme;
49
+ export default theme;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { WaykeSearchProps } from './search';
3
+ import { WaykeSearchItemProps } from './searchItem';
4
+ type WaykeCompositeBaseProps = Omit<WaykeSearchProps & WaykeSearchItemProps, 'id'>;
5
+ export type WaykeCompositeProps = Omit<WaykeCompositeBaseProps, 'hashRoute' | 'onClickSearchItem'> & {
6
+ /** @deprecated Has no effect. Hash routing is used unless `pathRoute` is set. */
7
+ hashRoute?: WaykeCompositeBaseProps['hashRoute'];
8
+ /** @deprecated Has no effect. Subscribe to the `ItemClicked` event with `WaykePubSub` instead. */
9
+ onClickSearchItem?: WaykeCompositeBaseProps['onClickSearchItem'];
10
+ };
11
+ declare const WaykeComposite: ({ marketCode, filterList, initialQueryParams, removeSearchBar, removeFilterOptions, disableResetScrollOnInit, placeholderImage, pathRoute, modifyDocumentTitleItem, modifyDocumentTitleSearch, displayBranchName, conversionOptions, }: WaykeCompositeProps) => React.JSX.Element | null;
12
+ export default WaykeComposite;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { WaykeProviderProps } from '../providers/WaykeProvider';
3
+ import { WaykeCompositeProps } from './WaykeComposite';
4
+ export interface WaykeCompositeWithProviderProps {
5
+ provider: WaykeProviderProps;
6
+ composite?: WaykeCompositeProps;
7
+ }
8
+ declare const WaykeCompositeWithProvider: ({ provider, composite }: WaykeCompositeWithProviderProps) => React.JSX.Element;
9
+ export default WaykeCompositeWithProvider;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { SearchFilterTypes } from '../../@types/filter';
3
+ import { MarketCode } from '../../@types/market';
4
+ import { OnItemClick } from '../../components/ProductCard';
5
+ export interface WaykeSearchProps {
6
+ marketCode?: MarketCode;
7
+ filterList?: SearchFilterTypes[];
8
+ initialQueryParams?: URLSearchParams | string;
9
+ removeSearchBar?: boolean;
10
+ removeFilterOptions?: boolean;
11
+ placeholderImage?: string;
12
+ hashRoute?: boolean;
13
+ pathRoute?: string;
14
+ modifyDocumentTitleSearch?: string;
15
+ displayBranchName?: boolean;
16
+ onClickSearchItem?: (data: OnItemClick) => void;
17
+ }
18
+ declare const WaykeSearch: ({ marketCode, filterList: _filterList, initialQueryParams, hashRoute, pathRoute, removeSearchBar, placeholderImage, removeFilterOptions, modifyDocumentTitleSearch, displayBranchName, onClickSearchItem, }: WaykeSearchProps) => React.JSX.Element | null;
19
+ export default WaykeSearch;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Accessory } from '../../../@types/codegen/types';
3
+ interface AccesoryModalProps {
4
+ accessory: Accessory;
5
+ onClose: () => void;
6
+ }
7
+ declare const AccesoryModal: ({ accessory, onClose }: AccesoryModalProps) => React.JSX.Element;
8
+ export default AccesoryModal;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { Accessory } from '../../../@types/codegen/types';
3
+ interface AccessoriesSectionProps {
4
+ accessories?: Accessory[];
5
+ }
6
+ declare const AccessoriesSection: ({ accessories }: AccessoriesSectionProps) => React.JSX.Element | null;
7
+ export default AccessoriesSection;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { Branch, Maybe } from '../../@types/codegen/types';
3
+ interface BranchProps {
4
+ branch?: Maybe<Branch>;
5
+ loading: boolean;
6
+ displayBranchName?: boolean;
7
+ }
8
+ declare const Branch: ({ branch, loading, displayBranchName }: BranchProps) => React.JSX.Element | null;
9
+ export default Branch;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { BranchConnection } from '../../@types/codegen/types';
3
+ interface BranchModalProps {
4
+ loading: boolean;
5
+ connections?: BranchConnection[];
6
+ onClose: () => void;
7
+ }
8
+ declare const BranchModal: ({ loading, connections, onClose }: BranchModalProps) => React.JSX.Element | null;
9
+ export default BranchModal;
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import { Branch, ContactOptions, Ecommerce, Manufacturer, PackageOption, VehicleData } from '../../@types/codegen/types';
3
+ import { ConversionOption } from '../../@types/conversion';
4
+ import { MarketCode } from '../../@types/market';
5
+ interface CheckList {
6
+ id: string;
7
+ title?: string | null;
8
+ vehicleData?: VehicleData | null;
9
+ conversionOptions?: ConversionOption[];
10
+ marketCode?: MarketCode;
11
+ manufacturer?: Manufacturer | null;
12
+ packageOptions: PackageOption[];
13
+ ecommerce?: Ecommerce | null;
14
+ branch?: Branch | null;
15
+ contact?: ContactOptions | null;
16
+ loadingCentralStorageVehicle: boolean;
17
+ availableFrom?: Date | null;
18
+ toggleEcomModal?: () => void;
19
+ }
20
+ declare const CheckList: ({ id, title, vehicleData, conversionOptions, marketCode, manufacturer, packageOptions, ecommerce, branch, contact, availableFrom, toggleEcomModal, loadingCentralStorageVehicle, }: CheckList) => React.JSX.Element;
21
+ export default CheckList;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface DemoCarModalProps {
3
+ onClose: () => void;
4
+ }
5
+ declare const DemoCarModal: ({ onClose }: DemoCarModalProps) => React.JSX.Element;
6
+ export default DemoCarModal;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { Scalars } from '../../@types/codegen/types';
3
+ interface DocumentsProps {
4
+ documents: Scalars['FileDocument']['input'][];
5
+ }
6
+ declare const Documents: ({ documents }: DocumentsProps) => React.JSX.Element | null;
7
+ export default Documents;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { Maybe, PackageOption } from '../../@types/codegen/types';
3
+ interface ManufacturerPackageOption {
4
+ packageOption?: Maybe<PackageOption>;
5
+ }
6
+ declare const ManufacturerPackageOption: ({ packageOption }: ManufacturerPackageOption) => React.JSX.Element | null;
7
+ export default ManufacturerPackageOption;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { Property } from '../../@types/vehicle-properties';
3
+ interface MetadataItemProps {
4
+ name: string;
5
+ hint?: string | null | undefined;
6
+ value: Property['value'];
7
+ unit: Property['unit'];
8
+ }
9
+ declare const MetadataItem: ({ name, hint, value, unit }: MetadataItemProps) => React.JSX.Element;
10
+ export default MetadataItem;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ interface ModelLink {
3
+ url?: string | null;
4
+ title?: string | null;
5
+ }
6
+ export interface PackageOptionModalData {
7
+ title?: string | null;
8
+ image?: string | null;
9
+ description?: string | null;
10
+ link?: ModelLink | null;
11
+ }
12
+ interface PackageOptionsModalProps {
13
+ packageOption: PackageOptionModalData;
14
+ onClose: () => void;
15
+ }
16
+ declare const PackageOptionModal: ({ packageOption, onClose }: PackageOptionsModalProps) => React.JSX.Element;
17
+ export default PackageOptionModal;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { PackageOption } from '../../@types/codegen/types';
3
+ interface PackageOptionsProps {
4
+ packageOptions?: PackageOption[] | null;
5
+ }
6
+ declare const PackageOptions: ({ packageOptions }: PackageOptionsProps) => React.JSX.Element | null;
7
+ export default PackageOptions;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const Page404: () => React.JSX.Element;
3
+ export default Page404;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const PageLoading: () => React.JSX.Element;
3
+ export default PageLoading;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { VehicleData } from '../../@types/codegen/types';
3
+ interface PropertySetProps {
4
+ propertySet: any;
5
+ vehicleData: VehicleData;
6
+ }
7
+ declare const PropertySet: ({ propertySet, vehicleData }: PropertySetProps) => React.JSX.Element;
8
+ export default PropertySet;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface RelatedProps {
3
+ id: string;
4
+ hashRoute?: boolean;
5
+ pathRoute?: string;
6
+ authorizedReseller?: boolean;
7
+ displayBranchName?: boolean;
8
+ onClickSearchItem?: (id: string) => void;
9
+ }
10
+ declare const Related: ({ id, hashRoute, pathRoute, authorizedReseller, displayBranchName, onClickSearchItem, }: RelatedProps) => React.JSX.Element | null;
11
+ export default Related;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { ConversionOption } from '../../@types/conversion';
3
+ import { MarketCode } from '../../@types/market';
4
+ export interface WaykeSearchItemProps {
5
+ marketCode?: MarketCode;
6
+ id: string;
7
+ hashRoute?: boolean;
8
+ pathRoute?: string;
9
+ disableResetScrollOnInit?: boolean;
10
+ placeholderImage?: string;
11
+ modifyDocumentTitleItem?: boolean;
12
+ displayBranchName?: boolean;
13
+ conversionOptions?: ConversionOption[];
14
+ onClickSearchItem?: (id: string) => void;
15
+ }
16
+ declare const WaykeSearchItem: ({ marketCode, id, hashRoute, pathRoute, disableResetScrollOnInit, placeholderImage, modifyDocumentTitleItem, displayBranchName, conversionOptions, onClickSearchItem, }: WaykeSearchItemProps) => React.JSX.Element | null;
17
+ export default WaykeSearchItem;
@@ -0,0 +1,8 @@
1
+ import { Branch, Maybe } from '../../@types/codegen/types';
2
+ import { SettingsContextProps } from '../../State/Settings/SettingsContext';
3
+ interface EcomWeb {
4
+ start: () => void;
5
+ destroy: () => void;
6
+ }
7
+ declare function useEcom(id: string, ecomSettings: SettingsContextProps['ecomSettings'], branch?: Maybe<Branch>): import("react").RefObject<EcomWeb | undefined>;
8
+ export default useEcom;
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ export interface EcomSettings {
3
+ url: string;
4
+ /** @deprecated Not used since 3.0.0. Will be removed in the next major version. */
5
+ useBankId?: boolean;
6
+ /** @deprecated Not used since 3.0.0. Will be removed in the next major version. */
7
+ displayBankIdAlert?: boolean;
8
+ serviceLogotypeUrl?: string;
9
+ bankIdThumbprint?: string;
10
+ }
11
+ export interface WaykeItemProviderSettings {
12
+ url: string;
13
+ urlMlt?: string;
14
+ graphQlUrl: string;
15
+ apiKey?: string;
16
+ ecomSettings?: EcomSettings;
17
+ googleMapsApiKey?: string;
18
+ googleMapsMarker?: string;
19
+ }
20
+ export type WaykeItemProviderProps = WaykeItemProviderSettings & {
21
+ children?: React.ReactNode;
22
+ };
23
+ declare const WaykeItemProvider: ({ url, urlMlt, apiKey, ecomSettings, graphQlUrl, googleMapsApiKey, googleMapsMarker, children, }: WaykeItemProviderProps) => React.JSX.Element;
24
+ export default WaykeItemProvider;
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ export interface EcomSettings {
3
+ url: string;
4
+ /** @deprecated Not used since 3.0.0. Will be removed in the next major version. */
5
+ useBankId?: boolean;
6
+ /** @deprecated Not used since 3.0.0. Will be removed in the next major version. */
7
+ displayBankIdAlert?: boolean;
8
+ serviceLogotypeUrl?: string;
9
+ bankIdThumbprint?: string;
10
+ }
11
+ export interface WaykeProviderSettings {
12
+ url: string;
13
+ urlMlt?: string;
14
+ apiKey?: string;
15
+ graphQlUrl: string;
16
+ ecomSettings?: EcomSettings;
17
+ googleMapsApiKey?: string;
18
+ googleMapsMarker?: string;
19
+ useQueryParamsFromUrl?: boolean;
20
+ pathRoute?: string;
21
+ }
22
+ export type WaykeProviderProps = WaykeProviderSettings & {
23
+ children?: React.ReactNode;
24
+ };
25
+ declare const WaykeProvider: ({ url, urlMlt, apiKey, ecomSettings, graphQlUrl, googleMapsApiKey, googleMapsMarker, useQueryParamsFromUrl, pathRoute, children, }: WaykeProviderProps) => React.JSX.Element;
26
+ export default WaykeProvider;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ declare const GraphqlProvider: ({ uri, children }: {
3
+ uri: string;
4
+ children: React.ReactNode;
5
+ }) => React.JSX.Element;
6
+ export default GraphqlProvider;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface ThemeProps {
3
+ children: React.ReactNode;
4
+ }
5
+ declare const ThemeProvider: ({ children }: ThemeProps) => React.JSX.Element;
6
+ export default ThemeProvider;
@@ -0,0 +1,2 @@
1
+ declare const INSURANCE_CALCULATION: import("graphql").DocumentNode;
2
+ export default INSURANCE_CALCULATION;
@@ -0,0 +1,2 @@
1
+ declare const LOAN_CALCULATION: import("graphql").DocumentNode;
2
+ export default LOAN_CALCULATION;
@@ -0,0 +1,2 @@
1
+ declare const SEARCH_ITEM_BRANCH_QUERY: import("graphql").DocumentNode;
2
+ export default SEARCH_ITEM_BRANCH_QUERY;
@@ -0,0 +1,2 @@
1
+ declare const SEARCH_ITEM_QUERY: import("graphql").DocumentNode;
2
+ export default SEARCH_ITEM_QUERY;
@@ -0,0 +1,4 @@
1
+ import { i18n as I18nInstance } from 'i18next';
2
+ import { MarketCode } from '../@types/market';
3
+ export declare const i18nScoped: I18nInstance;
4
+ export declare const initializeI18n: (marketCode?: MarketCode) => Promise<unknown>;