@riosst100/pwa-marketplace 2.0.8 → 2.0.9

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 (716) hide show
  1. package/.github/workflows/dependabot.yml +28 -28
  2. package/i18n/en_US.json +508 -509
  3. package/i18n/id_ID.json +508 -509
  4. package/package.json +18 -22
  5. package/src/componentOverrideMapping.js +1 -50
  6. package/src/components/BecomeSeller/becomeSeller.js +178 -304
  7. package/src/components/BecomeSeller/becomeSeller.module.css +4 -4
  8. package/src/components/BecomeSellerLink/becomeSellerLink.js +1 -1
  9. package/src/components/BecomeSellerLink/becomeSellerLink.module.css +4 -0
  10. package/src/components/BecomeSellerPage/becomeSellerPage.js +1 -2
  11. package/src/components/BecomeSellerPage/becomeSellerPage.module.css +10 -2
  12. package/src/components/Filter/index.js +2 -2
  13. package/src/components/Header/becomeSellerLink.module.css +4 -0
  14. package/src/components/Header/websiteSwitcher.js +1 -0
  15. package/src/components/Header/websiteSwitcher.module.css +111 -107
  16. package/src/components/Header/websiteSwitcher.shimmer.js +6 -6
  17. package/src/components/Header/websiteSwitcherItem.js +47 -47
  18. package/src/components/Header/websiteSwitcherItem.module.css +20 -20
  19. package/src/components/OperatingHours/operatingHours.js +9 -7
  20. package/src/components/Pagination/index.js +33 -31
  21. package/src/components/PhoneTextInput/index.js +1 -1
  22. package/src/components/PhoneTextInput/phoneTextInput.js +62 -62
  23. package/src/components/ProductItem/index.js +1 -1
  24. package/src/components/SellerCountry/index.js +1 -1
  25. package/src/components/SellerCountry/sellerCountry.js +71 -71
  26. package/src/components/SellerCountry/sellerCountry.module.css +3 -3
  27. package/src/components/SellerDetail/sellerDetail.js +27 -47
  28. package/src/components/SellerInformation/sellerInformation.js +10 -11
  29. package/src/components/SellerLocation/sellerLocation.js +2 -2
  30. package/src/components/SellerLocation/sellerLocationItem.js +3 -3
  31. package/src/components/SellerProducts/sellerProducts.js +2 -2
  32. package/src/components/SellerReview/sellerReview.js +26 -34
  33. package/src/components/SellerReviewItem/sellerReviewItem.js +25 -110
  34. package/src/components/SellerVerification/sellerVerification.module.css +1 -1
  35. package/src/components/SortBy/index.js +2 -2
  36. package/src/components/WebsiteSwitcher/websiteSwitcher.js +6 -18
  37. package/src/components/WebsiteSwitcher/websiteSwitcher.module.css +111 -107
  38. package/src/components/WebsiteSwitcher/websiteSwitcher.shimmer.js +6 -6
  39. package/src/components/WebsiteSwitcher/websiteSwitcherItem.js +47 -47
  40. package/src/components/WebsiteSwitcher/websiteSwitcherItem.module.css +20 -20
  41. package/src/components/commons/Tabs/index.js +2 -2
  42. package/src/intercept.js +27 -87
  43. package/src/overwrites/venia-ui/lib/components/Adapter/adapter.js +0 -3
  44. package/src/overwrites/venia-ui/lib/components/Header/header.js +13 -51
  45. package/src/overwrites/venia-ui/lib/components/Header/storeSwitcher.js +8 -22
  46. package/src/overwrites/venia-ui/lib/components/MegaMenu/megaMenu.js +1 -2
  47. package/src/overwrites/venia-ui/lib/components/MegaMenu/megaMenuItem.js +5 -11
  48. package/src/overwrites/venia-ui/lib/components/MegaMenu/submenu.js +23 -82
  49. package/src/overwrites/venia-ui/lib/components/MegaMenu/submenu.module.css +11 -17
  50. package/src/overwrites/venia-ui/lib/components/MegaMenu/submenuColumn.js +12 -65
  51. package/src/overwrites/venia-ui/lib/components/MegaMenu/submenuColumn.module.css +6 -11
  52. package/src/overwrites/venia-ui/lib/components/SearchBar/autocomplete.js +1 -5
  53. package/src/overwrites/venia-ui/lib/components/SearchBar/autocomplete.module.css +7 -6
  54. package/src/overwrites/venia-ui/lib/components/SearchBar/searchBar.js +1 -26
  55. package/src/overwrites/venia-ui/lib/components/SearchBar/searchBar.module.css +3 -1
  56. package/src/overwrites/venia-ui/lib/components/SearchBar/searchField.js +3 -14
  57. package/src/overwrites/venia-ui/lib/components/SearchBar/suggestions.module.css +1 -1
  58. package/src/talons/Header/websiteSwitcher.gql.js +45 -45
  59. package/src/talons/Seller/seller.gql.js +36 -0
  60. package/src/talons/WebsiteSwitcher/websiteSwitcher.gql.js +45 -45
  61. package/src/theme/vars.js +0 -16
  62. package/src/components/AccountLayout/accountlayout.module.css +0 -13
  63. package/src/components/AccountLayout/index.js +0 -194
  64. package/src/components/AlphaFilter/alphaFilter.js +0 -103
  65. package/src/components/AlphaFilter/alphaFilter.module.css +0 -38
  66. package/src/components/AlphaFilter/alphaFilter.shimmer.js +0 -50
  67. package/src/components/AlphaFilter/index.js +0 -2
  68. package/src/components/ArraySearchInput/arraySearchInput.js +0 -100
  69. package/src/components/ArraySearchInput/arraySearchInput.module.css +0 -48
  70. package/src/components/ArraySearchInput/index.js +0 -1
  71. package/src/components/AttributesBlock/attributesBlock.js +0 -54
  72. package/src/components/AttributesBlock/attributesBlock.module.css +0 -28
  73. package/src/components/BrandLandingPage/brandInfo.js +0 -93
  74. package/src/components/BrandLandingPage/brandLanding.js +0 -255
  75. package/src/components/BrandLandingPage/index.js +0 -94
  76. package/src/components/BrandLandingPage/menu.js +0 -20
  77. package/src/components/BrandListPage/banner_brands.png +0 -0
  78. package/src/components/BrandListPage/brandList.js +0 -88
  79. package/src/components/BrandListPage/index.js +0 -57
  80. package/src/components/BrandSlider/brandSlider.js +0 -91
  81. package/src/components/BrandSlider/index.js +0 -1
  82. package/src/components/BrandSlider/item.js +0 -61
  83. package/src/components/CollectibleGameSets/collectibleGameSets.js +0 -252
  84. package/src/components/CollectibleGameSets/collectibleGameSets.module.css +0 -69
  85. package/src/components/CollectibleGameSets/collectibleGameSets.shimmer.js +0 -50
  86. package/src/components/CollectibleGameSets/index.js +0 -2
  87. package/src/components/CollectibleGameSetsPage/collectibleGameSetsPage.js +0 -10
  88. package/src/components/CollectibleGameSetsPage/index.js +0 -1
  89. package/src/components/CrossSeller/crossSellerBuy.js +0 -19
  90. package/src/components/CrossSeller/index.js +0 -15
  91. package/src/components/CrossSeller/item.js +0 -79
  92. package/src/components/CrossSeller/logo_seller.png +0 -0
  93. package/src/components/CrossSeller/starIcon.js +0 -11
  94. package/src/components/CrossSeller/verifyIcon.js +0 -12
  95. package/src/components/CurrencySwitcher/currencySwitcher.himmer.js +0 -6
  96. package/src/components/CurrencySwitcher/currencySwitcher.module.css +0 -102
  97. package/src/components/CurrencySwitcher/index.js +0 -107
  98. package/src/components/CurrencySwitcher/switcherItem.js +0 -47
  99. package/src/components/CurrencySwitcher/switcherItem.module.css +0 -20
  100. package/src/components/CustomSortBy/customSortBy.js +0 -196
  101. package/src/components/CustomSortBy/customSortBy.module.css +0 -68
  102. package/src/components/CustomSortBy/customSortItem.js +0 -57
  103. package/src/components/CustomSortBy/customSortItem.module.css +0 -23
  104. package/src/components/CustomSortBy/index.js +0 -1
  105. package/src/components/CustomSortBy/productSort.module.css +0 -65
  106. package/src/components/CustomSortBy/productSort.shimmer.js +0 -28
  107. package/src/components/CustomSortBy/productSort.shimmer.module.css +0 -10
  108. package/src/components/CustomSubCategory/subCategory.js +0 -36
  109. package/src/components/CustomSubCategory/subCategory.module.css +0 -22
  110. package/src/components/CustomSubCategoryPage/subCategoryPage.js +0 -136
  111. package/src/components/CustomSubCategoryPage/subCategoryPage.module.css +0 -46
  112. package/src/components/Divider/index.js +0 -11
  113. package/src/components/Dropdown/dropdown.js +0 -80
  114. package/src/components/Dropdown/index.js +0 -10
  115. package/src/components/FavoriteSeller/favoriteSeller.js +0 -32
  116. package/src/components/FavoriteSeller/index.js +0 -14
  117. package/src/components/FavoriteSeller/item.js +0 -140
  118. package/src/components/FilterOption/FilterOptionModal.module.css +0 -90
  119. package/src/components/FilterOption/filterOptionModal.js +0 -48
  120. package/src/components/FilterOptionModal/filterOptionModal.js +0 -66
  121. package/src/components/FilterTop/CurrentTopFilters/currentTopFilter.js +0 -47
  122. package/src/components/FilterTop/CurrentTopFilters/currentTopFilter.module.css +0 -22
  123. package/src/components/FilterTop/CurrentTopFilters/currentTopFilters.js +0 -50
  124. package/src/components/FilterTop/CurrentTopFilters/currentTopFilters.module.css +0 -21
  125. package/src/components/FilterTop/CurrentTopFilters/index.js +0 -1
  126. package/src/components/FilterTop/CustomFilters/customFilter.js +0 -83
  127. package/src/components/FilterTop/CustomFilters/customFilter.module.css +0 -22
  128. package/src/components/FilterTop/CustomFilters/customFilters.js +0 -132
  129. package/src/components/FilterTop/CustomFilters/customFilters.module.css +0 -23
  130. package/src/components/FilterTop/CustomFilters/index.js +0 -1
  131. package/src/components/FilterTop/FilterBlockList/filterBlockList.js +0 -56
  132. package/src/components/FilterTop/FilterBlockList/filterBlockList.module.css +0 -8
  133. package/src/components/FilterTop/FilterBlockList/filterTopItem.js +0 -79
  134. package/src/components/FilterTop/FilterBlockList/filterTopItem.module.css +0 -14
  135. package/src/components/FilterTop/FilterBlockList/filterTopItemGroup.js +0 -95
  136. package/src/components/FilterTop/FilterBlockList/filterTopItemGroup.module.css +0 -23
  137. package/src/components/FilterTop/FilterBlockList/index.js +0 -1
  138. package/src/components/FilterTop/filterTop.js +0 -176
  139. package/src/components/FilterTop/filterTop.module.css +0 -23
  140. package/src/components/FilterTop/filterTop.shimmer.js +0 -24
  141. package/src/components/FilterTop/filterTopBlock.js +0 -60
  142. package/src/components/FilterTop/index.js +0 -2
  143. package/src/components/FilterTopBackup/CustomFilters/customFilter.js +0 -83
  144. package/src/components/FilterTopBackup/CustomFilters/customFilter.module.css +0 -22
  145. package/src/components/FilterTopBackup/CustomFilters/customFilters.js +0 -133
  146. package/src/components/FilterTopBackup/CustomFilters/customFilters.module.css +0 -23
  147. package/src/components/FilterTopBackup/CustomFilters/index.js +0 -1
  148. package/src/components/FilterTopBackup/filterTop.js +0 -14
  149. package/src/components/FilterTopBackup/filterTop.module.css +0 -23
  150. package/src/components/FilterTopBackup/filterTop.shimmer.js +0 -24
  151. package/src/components/FilterTopBackup/index.js +0 -2
  152. package/src/components/LegoSets/index.js +0 -2
  153. package/src/components/LegoSets/legoSets.js +0 -327
  154. package/src/components/LegoSets/legoSets.module.css +0 -76
  155. package/src/components/LegoSets/legoSets.shimmer.js +0 -50
  156. package/src/components/LiveChat/chatContent.js +0 -39
  157. package/src/components/LiveChat/index.js +0 -52
  158. package/src/components/LiveChat/liveChat.js +0 -160
  159. package/src/components/MegaMenu/customMenuItems.js +0 -138
  160. package/src/components/MegaMenu/customMenuItems.module.css +0 -31
  161. package/src/components/MiniatureGameSets/index.js +0 -2
  162. package/src/components/MiniatureGameSets/miniatureGameSets.js +0 -297
  163. package/src/components/MiniatureGameSets/miniatureGameSets.module.css +0 -76
  164. package/src/components/MiniatureGameSets/miniatureGameSets.shimmer.js +0 -50
  165. package/src/components/Modal/index.js +0 -10
  166. package/src/components/Modal/modal.js +0 -48
  167. package/src/components/MtgSinglesPage/index.js +0 -62
  168. package/src/components/MtgSinglesPage/mtgSingles.js +0 -90
  169. package/src/components/MtgSinglesPage/singles.module.css +0 -15
  170. package/src/components/NonSportCardsSets/index.js +0 -2
  171. package/src/components/NonSportCardsSets/nonSportCardsSets.js +0 -270
  172. package/src/components/NonSportCardsSets/nonSportCardsSets.module.css +0 -76
  173. package/src/components/NonSportCardsSets/nonSportCardsSets.shimmer.js +0 -50
  174. package/src/components/ProductLabel/index.js +0 -47
  175. package/src/components/ProductLineSlider/index.js +0 -1
  176. package/src/components/ProductLineSlider/item.js +0 -38
  177. package/src/components/ProductLineSlider/logo_nendoroid.png +0 -0
  178. package/src/components/ProductLineSlider/nendroid-image.png +0 -0
  179. package/src/components/ProductLineSlider/productLineSlider.js +0 -91
  180. package/src/components/ProductListTab/index.js +0 -4
  181. package/src/components/ProductListTab/productListTab.js +0 -100
  182. package/src/components/ProductListTab/productListTab.module.css +0 -64
  183. package/src/components/ProductListTab/productListTab.shimmer.js +0 -24
  184. package/src/components/RFQ/index.js +0 -39
  185. package/src/components/RFQ/modalRfq.js +0 -249
  186. package/src/components/RFQPage/index.js +0 -14
  187. package/src/components/RFQPage/orderRow.js +0 -318
  188. package/src/components/RFQPage/quoteDetail.js +0 -342
  189. package/src/components/RFQPage/quoteDetailPage.js +0 -14
  190. package/src/components/RFQPage/quoteList.js +0 -227
  191. package/src/components/RelatedProduct/index.js +0 -16
  192. package/src/components/RelatedProduct/relatedProduct.js +0 -112
  193. package/src/components/RelatedProduct/sample.json +0 -154
  194. package/src/components/ShopBy/index.js +0 -2
  195. package/src/components/ShopBy/shopBy copy.js +0 -172
  196. package/src/components/ShopBy/shopBy.js +0 -435
  197. package/src/components/ShopBy/shopBy.module.css +0 -76
  198. package/src/components/ShopBy/shopBy.shimmer.js +0 -50
  199. package/src/components/ShopByBrands/index.js +0 -2
  200. package/src/components/ShopByBrands/legoSets.shimmer.js +0 -50
  201. package/src/components/ShopByBrands/shopByBrands.js +0 -327
  202. package/src/components/ShopByBrands/shopByBrands.module.css +0 -76
  203. package/src/components/ShopByBrands/shopByBrands.shimmer.js +0 -50
  204. package/src/components/ShopByCard/index.js +0 -2
  205. package/src/components/ShopByCard/shopByCard.js +0 -277
  206. package/src/components/ShopByCard/shopByCard.module.css +0 -76
  207. package/src/components/ShopByCard/shopByCard.shimmer.js +0 -50
  208. package/src/components/ShopByCategory/index.js +0 -2
  209. package/src/components/ShopByCategory/shopByCategory.js +0 -69
  210. package/src/components/ShopByCategory/shopByCategory.module.css +0 -58
  211. package/src/components/ShopByCategory/shopByCategory.shimmer.js +0 -24
  212. package/src/components/ShopByFilters/index.js +0 -1
  213. package/src/components/ShopByFilters/shopByFilters.js +0 -74
  214. package/src/components/ShopByFilters/shopByFilters.module.css +0 -21
  215. package/src/components/ShopByPage/index.js +0 -1
  216. package/src/components/ShopByPage/shopByPage.js +0 -12
  217. package/src/components/ShopBySets/index.js +0 -2
  218. package/src/components/ShopBySets/shopBySets.js +0 -288
  219. package/src/components/ShopBySets/shopBySets.module.css +0 -76
  220. package/src/components/ShopBySets/shopBySets.shimmer.js +0 -50
  221. package/src/components/ShopByVehicles/index.js +0 -2
  222. package/src/components/ShopByVehicles/shopByVehicles.js +0 -327
  223. package/src/components/ShopByVehicles/shopByVehicles.module.css +0 -76
  224. package/src/components/ShopByVehicles/shopByVehicles.shimmer.js +0 -50
  225. package/src/components/SocialLogin/img/facebook.svg +0 -3
  226. package/src/components/SocialLogin/img/google.svg +0 -6
  227. package/src/components/SocialLogin/img/instagram.svg +0 -27
  228. package/src/components/SocialLogin/img/wechat.svg +0 -15
  229. package/src/components/SocialLogin/img/weibo.svg +0 -7
  230. package/src/components/SocialLogin/index.js +0 -10
  231. package/src/components/SocialLogin/socialLogin.js +0 -70
  232. package/src/components/SocialMediaShare/index.js +0 -51
  233. package/src/components/SocialMediaShare/share.js +0 -94
  234. package/src/components/SportCardsSets/index.js +0 -2
  235. package/src/components/SportCardsSets/sportCardsSets.js +0 -363
  236. package/src/components/SportCardsSets/sportCardsSets.module.css +0 -76
  237. package/src/components/SportCardsSets/sportCardsSets.shimmer.js +0 -50
  238. package/src/components/SubCategory/customSubCategory.js +0 -45
  239. package/src/components/SubCategory/customSubCategory.module.css +0 -22
  240. package/src/components/SubCategory/subCategory.js +0 -49
  241. package/src/components/SubCategory/subCategory.module.css +0 -22
  242. package/src/components/TrainsSets/index.js +0 -2
  243. package/src/components/TrainsSets/trainsSets.js +0 -331
  244. package/src/components/TrainsSets/trainsSets.module.css +0 -76
  245. package/src/components/TrainsSets/trainsSets.shimmer.js +0 -49
  246. package/src/hooks/useCustomSort.js +0 -21
  247. package/src/overwrites/pagebuilder/lib/ContentTypes/Products/Carousel/__fixtures__/apolloMocks.js +0 -33
  248. package/src/overwrites/pagebuilder/lib/ContentTypes/Products/Carousel/carousel.gql.ce.js +0 -16
  249. package/src/overwrites/pagebuilder/lib/ContentTypes/Products/Carousel/carousel.gql.ee.js +0 -17
  250. package/src/overwrites/pagebuilder/lib/ContentTypes/Products/Carousel/carousel.js +0 -38
  251. package/src/overwrites/pagebuilder/lib/ContentTypes/Products/Carousel/index.js +0 -1
  252. package/src/overwrites/pagebuilder/lib/ContentTypes/Products/Carousel/useCarousel.js +0 -25
  253. package/src/overwrites/pagebuilder/lib/ContentTypes/Products/configAggregator.js +0 -26
  254. package/src/overwrites/pagebuilder/lib/ContentTypes/Products/index.js +0 -1
  255. package/src/overwrites/pagebuilder/lib/ContentTypes/Products/products.js +0 -369
  256. package/src/overwrites/pagebuilder/lib/ContentTypes/Products/products.module.css +0 -0
  257. package/src/overwrites/pagebuilder/lib/ContentTypes/Slider/banner.module.css +0 -103
  258. package/src/overwrites/pagebuilder/lib/ContentTypes/Slider/configAggregator.js +0 -17
  259. package/src/overwrites/pagebuilder/lib/ContentTypes/Slider/index.js +0 -2
  260. package/src/overwrites/pagebuilder/lib/ContentTypes/Slider/slider.js +0 -221
  261. package/src/overwrites/pagebuilder/lib/ContentTypes/Slider/slider.module.css +0 -231
  262. package/src/overwrites/pagebuilder/lib/ContentTypes/Slider/slider.shimmer.js +0 -126
  263. package/src/overwrites/pagebuilder/lib/ContentTypes/Slider/slider.shimmer.module.css +0 -5
  264. package/src/overwrites/pagebuilder/lib/utils.js +0 -224
  265. package/src/overwrites/peregrine/lib/talons/Breadcrumbs/useBreadcrumbs.js +0 -100
  266. package/src/overwrites/peregrine/lib/talons/FilterModal/useFilterList.js +0 -62
  267. package/src/overwrites/peregrine/lib/talons/FilterSidebar/useFilterSidebar.js +0 -312
  268. package/src/overwrites/peregrine/lib/talons/MegaMenu/megaMenu.gql.js +0 -96
  269. package/src/overwrites/peregrine/lib/talons/MegaMenu/useMegaMenu.js +0 -199
  270. package/src/overwrites/peregrine/lib/talons/MegaMenu/useMegaMenuItem.js +0 -66
  271. package/src/overwrites/peregrine/lib/talons/MegaMenu/useSubMenu.js +0 -20
  272. package/src/overwrites/peregrine/lib/talons/ProductFullDetail/useProductFullDetail.js +0 -642
  273. package/src/overwrites/peregrine/lib/talons/RootComponents/Category/category.gql.js +0 -49
  274. package/src/overwrites/peregrine/lib/talons/RootComponents/Category/categoryContent.gql.js +0 -98
  275. package/src/overwrites/peregrine/lib/talons/RootComponents/Category/categoryFragments.gql.js +0 -90
  276. package/src/overwrites/peregrine/lib/talons/RootComponents/Category/useCategory.js +0 -234
  277. package/src/overwrites/peregrine/lib/talons/RootComponents/Category/useCategoryContent.js +0 -192
  278. package/src/overwrites/peregrine/lib/talons/RootComponents/Product/product.gql.js +0 -31
  279. package/src/overwrites/peregrine/lib/talons/RootComponents/Product/productDetailFragment.gql.js +0 -235
  280. package/src/overwrites/venia-ui/lib/RootComponents/CMS/cms.js +0 -73
  281. package/src/overwrites/venia-ui/lib/RootComponents/CMS/cms.module.css +0 -25
  282. package/src/overwrites/venia-ui/lib/RootComponents/CMS/cms.shimmer.js +0 -18
  283. package/src/overwrites/venia-ui/lib/RootComponents/CMS/index.js +0 -7
  284. package/src/overwrites/venia-ui/lib/RootComponents/Category/NoProductsFound/index.js +0 -1
  285. package/src/overwrites/venia-ui/lib/RootComponents/Category/NoProductsFound/noProductsFound.js +0 -64
  286. package/src/overwrites/venia-ui/lib/RootComponents/Category/NoProductsFound/noProductsFound.module.css +0 -39
  287. package/src/overwrites/venia-ui/lib/RootComponents/Category/NoProductsFound/noProductsFound.png +0 -0
  288. package/src/overwrites/venia-ui/lib/RootComponents/Category/category.gql.js +0 -17
  289. package/src/overwrites/venia-ui/lib/RootComponents/Category/category.js +0 -142
  290. package/src/overwrites/venia-ui/lib/RootComponents/Category/category.module.css +0 -78
  291. package/src/overwrites/venia-ui/lib/RootComponents/Category/categoryContent.js +0 -383
  292. package/src/overwrites/venia-ui/lib/RootComponents/Category/categoryContent.shimmer.js +0 -74
  293. package/src/overwrites/venia-ui/lib/RootComponents/Category/images/001.jpg +0 -0
  294. package/src/overwrites/venia-ui/lib/RootComponents/Category/images/002.jpg +0 -0
  295. package/src/overwrites/venia-ui/lib/RootComponents/Category/images/003.jpg +0 -0
  296. package/src/overwrites/venia-ui/lib/RootComponents/Category/images/004.jpg +0 -0
  297. package/src/overwrites/venia-ui/lib/RootComponents/Category/images/005.jpg +0 -0
  298. package/src/overwrites/venia-ui/lib/RootComponents/Category/images/006.jpg +0 -0
  299. package/src/overwrites/venia-ui/lib/RootComponents/Category/images/007.jpg +0 -0
  300. package/src/overwrites/venia-ui/lib/RootComponents/Category/images/008.jpg +0 -0
  301. package/src/overwrites/venia-ui/lib/RootComponents/Category/images/009.jpg +0 -0
  302. package/src/overwrites/venia-ui/lib/RootComponents/Category/images/010.jpg +0 -0
  303. package/src/overwrites/venia-ui/lib/RootComponents/Category/images/011.jpg +0 -0
  304. package/src/overwrites/venia-ui/lib/RootComponents/Category/images/012.jpg +0 -0
  305. package/src/overwrites/venia-ui/lib/RootComponents/Category/images/index.js +0 -12
  306. package/src/overwrites/venia-ui/lib/RootComponents/Category/index.js +0 -6
  307. package/src/overwrites/venia-ui/lib/components/AccountInformationPage/accountInformationPage.gql.js +0 -48
  308. package/src/overwrites/venia-ui/lib/components/AccountInformationPage/accountInformationPage.js +0 -147
  309. package/src/overwrites/venia-ui/lib/components/AccountInformationPage/accountInformationPage.module.css +0 -52
  310. package/src/overwrites/venia-ui/lib/components/AccountInformationPage/accountInformationPageFragment.gql.js +0 -10
  311. package/src/overwrites/venia-ui/lib/components/AccountInformationPage/editForm.js +0 -206
  312. package/src/overwrites/venia-ui/lib/components/AccountInformationPage/editForm.module.css +0 -40
  313. package/src/overwrites/venia-ui/lib/components/AccountInformationPage/editModal.js +0 -107
  314. package/src/overwrites/venia-ui/lib/components/AccountInformationPage/editModal.module.css +0 -3
  315. package/src/overwrites/venia-ui/lib/components/AccountInformationPage/index.js +0 -14
  316. package/src/overwrites/venia-ui/lib/components/AccountMenu/accountMenu.js +0 -107
  317. package/src/overwrites/venia-ui/lib/components/AccountMenu/accountMenu.module.css +0 -73
  318. package/src/overwrites/venia-ui/lib/components/AccountMenu/accountMenuItems.js +0 -58
  319. package/src/overwrites/venia-ui/lib/components/AccountMenu/accountMenuItems.module.css +0 -31
  320. package/src/overwrites/venia-ui/lib/components/AccountMenu/index.js +0 -1
  321. package/src/overwrites/venia-ui/lib/components/App/app.js +0 -131
  322. package/src/overwrites/venia-ui/lib/components/Breadcrumbs/breadcrumbs.js +0 -189
  323. package/src/overwrites/venia-ui/lib/components/Breadcrumbs/breadcrumbs.module.css +0 -33
  324. package/src/overwrites/venia-ui/lib/components/Breadcrumbs/breadcrumbs.shimmer.js +0 -24
  325. package/src/overwrites/venia-ui/lib/components/Breadcrumbs/index.js +0 -2
  326. package/src/overwrites/venia-ui/lib/components/Button/button.js +0 -100
  327. package/src/overwrites/venia-ui/lib/components/Button/button.module.css +0 -132
  328. package/src/overwrites/venia-ui/lib/components/Button/index.js +0 -1
  329. package/src/overwrites/venia-ui/lib/components/CartPage/GiftCards/giftCard.js +0 -50
  330. package/src/overwrites/venia-ui/lib/components/CartPage/GiftCards/giftCard.module.css +0 -11
  331. package/src/overwrites/venia-ui/lib/components/CartPage/GiftCards/giftCards.js +0 -238
  332. package/src/overwrites/venia-ui/lib/components/CartPage/GiftCards/giftCards.module.css +0 -98
  333. package/src/overwrites/venia-ui/lib/components/CartPage/GiftCards/index.js +0 -1
  334. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/CouponCode/couponCode.js +0 -178
  335. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/CouponCode/couponCode.module.css +0 -52
  336. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/CouponCode/index.js +0 -1
  337. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/GiftOptions/giftOptions.js +0 -321
  338. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/GiftOptions/giftOptions.module.css +0 -61
  339. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/GiftOptions/index.js +0 -1
  340. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/index.js +0 -1
  341. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingForm.js +0 -103
  342. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingForm.module.css +0 -36
  343. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingMethods.js +0 -103
  344. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingMethods.module.css +0 -33
  345. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingRadio.js +0 -37
  346. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingRadio.module.css +0 -3
  347. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingRadios.js +0 -106
  348. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingRadios.module.css +0 -10
  349. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/giftCardSection.ce.js +0 -7
  350. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/giftCardSection.ee.js +0 -28
  351. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/giftOptionsSection.ce.js +0 -7
  352. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/giftOptionsSection.ee.js +0 -38
  353. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/index.js +0 -1
  354. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/priceAdjustments.js +0 -95
  355. package/src/overwrites/venia-ui/lib/components/CartPage/PriceAdjustments/priceAdjustments.module.css +0 -2
  356. package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/discountSummary.js +0 -123
  357. package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/discountSummary.module.css +0 -40
  358. package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/giftCardSummary.ce.js +0 -1
  359. package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/giftCardSummary.ee.js +0 -60
  360. package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/giftOptionsSummary.ce.js +0 -5
  361. package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/giftOptionsSummary.ee.js +0 -40
  362. package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/index.js +0 -1
  363. package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/priceSummary.js +0 -210
  364. package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/priceSummary.module.css +0 -51
  365. package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/shippingSummary.js +0 -58
  366. package/src/overwrites/venia-ui/lib/components/CartPage/PriceSummary/taxSummary.js +0 -57
  367. package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/EditModal/editModal.js +0 -41
  368. package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/EditModal/index.js +0 -1
  369. package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/EditModal/productDetail.js +0 -80
  370. package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/EditModal/productDetail.module.css +0 -33
  371. package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/EditModal/productForm.js +0 -153
  372. package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/EditModal/productForm.module.css +0 -52
  373. package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/errorMessage.js +0 -31
  374. package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/errorMessage.module.css +0 -13
  375. package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/index.js +0 -1
  376. package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/product.js +0 -271
  377. package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/product.module.css +0 -156
  378. package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/productListing.js +0 -94
  379. package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/productListing.module.css +0 -11
  380. package/src/overwrites/venia-ui/lib/components/CartPage/ProductListing/quantity.js +0 -40
  381. package/src/overwrites/venia-ui/lib/components/CartPage/cartPage.js +0 -126
  382. package/src/overwrites/venia-ui/lib/components/CartPage/cartPage.module.css +0 -64
  383. package/src/overwrites/venia-ui/lib/components/CartPage/index.js +0 -1
  384. package/src/overwrites/venia-ui/lib/components/Checkbox/checkbox.js +0 -78
  385. package/src/overwrites/venia-ui/lib/components/Checkbox/checkbox.module.css +0 -73
  386. package/src/overwrites/venia-ui/lib/components/Checkbox/index.js +0 -1
  387. package/src/overwrites/venia-ui/lib/components/CheckoutPage/AddressBook/addressBook.js +0 -190
  388. package/src/overwrites/venia-ui/lib/components/CheckoutPage/AddressBook/addressBook.module.css +0 -78
  389. package/src/overwrites/venia-ui/lib/components/CheckoutPage/AddressBook/addressCard.js +0 -125
  390. package/src/overwrites/venia-ui/lib/components/CheckoutPage/AddressBook/addressCard.module.css +0 -94
  391. package/src/overwrites/venia-ui/lib/components/CheckoutPage/AddressBook/index.js +0 -1
  392. package/src/overwrites/venia-ui/lib/components/CheckoutPage/BillingAddress/billingAddress.js +0 -213
  393. package/src/overwrites/venia-ui/lib/components/CheckoutPage/BillingAddress/billingAddress.module.css +0 -36
  394. package/src/overwrites/venia-ui/lib/components/CheckoutPage/BillingAddress/index.js +0 -1
  395. package/src/overwrites/venia-ui/lib/components/CheckoutPage/GuestSignIn/guestSignIn.js +0 -93
  396. package/src/overwrites/venia-ui/lib/components/CheckoutPage/GuestSignIn/guestSignIn.module.css +0 -55
  397. package/src/overwrites/venia-ui/lib/components/CheckoutPage/GuestSignIn/index.js +0 -1
  398. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/__fixtures__/cartItems.js +0 -102
  399. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/index.js +0 -1
  400. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/item.js +0 -54
  401. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/item.module.css +0 -60
  402. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/itemsReview.js +0 -84
  403. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/itemsReview.module.css +0 -20
  404. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/showAllButton.js +0 -38
  405. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/showAllButton.module.css +0 -28
  406. package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderConfirmationPage/createAccount.js +0 -213
  407. package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderConfirmationPage/createAccount.module.css +0 -24
  408. package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderConfirmationPage/index.js +0 -1
  409. package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderConfirmationPage/orderConfirmationPage.js +0 -162
  410. package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderConfirmationPage/orderConfirmationPage.module.css +0 -70
  411. package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderSummary/index.js +0 -1
  412. package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderSummary/orderSummary.js +0 -34
  413. package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderSummary/orderSummary.module.css +0 -17
  414. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/brainTreeDropIn.js +0 -196
  415. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/braintreeDropin.module.css +0 -26
  416. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/braintreeSummary.js +0 -160
  417. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/braintreeSummary.module.css +0 -62
  418. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/creditCard.js +0 -348
  419. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/creditCard.module.css +0 -58
  420. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/editCard.js +0 -44
  421. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/editCard.module.css +0 -5
  422. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/editModal.js +0 -88
  423. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/editablePaymentCollection.js +0 -23
  424. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/index.js +0 -1
  425. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/paymentInformation.js +0 -99
  426. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/paymentInformation.module.css +0 -23
  427. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/paymentMethodCollection.js +0 -23
  428. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/paymentMethods.js +0 -121
  429. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/paymentMethods.module.css +0 -34
  430. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/summary.js +0 -71
  431. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/summary.module.css +0 -23
  432. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/summaryPaymentCollection.js +0 -23
  433. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PriceAdjustments/index.js +0 -1
  434. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PriceAdjustments/priceAdjustments.js +0 -63
  435. package/src/overwrites/venia-ui/lib/components/CheckoutPage/PriceAdjustments/priceAdjustments.module.css +0 -2
  436. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/AddressForm/addressForm.js +0 -18
  437. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/AddressForm/customerForm.js +0 -401
  438. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/AddressForm/customerForm.module.css +0 -58
  439. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/AddressForm/guestForm.js +0 -455
  440. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/AddressForm/guestForm.module.css +0 -52
  441. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/AddressForm/index.js +0 -3
  442. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/card.js +0 -66
  443. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/card.module.css +0 -12
  444. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/editModal.js +0 -65
  445. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/editModal.module.css +0 -90
  446. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/index.js +0 -1
  447. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/shippingInformation.js +0 -149
  448. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingInformation/shippingInformation.module.css +0 -88
  449. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/completedView.js +0 -114
  450. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/completedView.module.css +0 -48
  451. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/index.js +0 -1
  452. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/shippingMethod.js +0 -154
  453. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/shippingMethod.module.css +0 -27
  454. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/shippingRadios.js +0 -80
  455. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/shippingRadios.module.css +0 -22
  456. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/updateModal.js +0 -85
  457. package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/updateModal.module.css +0 -3
  458. package/src/overwrites/venia-ui/lib/components/CheckoutPage/checkoutPage.js +0 -472
  459. package/src/overwrites/venia-ui/lib/components/CheckoutPage/checkoutPage.module.css +0 -186
  460. package/src/overwrites/venia-ui/lib/components/CheckoutPage/index.js +0 -1
  461. package/src/overwrites/venia-ui/lib/components/CreateAccount/createAccount.js +0 -323
  462. package/src/overwrites/venia-ui/lib/components/CreateAccount/createAccount.module.css +0 -52
  463. package/src/overwrites/venia-ui/lib/components/CreateAccount/index.js +0 -1
  464. package/src/overwrites/venia-ui/lib/components/CreateAccountPage/createAccountPage.js +0 -48
  465. package/src/overwrites/venia-ui/lib/components/CreateAccountPage/createAccountPage.module.css +0 -21
  466. package/src/overwrites/venia-ui/lib/components/CreateAccountPage/index.js +0 -1
  467. package/src/overwrites/venia-ui/lib/components/Dialog/dialog.js +0 -198
  468. package/src/overwrites/venia-ui/lib/components/Dialog/dialog.module.css +0 -189
  469. package/src/overwrites/venia-ui/lib/components/Dialog/index.js +0 -1
  470. package/src/overwrites/venia-ui/lib/components/FilterModal/CurrentFilters/currentFilter.js +0 -60
  471. package/src/overwrites/venia-ui/lib/components/FilterModal/CurrentFilters/currentFilter.module.css +0 -22
  472. package/src/overwrites/venia-ui/lib/components/FilterModal/CurrentFilters/currentFilters.js +0 -69
  473. package/src/overwrites/venia-ui/lib/components/FilterModal/CurrentFilters/currentFilters.module.css +0 -21
  474. package/src/overwrites/venia-ui/lib/components/FilterModal/CurrentFilters/index.js +0 -1
  475. package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/filterDefault.js +0 -84
  476. package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/filterDefault.module.css +0 -0
  477. package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/filterItem.js +0 -80
  478. package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/filterItemRadio.js +0 -79
  479. package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/filterItemRadio.module.css +0 -0
  480. package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/filterItemRadioGroup.js +0 -87
  481. package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/filterList.js +0 -265
  482. package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/filterList.module.css +0 -28
  483. package/src/overwrites/venia-ui/lib/components/FilterModal/FilterList/index.js +0 -1
  484. package/src/overwrites/venia-ui/lib/components/FilterModal/filterBlock.js +0 -135
  485. package/src/overwrites/venia-ui/lib/components/FilterModal/filterBlock.module.css +0 -25
  486. package/src/overwrites/venia-ui/lib/components/FilterModal/filterFooter.js +0 -49
  487. package/src/overwrites/venia-ui/lib/components/FilterModal/filterFooter.module.css +0 -10
  488. package/src/overwrites/venia-ui/lib/components/FilterModal/filterModal.js +0 -166
  489. package/src/overwrites/venia-ui/lib/components/FilterModal/filterModal.module.css +0 -88
  490. package/src/overwrites/venia-ui/lib/components/FilterModal/filterSearch.module.css +0 -3
  491. package/src/overwrites/venia-ui/lib/components/FilterModal/index.js +0 -1
  492. package/src/overwrites/venia-ui/lib/components/FilterSidebar/__tests__/filterSidebar.spec.js +0 -246
  493. package/src/overwrites/venia-ui/lib/components/FilterSidebar/filterSidebar.js +0 -197
  494. package/src/overwrites/venia-ui/lib/components/FilterSidebar/filterSidebar.module.css +0 -59
  495. package/src/overwrites/venia-ui/lib/components/FilterSidebar/filterSidebar.shimmer.js +0 -24
  496. package/src/overwrites/venia-ui/lib/components/FilterSidebar/index.js +0 -2
  497. package/src/overwrites/venia-ui/lib/components/Footer/footer.js +0 -147
  498. package/src/overwrites/venia-ui/lib/components/Footer/footer.module.css +0 -70
  499. package/src/overwrites/venia-ui/lib/components/Footer/index.js +0 -1
  500. package/src/overwrites/venia-ui/lib/components/Footer/sampleData.js +0 -48
  501. package/src/overwrites/venia-ui/lib/components/Gallery/addToCartButton.js +0 -116
  502. package/src/overwrites/venia-ui/lib/components/Gallery/addToCartButton.module.css +0 -38
  503. package/src/overwrites/venia-ui/lib/components/Gallery/gallery.js +0 -57
  504. package/src/overwrites/venia-ui/lib/components/Gallery/gallery.module.css +0 -28
  505. package/src/overwrites/venia-ui/lib/components/Gallery/gallery.shimmer.js +0 -39
  506. package/src/overwrites/venia-ui/lib/components/Gallery/index.js +0 -3
  507. package/src/overwrites/venia-ui/lib/components/Gallery/item.js +0 -224
  508. package/src/overwrites/venia-ui/lib/components/Gallery/item.module.css +0 -109
  509. package/src/overwrites/venia-ui/lib/components/Gallery/item.shimmer.js +0 -38
  510. package/src/overwrites/venia-ui/lib/components/Gallery/star.js +0 -12
  511. package/src/overwrites/venia-ui/lib/components/Header/accountTrigger.js +0 -98
  512. package/src/overwrites/venia-ui/lib/components/Header/cartTrigger.js +0 -116
  513. package/src/overwrites/venia-ui/lib/components/Header/cartTrigger.module.css +0 -47
  514. package/src/overwrites/venia-ui/lib/components/Header/storeSwitcher.module.css +0 -107
  515. package/src/overwrites/venia-ui/lib/components/Header/wishlistTrigger.js +0 -23
  516. package/src/overwrites/venia-ui/lib/components/Main/index.js +0 -1
  517. package/src/overwrites/venia-ui/lib/components/Main/main.js +0 -39
  518. package/src/overwrites/venia-ui/lib/components/Main/main.module.css +0 -41
  519. package/src/overwrites/venia-ui/lib/components/MegaMenu/customSubmenuColumn.js +0 -75
  520. package/src/overwrites/venia-ui/lib/components/MegaMenu/customSubmenuColumn.module.css +0 -29
  521. package/src/overwrites/venia-ui/lib/components/MegaMenu/shopByColumn.js +0 -121
  522. package/src/overwrites/venia-ui/lib/components/MegaMenu/shopByColumn.module.css +0 -26
  523. package/src/overwrites/venia-ui/lib/components/MyAccount/ResetPassword/index.js +0 -1
  524. package/src/overwrites/venia-ui/lib/components/MyAccount/ResetPassword/resetPassword.gql.js +0 -22
  525. package/src/overwrites/venia-ui/lib/components/MyAccount/ResetPassword/resetPassword.js +0 -143
  526. package/src/overwrites/venia-ui/lib/components/MyAccount/ResetPassword/resetPassword.module.css +0 -53
  527. package/src/overwrites/venia-ui/lib/components/MyAccount/accountLink.js +0 -42
  528. package/src/overwrites/venia-ui/lib/components/MyAccount/accountLink.module.css +0 -33
  529. package/src/overwrites/venia-ui/lib/components/MyAccount/index.js +0 -1
  530. package/src/overwrites/venia-ui/lib/components/MyAccount/myAccount.js +0 -38
  531. package/src/overwrites/venia-ui/lib/components/MyAccount/myAccount.module.css +0 -5
  532. package/src/overwrites/venia-ui/lib/components/Newsletter/index.js +0 -1
  533. package/src/overwrites/venia-ui/lib/components/Newsletter/newsletter.js +0 -156
  534. package/src/overwrites/venia-ui/lib/components/Newsletter/newsletter.module.css +0 -90
  535. package/src/overwrites/venia-ui/lib/components/Newsletter/newsletter.shimmer.js +0 -46
  536. package/src/overwrites/venia-ui/lib/components/Newsletter/newsletter.shimmer.module.css +0 -21
  537. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/billingInformation.js +0 -71
  538. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/billingInformation.module.css +0 -9
  539. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/index.js +0 -1
  540. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/item.js +0 -121
  541. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/item.module.css +0 -35
  542. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/items.js +0 -70
  543. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/items.module.css +0 -16
  544. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/orderDetails.js +0 -207
  545. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/orderDetails.module.css +0 -102
  546. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/orderTotal.js +0 -159
  547. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/orderTotal.module.css +0 -50
  548. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/paymentMethod.js +0 -45
  549. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/paymentMethod.module.css +0 -14
  550. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/shippingInformation.js +0 -90
  551. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/shippingInformation.module.css +0 -9
  552. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/shippingMethod.js +0 -86
  553. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/OrderDetails/shippingMethod.module.css +0 -19
  554. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/collapsedImageGallery.js +0 -63
  555. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/collapsedImageGallery.module.css +0 -16
  556. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/index.js +0 -15
  557. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/orderHistoryPage.js +0 -227
  558. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/orderHistoryPage.module.css +0 -70
  559. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/orderProgressBar.js +0 -70
  560. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/orderProgressBar.module.css +0 -14
  561. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/orderRow.js +0 -324
  562. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/orderRow.module.css +0 -146
  563. package/src/overwrites/venia-ui/lib/components/OrderHistoryPage/resetButton.js +0 -41
  564. package/src/overwrites/venia-ui/lib/components/Pagination/index.js +0 -1
  565. package/src/overwrites/venia-ui/lib/components/Pagination/navButton.js +0 -65
  566. package/src/overwrites/venia-ui/lib/components/Pagination/pagination.js +0 -107
  567. package/src/overwrites/venia-ui/lib/components/Pagination/tile.js +0 -41
  568. package/src/overwrites/venia-ui/lib/components/Password/index.js +0 -1
  569. package/src/overwrites/venia-ui/lib/components/Password/password.js +0 -102
  570. package/src/overwrites/venia-ui/lib/components/Password/password.module.css +0 -26
  571. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Boolean/boolean.js +0 -74
  572. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Boolean/boolean.module.css +0 -9
  573. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Boolean/index.js +0 -1
  574. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Date/date.js +0 -82
  575. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Date/date.module.css +0 -9
  576. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Date/index.js +0 -1
  577. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/DateTime/dateTime.js +0 -85
  578. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/DateTime/dateTime.module.css +0 -9
  579. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/DateTime/index.js +0 -1
  580. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Multiselect/index.js +0 -1
  581. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Multiselect/multiselect.js +0 -104
  582. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Multiselect/multiselect.module.css +0 -22
  583. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Price/index.js +0 -1
  584. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Price/price.js +0 -74
  585. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Price/price.module.css +0 -9
  586. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Select/index.js +0 -1
  587. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Select/select.js +0 -99
  588. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Select/select.module.css +0 -13
  589. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Text/index.js +0 -1
  590. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Text/text.js +0 -88
  591. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Text/text.module.css +0 -13
  592. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Textarea/index.js +0 -1
  593. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Textarea/textarea.js +0 -94
  594. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Textarea/textarea.module.css +0 -13
  595. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/attributeType.js +0 -67
  596. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/AttributeType/index.js +0 -1
  597. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/customAttributes.js +0 -65
  598. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/customAttributes.module.css +0 -8
  599. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/CustomAttributes/index.js +0 -1
  600. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/auctionDetail.js +0 -210
  601. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/bidList.js +0 -67
  602. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/modalFormReview.js +0 -164
  603. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/preOrderDetail.js +0 -61
  604. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/productReview.js +0 -63
  605. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/starInput.js +0 -33
  606. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/index.js +0 -1
  607. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/productFullDetail.gql.js +0 -7
  608. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/productFullDetail.js +0 -734
  609. package/src/overwrites/venia-ui/lib/components/ProductFullDetail/productFullDetail.module.css +0 -199
  610. package/src/overwrites/venia-ui/lib/components/ProductImageCarousel/carousel.js +0 -180
  611. package/src/overwrites/venia-ui/lib/components/ProductImageCarousel/carousel.module.css +0 -102
  612. package/src/overwrites/venia-ui/lib/components/ProductImageCarousel/carousel.shimmer.js +0 -51
  613. package/src/overwrites/venia-ui/lib/components/ProductImageCarousel/carousel.shimmer.module.css +0 -7
  614. package/src/overwrites/venia-ui/lib/components/ProductImageCarousel/index.js +0 -1
  615. package/src/overwrites/venia-ui/lib/components/ProductImageCarousel/thumbnail.js +0 -108
  616. package/src/overwrites/venia-ui/lib/components/ProductImageCarousel/thumbnail.module.css +0 -47
  617. package/src/overwrites/venia-ui/lib/components/ProductSort/index.js +0 -2
  618. package/src/overwrites/venia-ui/lib/components/ProductSort/productSort.js +0 -233
  619. package/src/overwrites/venia-ui/lib/components/ProductSort/productSort.module.css +0 -65
  620. package/src/overwrites/venia-ui/lib/components/ProductSort/productSort.shimmer.js +0 -28
  621. package/src/overwrites/venia-ui/lib/components/ProductSort/productSort.shimmer.module.css +0 -10
  622. package/src/overwrites/venia-ui/lib/components/ProductSort/sortItem.js +0 -57
  623. package/src/overwrites/venia-ui/lib/components/ProductSort/sortItem.module.css +0 -23
  624. package/src/overwrites/venia-ui/lib/components/QuantityStepper/index.js +0 -1
  625. package/src/overwrites/venia-ui/lib/components/QuantityStepper/quantityStepper.js +0 -113
  626. package/src/overwrites/venia-ui/lib/components/QuantityStepper/quantityStepper.module.css +0 -74
  627. package/src/overwrites/venia-ui/lib/components/RadioGroup/radio.js +0 -60
  628. package/src/overwrites/venia-ui/lib/components/RadioGroup/radio.module.css +0 -70
  629. package/src/overwrites/venia-ui/lib/components/RichContent/index.js +0 -1
  630. package/src/overwrites/venia-ui/lib/components/RichContent/plainHtmlRenderer.js +0 -17
  631. package/src/overwrites/venia-ui/lib/components/RichContent/richContent.js +0 -59
  632. package/src/overwrites/venia-ui/lib/components/RichContent/richContent.module.css +0 -146
  633. package/src/overwrites/venia-ui/lib/components/RichContent/richContentRenderers.js +0 -7
  634. package/src/overwrites/venia-ui/lib/components/RichText/index.js +0 -1
  635. package/src/overwrites/venia-ui/lib/components/RichText/richText.js +0 -21
  636. package/src/overwrites/venia-ui/lib/components/RichText/richText.module.css +0 -19
  637. package/src/overwrites/venia-ui/lib/components/Select/index.js +0 -1
  638. package/src/overwrites/venia-ui/lib/components/Select/option.js +0 -28
  639. package/src/overwrites/venia-ui/lib/components/Select/select.js +0 -74
  640. package/src/overwrites/venia-ui/lib/components/Select/select.module.css +0 -25
  641. package/src/overwrites/venia-ui/lib/components/SignIn/index.js +0 -1
  642. package/src/overwrites/venia-ui/lib/components/SignIn/signIn.gql.js +0 -50
  643. package/src/overwrites/venia-ui/lib/components/SignIn/signIn.js +0 -224
  644. package/src/overwrites/venia-ui/lib/components/SignIn/signIn.module.css +0 -65
  645. package/src/overwrites/venia-ui/lib/components/SignInPage/index.js +0 -1
  646. package/src/overwrites/venia-ui/lib/components/SignInPage/signInPage.js +0 -50
  647. package/src/overwrites/venia-ui/lib/components/SignInPage/signInPage.module.css +0 -17
  648. package/src/overwrites/venia-ui/lib/components/TextArea/index.js +0 -1
  649. package/src/overwrites/venia-ui/lib/components/TextArea/textArea.js +0 -44
  650. package/src/overwrites/venia-ui/lib/components/TextArea/textArea.module.css +0 -27
  651. package/src/overwrites/venia-ui/lib/components/TextInput/field.module.css +0 -51
  652. package/src/overwrites/venia-ui/lib/components/TextInput/index.js +0 -1
  653. package/src/overwrites/venia-ui/lib/components/TextInput/textInput.js +0 -64
  654. package/src/overwrites/venia-ui/lib/components/TextInput/textInput.module.css +0 -21
  655. package/src/overwrites/venia-ui/lib/index.module.css +0 -137
  656. package/src/overwrites/venia-ui/lib/tokens.module.css +0 -167
  657. package/src/overwrites/venia-ui/venia-static/favicon.ico +0 -0
  658. package/src/overwrites/venia-ui/venia-static/manifest.json +0 -32
  659. package/src/static-files/favicon.ico +0 -0
  660. package/src/static-files/icons/apple-touch-icon.png +0 -0
  661. package/src/static-files/icons/venia_circle_144.png +0 -0
  662. package/src/static-files/icons/venia_circle_192.png +0 -0
  663. package/src/static-files/icons/venia_circle_512.png +0 -0
  664. package/src/static-files/icons/venia_maskable_512.png +0 -0
  665. package/src/static-files/icons/venia_square_144.png +0 -0
  666. package/src/static-files/icons/venia_square_192.png +0 -0
  667. package/src/static-files/icons/venia_square_512.png +0 -0
  668. package/src/static-files/icons/venia_square_57.png +0 -0
  669. package/src/static-files/manifest.json +0 -32
  670. package/src/static-files/robots.txt +0 -2
  671. package/src/static-files/veniaClosed.png +0 -0
  672. package/src/talons/ArraySearchInput/useArraySearchInput.js +0 -58
  673. package/src/talons/AttributesBlock/attributesBlock.gql.js +0 -15
  674. package/src/talons/AttributesBlock/useAttributesBlock.js +0 -37
  675. package/src/talons/CollectibleGameSets/collectibleGameSets.gql.js +0 -47
  676. package/src/talons/CollectibleGameSets/useCollectibleGameSets.js +0 -134
  677. package/src/talons/CustomFilters/customFilters.gql.js +0 -45
  678. package/src/talons/CustomFilters/useCustomFilters.js +0 -258
  679. package/src/talons/FilterOption/useFilterOptionModal.js +0 -11
  680. package/src/talons/FilterOptionModal/useFilterOptionModal.js +0 -11
  681. package/src/talons/FilterTop/customFilters.gql.js +0 -45
  682. package/src/talons/FilterTop/filterTop.gql.js +0 -45
  683. package/src/talons/FilterTop/index.js +0 -1
  684. package/src/talons/FilterTop/useFilterTop.js +0 -312
  685. package/src/talons/Header/logo.gql.js +0 -19
  686. package/src/talons/Header/useLogo.js +0 -19
  687. package/src/talons/LegoSets/legoSets.gql.js +0 -59
  688. package/src/talons/LegoSets/useLegoSets.js +0 -222
  689. package/src/talons/MegaMenu/megaMenu.gql.js +0 -70
  690. package/src/talons/MiniatureGameSets/miniatureGameSets.gql.js +0 -59
  691. package/src/talons/MiniatureGameSets/useMiniatureGameSets.js +0 -220
  692. package/src/talons/NonSportCardsSets/nonSportCardsSets.gql.js +0 -59
  693. package/src/talons/NonSportCardsSets/useNonSportCardsSets.js +0 -238
  694. package/src/talons/SellerReview/sellerReview.gql.js +0 -53
  695. package/src/talons/SellerReview/useSellerReview.js +0 -49
  696. package/src/talons/ShopBy/shopBy.gql.js +0 -61
  697. package/src/talons/ShopBy/useShopBy.js +0 -264
  698. package/src/talons/ShopByBrands/shopByBrands.gql.js +0 -59
  699. package/src/talons/ShopByBrands/shopByBrands.js +0 -59
  700. package/src/talons/ShopByBrands/useShopByBrands.js +0 -218
  701. package/src/talons/ShopByCard/shopByCard.gql.js +0 -47
  702. package/src/talons/ShopByCard/useShopByCard.js +0 -134
  703. package/src/talons/ShopByCategory/index.js +0 -1
  704. package/src/talons/ShopByCategory/shopByCategory.gql.js +0 -38
  705. package/src/talons/ShopByCategory/useShopByCategory.js +0 -69
  706. package/src/talons/ShopByVehicles/shopByVehicles.gql.js +0 -60
  707. package/src/talons/ShopByVehicles/useShopByVehicles.js +0 -222
  708. package/src/talons/SportCardsSets/sportCardsSets.gql.js +0 -61
  709. package/src/talons/SportCardsSets/useSportCardsSets.js +0 -266
  710. package/src/talons/SubCategory/subCategory.gql.js +0 -15
  711. package/src/talons/SubCategory/useCustomSubCategory.js +0 -49
  712. package/src/talons/SubCategory/useSubCategory.js +0 -52
  713. package/src/talons/SubCategoryPage/subCategoryPage.gql.js +0 -40
  714. package/src/talons/SubCategoryPage/useSubCategoryPage.js +0 -108
  715. package/src/talons/TrainsSets/trainsSets.gql.js +0 -60
  716. package/src/talons/TrainsSets/useTrainsSets.js +0 -223
@@ -1,61 +0,0 @@
1
- import { gql } from '@apollo/client';
2
-
3
- export const GET_STORE_CONFIG_DATA = gql`
4
- query getStoreConfigData {
5
- # eslint-disable-next-line @graphql-eslint/require-id-when-available
6
- storeConfig {
7
- store_code
8
- product_url_suffix
9
- category_url_suffix
10
- }
11
- }
12
- `;
13
-
14
- export const GET_SHOP_BY_DATA_QUERY = gql`
15
- query getShopByData($search: String, $activeFilter: String, $categoryUrlKey: String!, $attributeCode: String, $filters: ProductAttributeFilterInput!) {
16
- shopByData(search: $search, activeFilter: $activeFilter, categoryUrlKey: $categoryUrlKey, attributeCode: $attributeCode, filters: $filters) {
17
- label
18
- count
19
- attribute_code
20
- options {
21
- label
22
- value
23
- }
24
- position
25
- }
26
- }
27
- `;
28
-
29
- export const GET_CATEGORY_CONTENT = gql`
30
- query getCategoryData($id: String!) {
31
- categories(filters: { category_uid: { in: [$id] } }) {
32
- # eslint-disable-next-line @graphql-eslint/require-id-when-available
33
- items {
34
- uid
35
- name
36
- url_key
37
- url_path
38
- }
39
- }
40
- }
41
- `;
42
-
43
- export const GET_FILTER_INPUTS = gql`
44
- query GetFilterInputsForCategory {
45
- __type(name: "ProductAttributeFilterInput") {
46
- inputFields {
47
- name
48
- type {
49
- name
50
- }
51
- }
52
- }
53
- }
54
- `;
55
-
56
- export default {
57
- getStoreConfigData: GET_STORE_CONFIG_DATA,
58
- getShopByDataQuery: GET_SHOP_BY_DATA_QUERY,
59
- getCategoryContentQuery: GET_CATEGORY_CONTENT,
60
- getFilterInputsQuery: GET_FILTER_INPUTS,
61
- };
@@ -1,264 +0,0 @@
1
- import { useQuery, useLazyQuery } from '@apollo/client';
2
- import { useEffect, useMemo } from 'react';
3
- import { useLocation } from 'react-router-dom';
4
-
5
- import mergeOperations from '@magento/peregrine/lib/util/shallowMerge';
6
- import DEFAULT_OPERATIONS from './shopBy.gql';
7
- import { getFilterInput, getFiltersFromSearch } from '@magento/peregrine/lib/talons/FilterModal/helpers';
8
-
9
- export const useShopBy = props => {
10
-
11
- const { searchQuery, activeFilter, active, setActive, currentSort, categoryId, shopby } = props
12
-
13
- const { value: sortby } = currentSort
14
-
15
- const operations = mergeOperations(DEFAULT_OPERATIONS, null);
16
- const { getStoreConfigData, getShopByDataQuery, getCategoryContentQuery, getFilterInputsQuery } = operations;
17
- const { pathname, search } = useLocation();
18
- // const [
19
- // ,
20
- // {
21
- // actions: { setPageLoading }
22
- // }
23
- // ] = useAppContext();
24
-
25
- const [runQuery, queryResponse] = useLazyQuery(getShopByDataQuery, {
26
- fetchPolicy: 'cache-and-network',
27
- nextFetchPolicy: 'cache-first'
28
- });
29
-
30
- const { data: storeConfigData } = useQuery(getStoreConfigData, {
31
- fetchPolicy: 'cache-and-network',
32
- nextFetchPolicy: 'cache-first'
33
- });
34
-
35
- const pathnameArr = pathname.split('/');
36
-
37
- const categoryUrlKey = pathnameArr[pathnameArr.length - 1].replace('.html','');
38
-
39
- const categoryUrlSuffix = storeConfigData?.storeConfig?.category_url_suffix;
40
-
41
- const { data: introspectionData } = useQuery(getFilterInputsQuery);
42
-
43
- const filterTypeMap = useMemo(() => {
44
- const typeMap = new Map();
45
- if (introspectionData) {
46
- introspectionData.__type.inputFields.forEach(({ name, type }) => {
47
- typeMap.set(name, type.name);
48
- });
49
- }
50
- return typeMap;
51
- }, [introspectionData]);
52
-
53
- const activeFilters = [];
54
-
55
- // if (!filterTypeMap.size) {
56
- // return;
57
- // }
58
-
59
- const filters = getFiltersFromSearch(search);
60
-
61
- // Construct the filter arg object.
62
- const newFilters = {};
63
- filters.forEach((values, key) => {
64
- newFilters[key] = getFilterInput(values, filterTypeMap.get(key));
65
-
66
- if (key == "sc_baseball_release") {
67
- for(let item of values) {
68
- if(item) {
69
- // console.log(item.split(',')[0])
70
- const data = search.split('&');
71
- data.pop();
72
- activeFilters.push(
73
- {
74
- 'label': item.split(',')[0],
75
- 'path': data
76
- }
77
- )
78
- }
79
- }
80
- }
81
- });
82
-
83
- useEffect(() => {
84
-
85
-
86
-
87
- // Use the category uid for the current category page regardless of the
88
- // applied filters. Follow-up in PWA-404.
89
- // newFilters['category_uid'] = { eq: id };
90
-
91
- runQuery({
92
- variables: {
93
- filters: newFilters,
94
- categoryUrlKey: categoryUrlKey,
95
- attributeCode: shopby,
96
- activeFilter: activeFilter,
97
- search: search
98
- }
99
- });
100
- }, [
101
- runQuery,
102
- activeFilter,
103
- shopby,
104
- // categoryUrlKey,
105
- // filters
106
- // filterTypeMap,
107
- search
108
- ]);
109
-
110
- // console.log(activeFilters)
111
-
112
-
113
-
114
- // const { error, loading, data } = useQuery(getShopByDataQuery, {
115
- // fetchPolicy: 'cache-and-network',
116
- // nextFetchPolicy: 'cache-first',
117
- // skip: !storeConfigData,
118
- // variables: {
119
- // categoryUrlKey: categoryUrlKey,
120
- // attributeCode: shopby
121
- // }
122
- // });
123
-
124
- const alpha = ['#', 'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'];
125
-
126
- // const isBackgroundLoading = !!queryResponse && loading;
127
-
128
- const originalDataResult = useMemo(() => {
129
- if (!queryResponse) {
130
- return null;
131
- }
132
-
133
- const rawData = queryResponse?.data?.shopByData;
134
- if (!rawData) {
135
- return null;
136
- }
137
-
138
- let options = rawData[0].options;
139
-
140
- const mappingData = options.reduce((acc, item) => {
141
- let firstLetter = item.label.charAt(0).toUpperCase();
142
- if (!alpha.includes(firstLetter)) {
143
- firstLetter = '#';
144
- }
145
- if (shopby == "vehicles_year" || shopby == "trains_gauge" || shopby == "vehicles_scale" || shopby == "lego_theme" || shopby == "lego_subtheme" || shopby == "lego_interest") {
146
- firstLetter = '#';
147
- }
148
- acc[firstLetter] = acc[firstLetter] || [];
149
- acc[firstLetter].push(item);
150
- return acc;
151
- }, {});
152
-
153
- const sortbyData = [];
154
-
155
- return sortby != "all" ? sortbyData && sortbyData.length ? sortbyData.sort((a, b) => b.release_type.toLowerCase().localeCompare(a.release_type.toLowerCase())) : sortbyData : mappingData;
156
- }, [queryResponse, sortby]);
157
-
158
- const filteredOptions = useMemo(() => {
159
- if (!queryResponse) {
160
- return null;
161
- }
162
-
163
- const rawData = queryResponse?.data?.shopByData;
164
- if (!rawData) {
165
- return null;
166
- }
167
-
168
- let options = rawData[0].options;
169
-
170
- // const filteredSets = [];
171
-
172
- // let filteredOptions = [];
173
-
174
- // let mappingData = [];
175
-
176
- if (searchQuery) {
177
- if (active != "all") {
178
- setActive('all');
179
- }
180
-
181
- return options.filter(function(option) {
182
- return option.label.search(new RegExp(searchQuery, "i")) != -1;
183
- });
184
- }
185
- // } else {
186
-
187
- // console.log(filteredOptions)
188
-
189
-
190
- // }
191
-
192
-
193
-
194
- // const sortbyData = [];
195
-
196
- return options;
197
- }, [queryResponse, searchQuery]);
198
-
199
- const dataResult = useMemo(() => {
200
- if (filteredOptions) {
201
- return filteredOptions.reduce((acc, item) => {
202
- let firstLetter = item.label.charAt(0).toUpperCase();
203
- if (!alpha.includes(firstLetter)) {
204
- firstLetter = '#';
205
- }
206
- if (shopby == "vehicles_year" || shopby == "trains_gauge" || shopby == "vehicles_scale" || shopby == "lego_theme" || shopby == "lego_subtheme" || shopby == "lego_interest") {
207
- firstLetter = '#';
208
- }
209
- acc[firstLetter] = acc[firstLetter] || [];
210
- acc[firstLetter].push(item);
211
- return acc;
212
- }, {});
213
- }
214
-
215
- return filteredOptions;
216
- }, [filteredOptions])
217
-
218
- // console.log(dataResult)
219
-
220
- let availableGroups = originalDataResult ? Object.keys(originalDataResult).sort() : [];
221
-
222
- let filteredAvailableGroups = dataResult ? Object.keys(dataResult).sort() : [];
223
-
224
- if (shopby == "vehicles_year" || shopby == "trains_gauge" || shopby == "vehicles_scale" || shopby == "lego_theme" || shopby == "lego_subtheme" || shopby == "lego_interest") {
225
- availableGroups = ['#'];
226
- filteredAvailableGroups = ['#'];
227
- }
228
-
229
-
230
- const attributeData = queryResponse?.data?.shopByData && queryResponse?.data?.shopByData.length ? queryResponse.data.shopByData[0] : null
231
-
232
- const { data: categoryData, loading: categoryLoading } = useQuery(
233
- getCategoryContentQuery,
234
- {
235
- fetchPolicy: 'cache-and-network',
236
- nextFetchPolicy: 'cache-first',
237
- skip: !categoryId,
238
- variables: {
239
- id: categoryId
240
- }
241
- }
242
- );
243
-
244
- const category =
245
- categoryData && categoryData.categories.items.length
246
- ? categoryData.categories.items[0]
247
- : null;
248
-
249
- return {
250
- // error,
251
- // loading,
252
- dataResult,
253
- // collectibleGameSets,
254
- filteredAvailableGroups,
255
- categoryUrlSuffix,
256
- categoryUrlKey,
257
- availableGroups,
258
- attributeData,
259
- alpha,
260
- category,
261
- activeFilters
262
- // productType
263
- };
264
- };
@@ -1,59 +0,0 @@
1
- import { gql } from '@apollo/client';
2
-
3
- export const GET_STORE_CONFIG_DATA = gql`
4
- query getStoreConfigData {
5
- # eslint-disable-next-line @graphql-eslint/require-id-when-available
6
- storeConfig {
7
- store_code
8
- product_url_suffix
9
- category_url_suffix
10
- }
11
- }
12
- `;
13
-
14
- export const GET_LEGO_SETS_QUERY = gql`
15
- query getShopByBrands($categoryUrlKey: String!, $activeTab: String, $filters: ProductAttributeFilterInput!, $shopby: String, $activeFilter: String) {
16
- shopByBrands(categoryUrlKey: $categoryUrlKey, activeTab: $activeTab, filters: $filters, shopby: $shopby, activeFilter: $activeFilter) {
17
- group
18
- sets {
19
- set_name
20
- option_id
21
- release_year
22
- }
23
- }
24
- }
25
- `;
26
-
27
- export const GET_CATEGORY_CONTENT = gql`
28
- query getCategoryData($id: String!) {
29
- categories(filters: { category_uid: { in: [$id] } }) {
30
- # eslint-disable-next-line @graphql-eslint/require-id-when-available
31
- items {
32
- uid
33
- name
34
- url_key
35
- url_path
36
- }
37
- }
38
- }
39
- `;
40
-
41
- export const GET_FILTER_INPUTS = gql`
42
- query GetFilterInputsForCategory {
43
- __type(name: "ProductAttributeFilterInput") {
44
- inputFields {
45
- name
46
- type {
47
- name
48
- }
49
- }
50
- }
51
- }
52
- `;
53
-
54
- export default {
55
- getStoreConfigData: GET_STORE_CONFIG_DATA,
56
- getShopByBrandsQuery: GET_LEGO_SETS_QUERY,
57
- getCategoryContentQuery: GET_CATEGORY_CONTENT,
58
- getFilterInputsQuery: GET_FILTER_INPUTS,
59
- };
@@ -1,59 +0,0 @@
1
- import { gql } from '@apollo/client';
2
-
3
- export const GET_STORE_CONFIG_DATA = gql`
4
- query getStoreConfigData {
5
- # eslint-disable-next-line @graphql-eslint/require-id-when-available
6
- storeConfig {
7
- store_code
8
- product_url_suffix
9
- category_url_suffix
10
- }
11
- }
12
- `;
13
-
14
- export const GET_LEGO_SETS_QUERY = gql`
15
- query getShopByBrands($categoryUrlKey: String!, $activeTab: String, $filters: ProductAttributeFilterInput!, $shopby: String, $activeFilter: String) {
16
- shopByBrands(categoryUrlKey: $categoryUrlKey, activeTab: $activeTab, filters: $filters, shopby: $shopby, activeFilter: $activeFilter) {
17
- group
18
- sets {
19
- set_name
20
- option_id
21
- release_year
22
- }
23
- }
24
- }
25
- `;
26
-
27
- export const GET_CATEGORY_CONTENT = gql`
28
- query getCategoryData($id: String!) {
29
- categories(filters: { category_uid: { in: [$id] } }) {
30
- # eslint-disable-next-line @graphql-eslint/require-id-when-available
31
- items {
32
- uid
33
- name
34
- url_key
35
- url_path
36
- }
37
- }
38
- }
39
- `;
40
-
41
- export const GET_FILTER_INPUTS = gql`
42
- query GetFilterInputsForCategory {
43
- __type(name: "ProductAttributeFilterInput") {
44
- inputFields {
45
- name
46
- type {
47
- name
48
- }
49
- }
50
- }
51
- }
52
- `;
53
-
54
- export default {
55
- getStoreConfigData: GET_STORE_CONFIG_DATA,
56
- getShopByBrandsQuery: GET_LEGO_SETS_QUERY,
57
- getCategoryContentQuery: GET_CATEGORY_CONTENT,
58
- getFilterInputsQuery: GET_FILTER_INPUTS,
59
- };
@@ -1,218 +0,0 @@
1
- import { useQuery, useLazyQuery } from '@apollo/client';
2
- import { useEffect, useMemo } from 'react';
3
- import { useLocation } from 'react-router-dom';
4
- import { useAppContext } from '@magento/peregrine/lib/context/app';
5
-
6
- import mergeOperations from '@magento/peregrine/lib/util/shallowMerge';
7
- import DEFAULT_OPERATIONS from './shopByBrands.gql';
8
- import { getFilterInput, getFiltersFromSearch } from '@magento/peregrine/lib/talons/FilterModal/helpers';
9
-
10
- export const useShopByBrands = props => {
11
-
12
- const { searchQuery, setActive, currentSort, shopby, setType, categoryId, activeTab, activeFilter } = props
13
-
14
- const { value: sortby } = currentSort
15
-
16
- const operations = mergeOperations(DEFAULT_OPERATIONS, null);
17
- const { getStoreConfigData, getShopByBrandsQuery, getCategoryContentQuery, getFilterInputsQuery } = operations;
18
- const { pathname, search } = useLocation();
19
- const [runQuery, queryResponse] = useLazyQuery(getShopByBrandsQuery, {
20
- fetchPolicy: 'cache-and-network',
21
- nextFetchPolicy: 'cache-first'
22
- });
23
-
24
- const pathnameArr = pathname.split('/');
25
-
26
- const categoryUrlKey = pathnameArr[pathnameArr.length - 1].replace('.html','');
27
- const parentCategoryUrlKey = pathnameArr[pathnameArr.length - 2].replace('.html','');
28
- const productType = shopby;
29
-
30
-
31
-
32
- // const { error, loading, data } = useQuery(getShopByBrandsQuery, {
33
- // fetchPolicy: 'cache-and-network',
34
- // nextFetchPolicy: 'cache-first',
35
- // skip: !storeConfigData,
36
- // variables: {
37
- // categoryUrlKey: categoryUrlKey,
38
- // setType: setType
39
- // }
40
- // });
41
- const { data: introspectionData } = useQuery(getFilterInputsQuery);
42
-
43
- const filterTypeMap = useMemo(() => {
44
- const typeMap = new Map();
45
- if (introspectionData) {
46
- introspectionData.__type.inputFields.forEach(({ name, type }) => {
47
- typeMap.set(name, type.name);
48
- });
49
- }
50
- return typeMap;
51
- }, [introspectionData]);
52
- const filters = getFiltersFromSearch(search);
53
-
54
- // Construct the filter arg object.
55
- const newFilters = {};
56
- filters.forEach((values, key) => {
57
- newFilters[key] = getFilterInput(values, filterTypeMap.get(key));
58
-
59
- if (key == "sc_baseball_release") {
60
- for(let item of values) {
61
- if(item) {
62
- // console.log(item.split(',')[0])
63
- const data = search.split('&');
64
- data.pop();
65
- activeFilters.push(
66
- {
67
- 'label': item.split(',')[0],
68
- 'path': data
69
- }
70
- )
71
- }
72
- }
73
- }
74
- });
75
-
76
- useEffect(() => {
77
- // console.log("MASUK")
78
-
79
- // if (queryResponse.data) {
80
-
81
-
82
-
83
- // Use the category uid for the current category page regardless of the
84
- // applied filters. Follow-up in PWA-404.
85
- // newFilters['category_uid'] = { eq: id };
86
-
87
- runQuery({
88
- variables: {
89
- filters: newFilters,
90
- categoryUrlKey: categoryUrlKey,
91
- activeTab: activeTab,
92
- shopby: shopby,
93
- activeFilter: activeFilter
94
- }
95
- });
96
- // }
97
- }, [
98
- runQuery,
99
- activeTab,
100
- activeFilter
101
- // queryResponse
102
- // filterTypeMap,
103
- // search,
104
- // newFilters,
105
- // shopby,
106
- // categoryUrlKey
107
- ]);
108
-
109
- const { data: storeConfigData } = useQuery(getStoreConfigData, {
110
- fetchPolicy: 'cache-and-network',
111
- nextFetchPolicy: 'cache-first'
112
- });
113
-
114
- const categoryUrlSuffix = storeConfigData?.storeConfig?.category_url_suffix;
115
-
116
- // { data: queryResponse, error, loading }
117
-
118
-
119
-
120
- // console.log(data)
121
-
122
- // const isBackgroundLoading = !!data && loading;
123
-
124
- const availableLeagues = [];
125
-
126
- // console.log(queryResponse.data)
127
-
128
- const shopByBrands = useMemo(() => {
129
- if (!queryResponse) {
130
- return null;
131
- }
132
-
133
- // console.log(data)
134
-
135
- const shopByBrands = queryResponse?.data?.shopByBrands;
136
- if (!shopByBrands) {
137
- return null;
138
- }
139
-
140
- return shopByBrands.slice().sort((a, b) =>a.group.toLowerCase().localeCompare(b.group.toLowerCase()));
141
- }, [queryResponse]);
142
-
143
- const availableGroups = shopByBrands && shopByBrands.length ? shopByBrands.map(({ group }) => group) : [];
144
-
145
- // const availableLeagues = shopByBrands && shopByBrands.length ? shopByBrands.map(({ sets }) => shopByBrands.map(({ sc_league }) => sc_league)) : [];
146
- // console.log(availableLeagues)
147
- // sc_league
148
-
149
- const filteredShopByBrands = useMemo(() => {
150
- if (!shopByBrands) {
151
- return null;
152
- }
153
-
154
- const filteredSets = [];
155
-
156
- if (searchQuery) {
157
-
158
- // useEffect(() => {
159
- // setActive('all')
160
- // }, [active]);
161
-
162
- shopByBrands.map(({ group, sets }, index) => {
163
- const newSets = sets.filter(function(set) {
164
- return set.set_name.search(new RegExp(searchQuery, "i")) != -1 || group.search(new RegExp(searchQuery, "i")) != -1;
165
- // return set.set_name.includes(searchQuery);
166
- });
167
-
168
- if (newSets && newSets.length) {
169
- filteredSets.push({
170
- 'group': group,
171
- 'sets': newSets
172
- })
173
- }
174
- })
175
- }
176
-
177
- return searchQuery ? filteredSets : shopByBrands;
178
- }, [shopByBrands, searchQuery]);
179
-
180
- // useEffect(() => {
181
- // setPageLoading(isBackgroundLoading);
182
- // }, [isBackgroundLoading, setPageLoading]);
183
-
184
- const { data: categoryData, loading: categoryLoading } = useQuery(
185
- getCategoryContentQuery,
186
- {
187
- fetchPolicy: 'cache-and-network',
188
- nextFetchPolicy: 'cache-first',
189
- skip: !categoryId,
190
- variables: {
191
- id: categoryId
192
- }
193
- }
194
- );
195
-
196
- const category =
197
- categoryData && categoryData.categories.items.length
198
- ? categoryData.categories.items[0]
199
- : null;
200
-
201
- const error = queryResponse?.error;
202
- const loading = queryResponse?.loading;
203
-
204
- // console.log(shopByBrands)
205
-
206
- return {
207
- error,
208
- loading,
209
- shopByBrands,
210
- filteredShopByBrands,
211
- categoryUrlSuffix,
212
- categoryUrlKey,
213
- productType,
214
- availableGroups,
215
- category,
216
- // availableLeagues
217
- };
218
- };
@@ -1,47 +0,0 @@
1
- import { gql } from '@apollo/client';
2
-
3
- export const GET_STORE_CONFIG_DATA = gql`
4
- query getStoreConfigData {
5
- # eslint-disable-next-line @graphql-eslint/require-id-when-available
6
- storeConfig {
7
- store_code
8
- product_url_suffix
9
- category_url_suffix
10
- }
11
- }
12
- `;
13
-
14
- export const GET_COLLECTIBLE_GAME_QUERY = gql`
15
- query getShopByCard($categoryUrlKey: String!, $productType: String) {
16
- shopByCard(categoryUrlKey: $categoryUrlKey, productType: $productType) {
17
- release_type
18
- sets {
19
- set_name
20
- option_id
21
- set_abbreviation
22
- release_date
23
- release_year
24
- release_number
25
- }
26
- }
27
- }
28
- `;
29
-
30
- export const GET_SPORT_CARDS_SETS_QUERY = gql`
31
- query getSportCardsSets($categoryUrlKey: String!, $setType: String) {
32
- sportCardsSets(categoryUrlKey: $categoryUrlKey, setType: $setType) {
33
- group
34
- sets {
35
- set_name
36
- option_id
37
- release_year
38
- }
39
- }
40
- }
41
- `;
42
-
43
- export default {
44
- getStoreConfigData: GET_STORE_CONFIG_DATA,
45
- getCollectibleGameQuery: GET_COLLECTIBLE_GAME_QUERY,
46
- getSportCardsSetsQuery: GET_SPORT_CARDS_SETS_QUERY
47
- };