@jetshop/template-trend 6.2.3 → 6.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.linaria-cache/packages/template-trend/src/components/Auth/LogInPage.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/Auth/Signup/Address.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Auth/Signup/CustomerType.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Auth/Signup/LoginFields.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Auth/Signup/SignUpPage.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Auth/UI/Form.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Cart/CartButton.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Cart/CartFlyout.linaria.css +7 -0
- package/.linaria-cache/packages/template-trend/src/components/Cart/CartItem.linaria.css +8 -0
- package/.linaria-cache/packages/template-trend/src/components/Cart/FreeShipping.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/CategoryHeader.linaria.css +8 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/ActiveFilters.linaria.css +6 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/Filter.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/FilterDrawer.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/FilterDropdownMenu.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/Mobile/ActiveCarot.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/Mobile/FilterButton.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/Mobile/ListAccordion.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/Mobile/shared/styles.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/Filters/RangeFilters.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/ProductCard.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/ProductGrid.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/ProductGridWindow.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/StandardCategoryPage.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/CategoryPage/WindowedCategoryPage.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/ContentPage/ContentPage.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/ContentPage/SubPageNavigation.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/CookieConsent.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Forms/GlobalError.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Forms/Input.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/Forms/InputStatus.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/Forms/Success.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Container.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Content/index.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Footer/Footer.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Footer/SocialLinks.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/Categories/MobileCategories.linaria.css +6 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/CategoryMenu/CategoryMenu.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/CategoryMenu/CategoryMenuContainer.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/CategoryMenu/SubMenuSection.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/CategoryMenu/SubMenuWrapper.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/ChannelSelector/ChannelSelector.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/ChannelSelector/ChannelSelectorModal.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/ChannelSelector/Selector.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/Header.linaria.css +7 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/Logo.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/LogoSearchBar.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/MobileMenu.linaria.css +6 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/RecommendedChannel/ChannelBanner.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/RecommendedChannel/RecommendedChannelSelector.linaria.css +9 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/SearchBar.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/SearchButton.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Header/TopNav.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/MaxWidth.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Layout/Notifications.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/LoadingPage.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/CustomerNameHeader.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/DeleteAccount.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/MyPages.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/MyPagesSidebar.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/MyPagesStartPage.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/Orders/ListOrder.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/Orders/OrderDetail/ListDetail.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/Orders/OrderDetail/OrderTotals.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/Orders/OrderDetail/ShippingPayment.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/Orders/OrderListPage.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/ProfileDeliveryAddresses.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/MyPages/ProfilePage.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/NavigationTree/NavTree.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/Newsletter/NewsletterField.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/NotFoundPage.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Pagination/Pagination.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductList/AddToCart.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductList/Favourite.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductList/Favourites.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductList/Product.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/AddToCart/AddToCartForm.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/AddToCart/ProductToast.linaria.css +9 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/Campaigns.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/ConfigurationSelector.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/Images/ImageContainer.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/PackageProduct/IncludedInPackages.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/PackageProduct/PackageProduct.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/PackageProduct/PackageProductItem.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/PriceHistory.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/ProductInfo.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/ProductInfoAccordion.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/ProductPage.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/ProductPageLoadingState.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/RelatedProducts.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/StockStatus/NotifyWhenBack.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/StockStatus/StockOrb.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/StockStatus/StockStatusIndicator.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/StockStatus/WarehouseStock.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/VariantSelector.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/ProductPage/styledComponents.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/SearchPage/CategoryList.linaria.css +7 -0
- package/.linaria-cache/packages/template-trend/src/components/SearchPage/SearchMeta.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/SearchPage/SearchPage.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/SearchPage/SearchResults.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/SearchPage/SearchTerm.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/SearchPage/WindowedSearchResults.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/Row.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/StartPageCampaign.linaria.css +7 -0
- package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/StartPageCategories.linaria.css +3 -0
- package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/StartPageHTMLContent.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/StartPageHero.linaria.css +6 -0
- package/.linaria-cache/packages/template-trend/src/components/StartPage/Content/StartPageProductGrid.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/StartPage/StartPage.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/Store/Store.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/StoreLocator/StoreList.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/StoreLocator/StoreLocator.linaria.css +5 -0
- package/.linaria-cache/packages/template-trend/src/components/StoreLocator/StoreMap.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/StoreLocator/StoreMarker.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/StoreLocator/StoreSearch.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/StoreLocator/UserLocation.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ui/Badge.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ui/Button.linaria.css +4 -0
- package/.linaria-cache/packages/template-trend/src/components/ui/CloseButton.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/components/ui/Headings.linaria.css +2 -0
- package/.linaria-cache/packages/template-trend/src/components/ui/Spinner.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/fonts/loadFontCss.linaria.css +1 -0
- package/.linaria-cache/packages/template-trend/src/globalStyles.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Breadcrumbs/Breadcrumbs.linaria.css +2 -0
- package/.linaria-cache/packages/ui/Button/Button.linaria.css +2 -0
- package/.linaria-cache/packages/ui/Button/SecondaryButton.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Button/TrendButton.linaria.css +1 -0
- package/.linaria-cache/packages/ui/ChannelSelector/ChannelSelector.linaria.css +3 -0
- package/.linaria-cache/packages/ui/ChannelSelector/ChannelSelectorButtons.linaria.css +2 -0
- package/.linaria-cache/packages/ui/ChannelSelector/LargeSelector.linaria.css +1 -0
- package/.linaria-cache/packages/ui/ChannelSelector/MiniSelector.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Checkbox/Checkbox.linaria.css +4 -0
- package/.linaria-cache/packages/ui/Checkbox/CheckboxGroup.linaria.css +3 -0
- package/.linaria-cache/packages/ui/DropdownMenu/DropdownMenu.linaria.css +2 -0
- package/.linaria-cache/packages/ui/ErrorBoundary/Generic.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Gallery/Gallery.linaria.css +2 -0
- package/.linaria-cache/packages/ui/JetshopText.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Loading/LoadingBar.linaria.css +2 -0
- package/.linaria-cache/packages/ui/Modal/Drawer/Drawer.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Modal/ModalProvider.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Modal/ModalRoot.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Pagination/Pagination.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Pagination/usePagination.linaria.css +1 -0
- package/.linaria-cache/packages/ui/PreOrderDateSelector/PreOrderDateSelector.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Price/Price.linaria.css +4 -0
- package/.linaria-cache/packages/ui/ProductList/Badges.linaria.css +7 -0
- package/.linaria-cache/packages/ui/ProductSpecifications/ProductSpecifications.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Search/SearchField.linaria.css +5 -0
- package/.linaria-cache/packages/ui/Search/SearchPage/SearchMeta.linaria.css +1 -0
- package/.linaria-cache/packages/ui/Select/Components.linaria.css +10 -0
- package/.linaria-cache/packages/ui/Theme/sanitizeCss.linaria.css +1 -0
- package/package.json +5 -5
- package/schema.graphql +5 -0
- package/dist/src/client.js +0 -6
- package/dist/src/client.js.map +0 -1
- package/dist/src/components/Auth/ForgotPassword.js +0 -30
- package/dist/src/components/Auth/ForgotPassword.js.map +0 -1
- package/dist/src/components/Auth/ForgotPassword.loadable.js +0 -7
- package/dist/src/components/Auth/ForgotPassword.loadable.js.map +0 -1
- package/dist/src/components/Auth/LogInPage.js +0 -69
- package/dist/src/components/Auth/LogInPage.js.map +0 -1
- package/dist/src/components/Auth/LogInPage.loadable.js +0 -7
- package/dist/src/components/Auth/LogInPage.loadable.js.map +0 -1
- package/dist/src/components/Auth/ResetPassword.js +0 -30
- package/dist/src/components/Auth/ResetPassword.js.map +0 -1
- package/dist/src/components/Auth/ResetPassword.loadable.js +0 -7
- package/dist/src/components/Auth/ResetPassword.loadable.js.map +0 -1
- package/dist/src/components/Auth/Signup/Address.js +0 -34
- package/dist/src/components/Auth/Signup/Address.js.map +0 -1
- package/dist/src/components/Auth/Signup/CustomerType.js +0 -30
- package/dist/src/components/Auth/Signup/CustomerType.js.map +0 -1
- package/dist/src/components/Auth/Signup/LoginFields.js +0 -31
- package/dist/src/components/Auth/Signup/LoginFields.js.map +0 -1
- package/dist/src/components/Auth/Signup/PID.js +0 -11
- package/dist/src/components/Auth/Signup/PID.js.map +0 -1
- package/dist/src/components/Auth/Signup/SSN.js +0 -29
- package/dist/src/components/Auth/Signup/SSN.js.map +0 -1
- package/dist/src/components/Auth/Signup/SignUpPage.js +0 -78
- package/dist/src/components/Auth/Signup/SignUpPage.js.map +0 -1
- package/dist/src/components/Auth/Signup/SignUpPage.loadable.js +0 -7
- package/dist/src/components/Auth/Signup/SignUpPage.loadable.js.map +0 -1
- package/dist/src/components/Auth/Signup/useSignupValidation.js +0 -29
- package/dist/src/components/Auth/Signup/useSignupValidation.js.map +0 -1
- package/dist/src/components/Auth/UI/Form.js +0 -33
- package/dist/src/components/Auth/UI/Form.js.map +0 -1
- package/dist/src/components/Cart/CartButton.js +0 -46
- package/dist/src/components/Cart/CartButton.js.map +0 -1
- package/dist/src/components/Cart/CartFlyout.js +0 -190
- package/dist/src/components/Cart/CartFlyout.js.map +0 -1
- package/dist/src/components/Cart/CartItem.js +0 -155
- package/dist/src/components/Cart/CartItem.js.map +0 -1
- package/dist/src/components/Cart/FreeShipping.js +0 -51
- package/dist/src/components/Cart/FreeShipping.js.map +0 -1
- package/dist/src/components/CategoryPage/CategoryHeader.js +0 -104
- package/dist/src/components/CategoryPage/CategoryHeader.js.map +0 -1
- package/dist/src/components/CategoryPage/CategoryHeaderLoadingState.js +0 -13
- package/dist/src/components/CategoryPage/CategoryHeaderLoadingState.js.map +0 -1
- package/dist/src/components/CategoryPage/CategoryPage.js +0 -26
- package/dist/src/components/CategoryPage/CategoryPage.js.map +0 -1
- package/dist/src/components/CategoryPage/CategoryPage.loadable.js +0 -7
- package/dist/src/components/CategoryPage/CategoryPage.loadable.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/ActiveFilters.js +0 -79
- package/dist/src/components/CategoryPage/Filters/ActiveFilters.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/BooleanFilters.js +0 -18
- package/dist/src/components/CategoryPage/Filters/BooleanFilters.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/Filter.js +0 -97
- package/dist/src/components/CategoryPage/Filters/Filter.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/FilterDrawer.js +0 -91
- package/dist/src/components/CategoryPage/Filters/FilterDrawer.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/FilterDropdownMenu.js +0 -77
- package/dist/src/components/CategoryPage/Filters/FilterDropdownMenu.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/ListFilters.js +0 -38
- package/dist/src/components/CategoryPage/Filters/ListFilters.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/Mobile/ActiveCarot.js +0 -15
- package/dist/src/components/CategoryPage/Filters/Mobile/ActiveCarot.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/Mobile/FilterButton.js +0 -107
- package/dist/src/components/CategoryPage/Filters/Mobile/FilterButton.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/Mobile/ListAccordion.js +0 -44
- package/dist/src/components/CategoryPage/Filters/Mobile/ListAccordion.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/Mobile/RangeAccordion.js +0 -21
- package/dist/src/components/CategoryPage/Filters/Mobile/RangeAccordion.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/Mobile/SortOrderAccordion.js +0 -30
- package/dist/src/components/CategoryPage/Filters/Mobile/SortOrderAccordion.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/Mobile/shared/styles.js +0 -12
- package/dist/src/components/CategoryPage/Filters/Mobile/shared/styles.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/MultiListFilters.js +0 -37
- package/dist/src/components/CategoryPage/Filters/MultiListFilters.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/RangeFilters.js +0 -122
- package/dist/src/components/CategoryPage/Filters/RangeFilters.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/SortOrders.js +0 -29
- package/dist/src/components/CategoryPage/Filters/SortOrders.js.map +0 -1
- package/dist/src/components/CategoryPage/Filters/index.js +0 -2
- package/dist/src/components/CategoryPage/Filters/index.js.map +0 -1
- package/dist/src/components/CategoryPage/ProductCard.js +0 -98
- package/dist/src/components/CategoryPage/ProductCard.js.map +0 -1
- package/dist/src/components/CategoryPage/ProductGrid.js +0 -89
- package/dist/src/components/CategoryPage/ProductGrid.js.map +0 -1
- package/dist/src/components/CategoryPage/ProductGridWindow.js +0 -48
- package/dist/src/components/CategoryPage/ProductGridWindow.js.map +0 -1
- package/dist/src/components/CategoryPage/StandardCategoryPage.js +0 -51
- package/dist/src/components/CategoryPage/StandardCategoryPage.js.map +0 -1
- package/dist/src/components/CategoryPage/WindowedCategoryPage.js +0 -87
- package/dist/src/components/CategoryPage/WindowedCategoryPage.js.map +0 -1
- package/dist/src/components/CategoryPage/index.js +0 -2
- package/dist/src/components/CategoryPage/index.js.map +0 -1
- package/dist/src/components/ContentPage/ContentPage.js +0 -64
- package/dist/src/components/ContentPage/ContentPage.js.map +0 -1
- package/dist/src/components/ContentPage/ContentPage.loadable.js +0 -7
- package/dist/src/components/ContentPage/ContentPage.loadable.js.map +0 -1
- package/dist/src/components/ContentPage/SubPageNavigation.js +0 -164
- package/dist/src/components/ContentPage/SubPageNavigation.js.map +0 -1
- package/dist/src/components/ContentPage/index.js +0 -2
- package/dist/src/components/ContentPage/index.js.map +0 -1
- package/dist/src/components/CookieConsent.js +0 -84
- package/dist/src/components/CookieConsent.js.map +0 -1
- package/dist/src/components/Forms/GlobalError.js +0 -28
- package/dist/src/components/Forms/GlobalError.js.map +0 -1
- package/dist/src/components/Forms/Input.js +0 -79
- package/dist/src/components/Forms/Input.js.map +0 -1
- package/dist/src/components/Forms/InputStatus.js +0 -42
- package/dist/src/components/Forms/InputStatus.js.map +0 -1
- package/dist/src/components/Forms/Success.js +0 -25
- package/dist/src/components/Forms/Success.js.map +0 -1
- package/dist/src/components/Layout/Container.js +0 -19
- package/dist/src/components/Layout/Container.js.map +0 -1
- package/dist/src/components/Layout/Content/index.js +0 -7
- package/dist/src/components/Layout/Content/index.js.map +0 -1
- package/dist/src/components/Layout/Footer/Footer.js +0 -106
- package/dist/src/components/Layout/Footer/Footer.js.map +0 -1
- package/dist/src/components/Layout/Footer/FooterLinks.js +0 -24
- package/dist/src/components/Layout/Footer/FooterLinks.js.map +0 -1
- package/dist/src/components/Layout/Footer/SocialLinks.js +0 -62
- package/dist/src/components/Layout/Footer/SocialLinks.js.map +0 -1
- package/dist/src/components/Layout/Header/Categories/Categories.js +0 -10
- package/dist/src/components/Layout/Header/Categories/Categories.js.map +0 -1
- package/dist/src/components/Layout/Header/Categories/MobileCategories.js +0 -128
- package/dist/src/components/Layout/Header/Categories/MobileCategories.js.map +0 -1
- package/dist/src/components/Layout/Header/Categories/__util__/getCategoriesByLevel.js +0 -4
- package/dist/src/components/Layout/Header/Categories/__util__/getCategoriesByLevel.js.map +0 -1
- package/dist/src/components/Layout/Header/Categories/__util__/getCategoriesUnderParent.js +0 -4
- package/dist/src/components/Layout/Header/Categories/__util__/getCategoriesUnderParent.js.map +0 -1
- package/dist/src/components/Layout/Header/Categories/__util__/hasChildCategories.js +0 -4
- package/dist/src/components/Layout/Header/Categories/__util__/hasChildCategories.js.map +0 -1
- package/dist/src/components/Layout/Header/CategoryMenu/CategoryMenu.js +0 -21
- package/dist/src/components/Layout/Header/CategoryMenu/CategoryMenu.js.map +0 -1
- package/dist/src/components/Layout/Header/CategoryMenu/CategoryMenuContainer.js +0 -55
- package/dist/src/components/Layout/Header/CategoryMenu/CategoryMenuContainer.js.map +0 -1
- package/dist/src/components/Layout/Header/CategoryMenu/SubMenuSection.js +0 -60
- package/dist/src/components/Layout/Header/CategoryMenu/SubMenuSection.js.map +0 -1
- package/dist/src/components/Layout/Header/CategoryMenu/SubMenuWrapper.js +0 -78
- package/dist/src/components/Layout/Header/CategoryMenu/SubMenuWrapper.js.map +0 -1
- package/dist/src/components/Layout/Header/ChannelSelector/ChannelSelector.js +0 -26
- package/dist/src/components/Layout/Header/ChannelSelector/ChannelSelector.js.map +0 -1
- package/dist/src/components/Layout/Header/ChannelSelector/ChannelSelectorModal.js +0 -36
- package/dist/src/components/Layout/Header/ChannelSelector/ChannelSelectorModal.js.map +0 -1
- package/dist/src/components/Layout/Header/ChannelSelector/LanguageSelector.js +0 -12
- package/dist/src/components/Layout/Header/ChannelSelector/LanguageSelector.js.map +0 -1
- package/dist/src/components/Layout/Header/ChannelSelector/Selector.js +0 -120
- package/dist/src/components/Layout/Header/ChannelSelector/Selector.js.map +0 -1
- package/dist/src/components/Layout/Header/ChannelSelector/flattenCountries.js +0 -15
- package/dist/src/components/Layout/Header/ChannelSelector/flattenCountries.js.map +0 -1
- package/dist/src/components/Layout/Header/Header.js +0 -189
- package/dist/src/components/Layout/Header/Header.js.map +0 -1
- package/dist/src/components/Layout/Header/Logo.js +0 -40
- package/dist/src/components/Layout/Header/Logo.js.map +0 -1
- package/dist/src/components/Layout/Header/LogoSearchBar.js +0 -15
- package/dist/src/components/Layout/Header/LogoSearchBar.js.map +0 -1
- package/dist/src/components/Layout/Header/MobileMenu.js +0 -76
- package/dist/src/components/Layout/Header/MobileMenu.js.map +0 -1
- package/dist/src/components/Layout/Header/RecommendedChannel/ChannelBanner.js +0 -218
- package/dist/src/components/Layout/Header/RecommendedChannel/ChannelBanner.js.map +0 -1
- package/dist/src/components/Layout/Header/RecommendedChannel/RecommendedChannelSelector.js +0 -123
- package/dist/src/components/Layout/Header/RecommendedChannel/RecommendedChannelSelector.js.map +0 -1
- package/dist/src/components/Layout/Header/SearchBar.js +0 -79
- package/dist/src/components/Layout/Header/SearchBar.js.map +0 -1
- package/dist/src/components/Layout/Header/SearchButton.js +0 -50
- package/dist/src/components/Layout/Header/SearchButton.js.map +0 -1
- package/dist/src/components/Layout/Header/SubCategoryNav.js +0 -71
- package/dist/src/components/Layout/Header/SubCategoryNav.js.map +0 -1
- package/dist/src/components/Layout/Header/TopNav.js +0 -63
- package/dist/src/components/Layout/Header/TopNav.js.map +0 -1
- package/dist/src/components/Layout/MaxWidth.js +0 -19
- package/dist/src/components/Layout/MaxWidth.js.map +0 -1
- package/dist/src/components/Layout/Notifications.js +0 -70
- package/dist/src/components/Layout/Notifications.js.map +0 -1
- package/dist/src/components/LoadingPage.js +0 -19
- package/dist/src/components/LoadingPage.js.map +0 -1
- package/dist/src/components/LogOut.loadable.js +0 -7
- package/dist/src/components/LogOut.loadable.js.map +0 -1
- package/dist/src/components/MyPages/ChangePasswordPage.js +0 -26
- package/dist/src/components/MyPages/ChangePasswordPage.js.map +0 -1
- package/dist/src/components/MyPages/CustomerNameHeader.js +0 -28
- package/dist/src/components/MyPages/CustomerNameHeader.js.map +0 -1
- package/dist/src/components/MyPages/DeleteAccount.js +0 -47
- package/dist/src/components/MyPages/DeleteAccount.js.map +0 -1
- package/dist/src/components/MyPages/MyPages.js +0 -152
- package/dist/src/components/MyPages/MyPages.js.map +0 -1
- package/dist/src/components/MyPages/MyPages.loadable.js +0 -7
- package/dist/src/components/MyPages/MyPages.loadable.js.map +0 -1
- package/dist/src/components/MyPages/MyPagesBreadcrumbs.js +0 -18
- package/dist/src/components/MyPages/MyPagesBreadcrumbs.js.map +0 -1
- package/dist/src/components/MyPages/MyPagesSidebar.js +0 -81
- package/dist/src/components/MyPages/MyPagesSidebar.js.map +0 -1
- package/dist/src/components/MyPages/MyPagesStartPage.js +0 -99
- package/dist/src/components/MyPages/MyPagesStartPage.js.map +0 -1
- package/dist/src/components/MyPages/Newsletter.js +0 -33
- package/dist/src/components/MyPages/Newsletter.js.map +0 -1
- package/dist/src/components/MyPages/Orders/ListOrder.js +0 -159
- package/dist/src/components/MyPages/Orders/ListOrder.js.map +0 -1
- package/dist/src/components/MyPages/Orders/OrderDetail/Contact.js +0 -38
- package/dist/src/components/MyPages/Orders/OrderDetail/Contact.js.map +0 -1
- package/dist/src/components/MyPages/Orders/OrderDetail/ListDetail.js +0 -196
- package/dist/src/components/MyPages/Orders/OrderDetail/ListDetail.js.map +0 -1
- package/dist/src/components/MyPages/Orders/OrderDetail/OrderTotals.js +0 -81
- package/dist/src/components/MyPages/Orders/OrderDetail/OrderTotals.js.map +0 -1
- package/dist/src/components/MyPages/Orders/OrderDetail/ShippingPayment.js +0 -37
- package/dist/src/components/MyPages/Orders/OrderDetail/ShippingPayment.js.map +0 -1
- package/dist/src/components/MyPages/Orders/OrderListPage.js +0 -56
- package/dist/src/components/MyPages/Orders/OrderListPage.js.map +0 -1
- package/dist/src/components/MyPages/ProfileDeliveryAddresses.js +0 -93
- package/dist/src/components/MyPages/ProfileDeliveryAddresses.js.map +0 -1
- package/dist/src/components/MyPages/ProfilePage.js +0 -109
- package/dist/src/components/MyPages/ProfilePage.js.map +0 -1
- package/dist/src/components/MyPages/ProfileView.js +0 -42
- package/dist/src/components/MyPages/ProfileView.js.map +0 -1
- package/dist/src/components/NavigationTree/NavTree.js +0 -53
- package/dist/src/components/NavigationTree/NavTree.js.map +0 -1
- package/dist/src/components/NavigationTree/NavTreePage.js +0 -7
- package/dist/src/components/NavigationTree/NavTreePage.js.map +0 -1
- package/dist/src/components/NavigationTree/NavTreePage.loadable.js +0 -7
- package/dist/src/components/NavigationTree/NavTreePage.loadable.js.map +0 -1
- package/dist/src/components/Newsletter/NewsletterField.js +0 -93
- package/dist/src/components/Newsletter/NewsletterField.js.map +0 -1
- package/dist/src/components/NotFoundPage.js +0 -59
- package/dist/src/components/NotFoundPage.js.map +0 -1
- package/dist/src/components/NotFoundPage.loadable.js +0 -7
- package/dist/src/components/NotFoundPage.loadable.js.map +0 -1
- package/dist/src/components/Pages/About.js +0 -7
- package/dist/src/components/Pages/About.js.map +0 -1
- package/dist/src/components/Pagination/Pagination.js +0 -29
- package/dist/src/components/Pagination/Pagination.js.map +0 -1
- package/dist/src/components/Pagination/PaginationWrapper.js +0 -16
- package/dist/src/components/Pagination/PaginationWrapper.js.map +0 -1
- package/dist/src/components/PreviewRoute.loadable.js +0 -7
- package/dist/src/components/PreviewRoute.loadable.js.map +0 -1
- package/dist/src/components/ProductList/AddToCart.js +0 -46
- package/dist/src/components/ProductList/AddToCart.js.map +0 -1
- package/dist/src/components/ProductList/Favourite.js +0 -46
- package/dist/src/components/ProductList/Favourite.js.map +0 -1
- package/dist/src/components/ProductList/FavouriteCount.js +0 -15
- package/dist/src/components/ProductList/FavouriteCount.js.map +0 -1
- package/dist/src/components/ProductList/Favourites.js +0 -187
- package/dist/src/components/ProductList/Favourites.js.map +0 -1
- package/dist/src/components/ProductList/Lister.js +0 -22
- package/dist/src/components/ProductList/Lister.js.map +0 -1
- package/dist/src/components/ProductList/Product.js +0 -62
- package/dist/src/components/ProductList/Product.js.map +0 -1
- package/dist/src/components/ProductList/SelectVariant.js +0 -47
- package/dist/src/components/ProductList/SelectVariant.js.map +0 -1
- package/dist/src/components/ProductList/productListQueries.js +0 -15
- package/dist/src/components/ProductList/productListQueries.js.map +0 -1
- package/dist/src/components/ProductPage/AddToCart/AddToCartForm.js +0 -110
- package/dist/src/components/ProductPage/AddToCart/AddToCartForm.js.map +0 -1
- package/dist/src/components/ProductPage/AddToCart/ProductToast.js +0 -118
- package/dist/src/components/ProductPage/AddToCart/ProductToast.js.map +0 -1
- package/dist/src/components/ProductPage/AddToCart/useProductToast.js +0 -21
- package/dist/src/components/ProductPage/AddToCart/useProductToast.js.map +0 -1
- package/dist/src/components/ProductPage/Campaigns.js +0 -43
- package/dist/src/components/ProductPage/Campaigns.js.map +0 -1
- package/dist/src/components/ProductPage/ConfigurationSelector.js +0 -62
- package/dist/src/components/ProductPage/ConfigurationSelector.js.map +0 -1
- package/dist/src/components/ProductPage/Images/ImageContainer.js +0 -45
- package/dist/src/components/ProductPage/Images/ImageContainer.js.map +0 -1
- package/dist/src/components/ProductPage/Images/Thumbnails.js +0 -32
- package/dist/src/components/ProductPage/Images/Thumbnails.js.map +0 -1
- package/dist/src/components/ProductPage/PackageProduct/IncludedInPackages.js +0 -32
- package/dist/src/components/ProductPage/PackageProduct/IncludedInPackages.js.map +0 -1
- package/dist/src/components/ProductPage/PackageProduct/PackageProduct.js +0 -170
- package/dist/src/components/ProductPage/PackageProduct/PackageProduct.js.map +0 -1
- package/dist/src/components/ProductPage/PackageProduct/PackageProductItem.js +0 -92
- package/dist/src/components/ProductPage/PackageProduct/PackageProductItem.js.map +0 -1
- package/dist/src/components/ProductPage/PriceHistory.js +0 -99
- package/dist/src/components/ProductPage/PriceHistory.js.map +0 -1
- package/dist/src/components/ProductPage/ProductInfo.js +0 -55
- package/dist/src/components/ProductPage/ProductInfo.js.map +0 -1
- package/dist/src/components/ProductPage/ProductInfoAccordion.js +0 -46
- package/dist/src/components/ProductPage/ProductInfoAccordion.js.map +0 -1
- package/dist/src/components/ProductPage/ProductPage.js +0 -174
- package/dist/src/components/ProductPage/ProductPage.js.map +0 -1
- package/dist/src/components/ProductPage/ProductPage.loadable.js +0 -7
- package/dist/src/components/ProductPage/ProductPage.loadable.js.map +0 -1
- package/dist/src/components/ProductPage/ProductPageLoadingState.js +0 -55
- package/dist/src/components/ProductPage/ProductPageLoadingState.js.map +0 -1
- package/dist/src/components/ProductPage/QuantityContainer.js +0 -21
- package/dist/src/components/ProductPage/QuantityContainer.js.map +0 -1
- package/dist/src/components/ProductPage/RelatedProducts.js +0 -45
- package/dist/src/components/ProductPage/RelatedProducts.js.map +0 -1
- package/dist/src/components/ProductPage/SizePicker.js +0 -37
- package/dist/src/components/ProductPage/SizePicker.js.map +0 -1
- package/dist/src/components/ProductPage/StockStatus/NotifyWhenBack.js +0 -93
- package/dist/src/components/ProductPage/StockStatus/NotifyWhenBack.js.map +0 -1
- package/dist/src/components/ProductPage/StockStatus/StockOrb.js +0 -31
- package/dist/src/components/ProductPage/StockStatus/StockOrb.js.map +0 -1
- package/dist/src/components/ProductPage/StockStatus/StockStatusIndicator.js +0 -33
- package/dist/src/components/ProductPage/StockStatus/StockStatusIndicator.js.map +0 -1
- package/dist/src/components/ProductPage/StockStatus/WarehouseStock.js +0 -255
- package/dist/src/components/ProductPage/StockStatus/WarehouseStock.js.map +0 -1
- package/dist/src/components/ProductPage/VariantSelector.js +0 -138
- package/dist/src/components/ProductPage/VariantSelector.js.map +0 -1
- package/dist/src/components/ProductPage/styledComponents.js +0 -11
- package/dist/src/components/ProductPage/styledComponents.js.map +0 -1
- package/dist/src/components/ProductPage/useProductValidationMessage.js +0 -24
- package/dist/src/components/ProductPage/useProductValidationMessage.js.map +0 -1
- package/dist/src/components/SearchPage/CategoryList.js +0 -129
- package/dist/src/components/SearchPage/CategoryList.js.map +0 -1
- package/dist/src/components/SearchPage/EmptySearchResults.js +0 -23
- package/dist/src/components/SearchPage/EmptySearchResults.js.map +0 -1
- package/dist/src/components/SearchPage/SearchMeta.js +0 -27
- package/dist/src/components/SearchPage/SearchMeta.js.map +0 -1
- package/dist/src/components/SearchPage/SearchPage.js +0 -52
- package/dist/src/components/SearchPage/SearchPage.js.map +0 -1
- package/dist/src/components/SearchPage/SearchPage.loadable.js +0 -7
- package/dist/src/components/SearchPage/SearchPage.loadable.js.map +0 -1
- package/dist/src/components/SearchPage/SearchResults.js +0 -60
- package/dist/src/components/SearchPage/SearchResults.js.map +0 -1
- package/dist/src/components/SearchPage/SearchTerm.js +0 -11
- package/dist/src/components/SearchPage/SearchTerm.js.map +0 -1
- package/dist/src/components/SearchPage/WindowedSearchResults.js +0 -80
- package/dist/src/components/SearchPage/WindowedSearchResults.js.map +0 -1
- package/dist/src/components/SearchPage/index.js +0 -3
- package/dist/src/components/SearchPage/index.js.map +0 -1
- package/dist/src/components/Shop.js +0 -82
- package/dist/src/components/Shop.js.map +0 -1
- package/dist/src/components/StartPage/Content/Row.js +0 -40
- package/dist/src/components/StartPage/Content/Row.js.map +0 -1
- package/dist/src/components/StartPage/Content/StartPageCampaign.js +0 -112
- package/dist/src/components/StartPage/Content/StartPageCampaign.js.map +0 -1
- package/dist/src/components/StartPage/Content/StartPageCategories.js +0 -80
- package/dist/src/components/StartPage/Content/StartPageCategories.js.map +0 -1
- package/dist/src/components/StartPage/Content/StartPageHTMLContent.js +0 -74
- package/dist/src/components/StartPage/Content/StartPageHTMLContent.js.map +0 -1
- package/dist/src/components/StartPage/Content/StartPageHero.js +0 -73
- package/dist/src/components/StartPage/Content/StartPageHero.js.map +0 -1
- package/dist/src/components/StartPage/Content/StartPageProductGrid.js +0 -69
- package/dist/src/components/StartPage/Content/StartPageProductGrid.js.map +0 -1
- package/dist/src/components/StartPage/StartPage.js +0 -37
- package/dist/src/components/StartPage/StartPage.js.map +0 -1
- package/dist/src/components/StartPage/StartPage.loadable.js +0 -7
- package/dist/src/components/StartPage/StartPage.loadable.js.map +0 -1
- package/dist/src/components/StartPage/index.js +0 -3
- package/dist/src/components/StartPage/index.js.map +0 -1
- package/dist/src/components/Store/Store.js +0 -26
- package/dist/src/components/Store/Store.js.map +0 -1
- package/dist/src/components/Store/Store.loadable.js +0 -7
- package/dist/src/components/Store/Store.loadable.js.map +0 -1
- package/dist/src/components/Store/StoreDetail.js +0 -13
- package/dist/src/components/Store/StoreDetail.js.map +0 -1
- package/dist/src/components/StoreLocator/StoreList.js +0 -160
- package/dist/src/components/StoreLocator/StoreList.js.map +0 -1
- package/dist/src/components/StoreLocator/StoreLocator.js +0 -133
- package/dist/src/components/StoreLocator/StoreLocator.js.map +0 -1
- package/dist/src/components/StoreLocator/StoreLocator.loadable.js +0 -7
- package/dist/src/components/StoreLocator/StoreLocator.loadable.js.map +0 -1
- package/dist/src/components/StoreLocator/StoreMap.js +0 -116
- package/dist/src/components/StoreLocator/StoreMap.js.map +0 -1
- package/dist/src/components/StoreLocator/StoreMarker.js +0 -63
- package/dist/src/components/StoreLocator/StoreMarker.js.map +0 -1
- package/dist/src/components/StoreLocator/StoreSearch.js +0 -47
- package/dist/src/components/StoreLocator/StoreSearch.js.map +0 -1
- package/dist/src/components/StoreLocator/UserLocation.js +0 -76
- package/dist/src/components/StoreLocator/UserLocation.js.map +0 -1
- package/dist/src/components/StoreLocator/useLocationState.js +0 -14
- package/dist/src/components/StoreLocator/useLocationState.js.map +0 -1
- package/dist/src/components/StoreLocator/useMapState.js +0 -16
- package/dist/src/components/StoreLocator/useMapState.js.map +0 -1
- package/dist/src/components/Theme.js +0 -6
- package/dist/src/components/Theme.js.map +0 -1
- package/dist/src/components/ui/Badge.js +0 -33
- package/dist/src/components/ui/Badge.js.map +0 -1
- package/dist/src/components/ui/Button.js +0 -93
- package/dist/src/components/ui/Button.js.map +0 -1
- package/dist/src/components/ui/CloseButton.js +0 -18
- package/dist/src/components/ui/CloseButton.js.map +0 -1
- package/dist/src/components/ui/Divider.js +0 -11
- package/dist/src/components/ui/Divider.js.map +0 -1
- package/dist/src/components/ui/Headings.js +0 -19
- package/dist/src/components/ui/Headings.js.map +0 -1
- package/dist/src/components/ui/RadioGroupWithLabels.js +0 -16
- package/dist/src/components/ui/RadioGroupWithLabels.js.map +0 -1
- package/dist/src/components/ui/Spinner.js +0 -39
- package/dist/src/components/ui/Spinner.js.map +0 -1
- package/dist/src/fonts/loadFontCss.js +0 -51
- package/dist/src/fonts/loadFontCss.js.map +0 -1
- package/dist/src/globalStyles.js +0 -83
- package/dist/src/globalStyles.js.map +0 -1
- package/dist/src/server.js +0 -12
- package/dist/src/server.js.map +0 -1
- package/dist/src/shop.config.js +0 -68
- package/dist/src/shop.config.js.map +0 -1
- package/dist/src/theme-variables.js +0 -65
- package/dist/src/theme-variables.js.map +0 -1
- package/dist/translations/cs.json +0 -788
- package/dist/translations/da.json +0 -791
- package/dist/translations/de.json +0 -788
- package/dist/translations/en.json +0 -794
- package/dist/translations/es.json +0 -788
- package/dist/translations/et.json +0 -788
- package/dist/translations/fi.json +0 -794
- package/dist/translations/fr.json +0 -788
- package/dist/translations/index.js +0 -18
- package/dist/translations/index.js.map +0 -1
- package/dist/translations/it.json +0 -788
- package/dist/translations/lv.json +0 -788
- package/dist/translations/nb.json +0 -791
- package/dist/translations/nl.json +0 -788
- package/dist/translations/pl.json +0 -788
- package/dist/translations/ru.json +0 -788
- package/dist/translations/sk.json +0 -788
- package/dist/translations/sr.json +0 -464
- package/dist/translations/sv.json +0 -794
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import t from '@jetshop/intl';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { css } from 'linaria';
|
|
4
|
-
import { theme } from '../../../Theme';
|
|
5
|
-
import { Contact } from './Contact';
|
|
6
|
-
export function ShippingPayment({ deliveryInfo, billingInfo, paymentMethod }) {
|
|
7
|
-
return (React.createElement("section", { className: shippingAndPayment },
|
|
8
|
-
React.createElement("div", { className: "shipping-billing" },
|
|
9
|
-
React.createElement(Contact, { contactInfo: deliveryInfo, title: "Shipping Info" }),
|
|
10
|
-
React.createElement(Contact, { contactInfo: billingInfo, title: "Billing Info" })),
|
|
11
|
-
paymentMethod && (React.createElement("section", { className: "payment-method" },
|
|
12
|
-
React.createElement("h3", null, t('Payment method')),
|
|
13
|
-
paymentMethod.name))));
|
|
14
|
-
}
|
|
15
|
-
const shippingAndPayment = css `
|
|
16
|
-
display: flex;
|
|
17
|
-
border-top: 1px solid ${theme.colors.tablegrey};
|
|
18
|
-
|
|
19
|
-
${theme.below.md} {
|
|
20
|
-
flex-direction: column;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.shipping-billing {
|
|
24
|
-
flex: 0 0 50%;
|
|
25
|
-
display: flex;
|
|
26
|
-
|
|
27
|
-
> *:first-child {
|
|
28
|
-
margin-right: 4em;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.payment-method {
|
|
33
|
-
padding: 1em;
|
|
34
|
-
border-left: 1px solid ${theme.colors.tablegrey};
|
|
35
|
-
}
|
|
36
|
-
`;
|
|
37
|
-
//# sourceMappingURL=ShippingPayment.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShippingPayment.js","sourceRoot":"","sources":["../../../../../../src/components/MyPages/Orders/OrderDetail/ShippingPayment.js"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,eAAe,CAAC;AAC9B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,UAAU,eAAe,CAAC,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE;IAC1E,OAAO,CACL,iCAAS,SAAS,EAAE,kBAAkB;QACpC,6BAAK,SAAS,EAAC,kBAAkB;YAC/B,oBAAC,OAAO,IAAC,WAAW,EAAE,YAAY,EAAE,KAAK,EAAC,eAAe,GAAG;YAC5D,oBAAC,OAAO,IAAC,WAAW,EAAE,WAAW,EAAE,KAAK,EAAC,cAAc,GAAG,CACtD;QACL,aAAa,IAAI,CAChB,iCAAS,SAAS,EAAC,gBAAgB;YACjC,gCAAK,CAAC,CAAC,gBAAgB,CAAC,CAAM;YAC7B,aAAa,CAAC,IAAI,CACX,CACX,CACO,CACX,CAAC;AACJ,CAAC;AACD,MAAM,kBAAkB,GAAG,GAAG,CAAA;;0BAEJ,KAAK,CAAC,MAAM,CAAC,SAAS;;IAE5C,KAAK,CAAC,KAAK,CAAC,EAAE;;;;;;;;;;;;;;;6BAeW,KAAK,CAAC,MAAM,CAAC,SAAS;;CAElD,CAAC"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import Head from '@jetshop/core/components/Head';
|
|
2
|
-
import useCustomerOrdersQuery from '@jetshop/core/hooks/useCustomerOrdersQuery';
|
|
3
|
-
import t from '@jetshop/intl';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { styled } from 'linaria/react';
|
|
6
|
-
import { smallCaps } from '../../ui/Headings';
|
|
7
|
-
import CustomerOrders from './CustomerOrders.gql';
|
|
8
|
-
import { ListOrder } from './ListOrder';
|
|
9
|
-
import { Intl } from '@jetshop/intl';
|
|
10
|
-
import { theme } from '../../Theme';
|
|
11
|
-
const OrderListPageWrapper = styled('div') `
|
|
12
|
-
h1 {
|
|
13
|
-
margin-bottom: 2em;
|
|
14
|
-
${theme.below.sm} {
|
|
15
|
-
margin-bottom: 1em;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
&.main-wrapper {
|
|
19
|
-
${theme.below.sm} {
|
|
20
|
-
margin-top: 12px;
|
|
21
|
-
padding-left: 12px;
|
|
22
|
-
padding-right: 12px;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
`;
|
|
26
|
-
export default function OrderListPage() {
|
|
27
|
-
const { orders, loading, totalOrders } = useCustomerOrdersQuery({
|
|
28
|
-
query: CustomerOrders
|
|
29
|
-
});
|
|
30
|
-
if (loading) {
|
|
31
|
-
return (React.createElement(OrderListPageWrapper, { className: "main-wrapper" },
|
|
32
|
-
React.createElement(Heading, null),
|
|
33
|
-
React.createElement(ListOrder, { placeholder: true })));
|
|
34
|
-
}
|
|
35
|
-
if (!loading && orders.length === 0) {
|
|
36
|
-
return (React.createElement(OrderListPageWrapper, { className: "main-wrapper" },
|
|
37
|
-
React.createElement(Heading, null),
|
|
38
|
-
React.createElement("p", { style: { marginBottom: '2em' } }, t('No orders found')),
|
|
39
|
-
React.createElement(ListOrder, { placeholder: true, className: "empty" })));
|
|
40
|
-
}
|
|
41
|
-
return (React.createElement(OrderListPageWrapper, { className: "main-wrapper" },
|
|
42
|
-
React.createElement(Heading, { totalOrders: totalOrders }),
|
|
43
|
-
orders.map((order, idx) => (React.createElement(ListOrder, { order: order, key: order.id, index: orders.length - idx, style: { marginTop: idx > 0 ? '2em' : 0 } })))));
|
|
44
|
-
}
|
|
45
|
-
function Heading({ totalOrders }) {
|
|
46
|
-
return (React.createElement(React.Fragment, null,
|
|
47
|
-
React.createElement(Intl, null, t => React.createElement(Head, { data: { title: t('My Orders'), metaTags: [] } })),
|
|
48
|
-
React.createElement("h1", { className: smallCaps },
|
|
49
|
-
t('My Orders'),
|
|
50
|
-
" ",
|
|
51
|
-
totalOrders && React.createElement(React.Fragment, null,
|
|
52
|
-
"(",
|
|
53
|
-
totalOrders,
|
|
54
|
-
")"))));
|
|
55
|
-
}
|
|
56
|
-
//# sourceMappingURL=OrderListPage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OrderListPage.js","sourceRoot":"","sources":["../../../../../src/components/MyPages/Orders/OrderListPage.js"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,+BAA+B,CAAC;AACjD,OAAO,sBAAsB,MAAM,4CAA4C,CAAC;AAChF,OAAO,CAAC,MAAM,eAAe,CAAC;AAC9B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,SAAS,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AS,IACR,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,KAAK,CAAC,EAAE,EACb,KAAK,EAAE,MAAM,CAAC,MAAM,GAAG,GAAG,EAC1B,KAAK,EAAE,EAAE,SAAS,EAAE,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,GACzC,CACH,CAAC,CACmB,CACxB,CAAC;AACJ,CAAC;AAED,SAAS,OAAO,CAAC,EAAE,WAAW,EAAE;IAC9B,OAAO,CACL;QACE,oBAAC,IAAI,QACF,CAAC,CAAC,EAAE,CAAC,oBAAC,IAAI,IAAC,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,GAAI,CACxD;QAEP,4BAAI,SAAS,EAAE,SAAS;YACrB,CAAC,CAAC,WAAW,CAAC;;YAAG,WAAW,IAAI;;gBAAI,WAAW;oBAAK,CAClD,CACJ,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import React, { useRef, useState, useMemo } from 'react';
|
|
2
|
-
import { useCustomerQuery } from '@jetshop/core/components/Auth/useCustomer';
|
|
3
|
-
import customerProfileQuery from './customerProfileQuery.gql';
|
|
4
|
-
import t from '@jetshop/intl';
|
|
5
|
-
import { BlockTitle, ButtonContainer, PrimaryButton, WhiteButton } from './ProfilePage';
|
|
6
|
-
import { styled } from 'linaria/react';
|
|
7
|
-
import { CustomerUpdateFormProvider } from '@jetshop/core/components/Auth/CustomerUpdateForm';
|
|
8
|
-
import { smallSection } from '../Auth/UI/Form';
|
|
9
|
-
import InputWithLabel, { Label, Wrapper } from '../Forms/Input';
|
|
10
|
-
import { CountriesInput } from '@jetshop/ui/Auth/FormFields/CountriesInput';
|
|
11
|
-
import { GlobalError } from '../Forms/GlobalError';
|
|
12
|
-
const Container = styled('div') `
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-wrap: wrap;
|
|
15
|
-
margin-top: 1.5rem;
|
|
16
|
-
margin-bottom: 1.5rem;
|
|
17
|
-
margin-left: -0.75rem;
|
|
18
|
-
margin-right: -0.75rem;
|
|
19
|
-
`;
|
|
20
|
-
const DeliveryAddressEdit = ({ setEditing, addressId }) => (React.createElement(CustomerUpdateFormProvider, { deliveryAddressId: addressId, customerProfileQuery: customerProfileQuery, onSubmitSuccess: () => setEditing(false), render: ({ values, isSubmitting, deliveryAddressFields, setCountryCode, isValid, status, countries }) => {
|
|
21
|
-
const deliveryAddressIndex = values.deliveryAddresses.findIndex(a => a.id === addressId);
|
|
22
|
-
const key = `deliveryAddresses[${deliveryAddressIndex}]`;
|
|
23
|
-
return (React.createElement("section", { className: smallSection },
|
|
24
|
-
React.createElement(Wrapper, null,
|
|
25
|
-
React.createElement(Label, { disabled: isSubmitting, htmlFor: `${key}.countryCode` },
|
|
26
|
-
React.createElement("span", null, t('Country'))),
|
|
27
|
-
React.createElement(CountriesInput, { name: `${key}.countryCode`, label: t(`${key}.countryCode`), disabled: isSubmitting, countries: countries, onChange: e => {
|
|
28
|
-
setCountryCode(e.target.value);
|
|
29
|
-
} })),
|
|
30
|
-
deliveryAddressFields.map(({ inputProps }) => {
|
|
31
|
-
return React.createElement(InputWithLabel, Object.assign({}, inputProps, { disabled: isSubmitting }));
|
|
32
|
-
}),
|
|
33
|
-
status && status.globalError && (React.createElement(GlobalError, { style: { marginBottom: '2em' } }, status.globalError)),
|
|
34
|
-
React.createElement(ButtonContainer, null,
|
|
35
|
-
React.createElement(WhiteButton, { onClick: () => setEditing(false), secondary: true }, t('Cancel')),
|
|
36
|
-
React.createElement(PrimaryButton, { type: "submit", disabled: isSubmitting || !isValid }, t('Save')))));
|
|
37
|
-
} }));
|
|
38
|
-
const DeliveryAddressView = ({ address, setEditing }) => {
|
|
39
|
-
const firstName = address.find(a => a.name === 'firstName').value;
|
|
40
|
-
const lastName = address.find(a => a.name === 'lastName').value;
|
|
41
|
-
const fields = useMemo(() => address.filter(({ id }) => {
|
|
42
|
-
// Skip displaying the following fields when iterating through delivery address fields
|
|
43
|
-
const blacklist = ['firstName', 'lastName'];
|
|
44
|
-
if (blacklist.indexOf(id) !== -1) {
|
|
45
|
-
return false;
|
|
46
|
-
}
|
|
47
|
-
return true;
|
|
48
|
-
}), [address]);
|
|
49
|
-
return (React.createElement(React.Fragment, null,
|
|
50
|
-
React.createElement("dl", { className: 'profile-form' },
|
|
51
|
-
React.createElement("dt", null, t('Name')),
|
|
52
|
-
React.createElement("dd", null,
|
|
53
|
-
firstName,
|
|
54
|
-
" ",
|
|
55
|
-
lastName),
|
|
56
|
-
fields.map(({ label, id, value }) => (React.createElement(React.Fragment, { key: id },
|
|
57
|
-
React.createElement("dt", null, label),
|
|
58
|
-
React.createElement("dd", null, value || t('n/a')))))),
|
|
59
|
-
React.createElement(ButtonContainer, null,
|
|
60
|
-
React.createElement(WhiteButton, { onClick: () => setEditing(true), secondary: true }, t('Update information')))));
|
|
61
|
-
};
|
|
62
|
-
const DeliveryAddressBlock = ({ addressId }) => {
|
|
63
|
-
const { deliveryAddress } = useCustomerQuery({
|
|
64
|
-
query: customerProfileQuery,
|
|
65
|
-
deliveryAddressId: addressId
|
|
66
|
-
});
|
|
67
|
-
const [isEditing, setEditingState] = useState(false);
|
|
68
|
-
const deliveryAddressBlockRef = useRef(null);
|
|
69
|
-
function setEditing(nextState) {
|
|
70
|
-
setEditingState(nextState);
|
|
71
|
-
const $el = deliveryAddressBlockRef.current;
|
|
72
|
-
if ($el && $el.scrollIntoView) {
|
|
73
|
-
$el.scrollIntoView({
|
|
74
|
-
behavior: 'smooth'
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
return (React.createElement("div", { className: "block half-block", ref: deliveryAddressBlockRef }, isEditing ? (React.createElement(React.Fragment, null,
|
|
79
|
-
React.createElement(BlockTitle, null, t('Delivery Address')),
|
|
80
|
-
React.createElement(DeliveryAddressEdit, { setEditing: setEditing, addressId: addressId }))) : (React.createElement(React.Fragment, null,
|
|
81
|
-
React.createElement(BlockTitle, null, t('Delivery Address')),
|
|
82
|
-
React.createElement(DeliveryAddressView, { setEditing: setEditing, address: deliveryAddress })))));
|
|
83
|
-
};
|
|
84
|
-
const ProfileDeliveryAddresses = () => {
|
|
85
|
-
const { customer } = useCustomerQuery({
|
|
86
|
-
query: customerProfileQuery
|
|
87
|
-
});
|
|
88
|
-
return customer &&
|
|
89
|
-
customer.deliveryAddresses &&
|
|
90
|
-
customer.deliveryAddresses.length > 0 ? (React.createElement(Container, null, customer.deliveryAddresses.map(({ id }, index) => (React.createElement(DeliveryAddressBlock, { addressId: id, key: index }))))) : null;
|
|
91
|
-
};
|
|
92
|
-
export default ProfileDeliveryAddresses;
|
|
93
|
-
//# sourceMappingURL=ProfileDeliveryAddresses.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileDeliveryAddresses.js","sourceRoot":"","sources":["../../../../src/components/MyPages/ProfileDeliveryAddresses.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,oBAAoB,MAAM,4BAA4B,CAAC;AAC9D,OAAO,CAAC,MAAM,eAAe,CAAC;AAC9B,OAAO,EACL,UAAU,EACV,eAAe,EACf,aAAa,EACb,WAAW,EACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAC9F,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,cAAc,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE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C,CACX;QACE,oBAAC,UAAU,QAAE,CAAC,CAAC,kBAAkB,CAAC,CAAc;QAChD,oBAAC,mBAAmB,IAAC,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,GAAI,CACpE,CACJ,CAAC,CAAC,CAAC,CACF;QACE,oBAAC,UAAU,QAAE,CAAC,CAAC,kBAAkB,CAAC,CAAc;QAChD,oBAAC,mBAAmB,IAClB,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,eAAe,GACxB,CACD,CACJ,CACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,wBAAwB,GAAG,GAAG,EAAE;IACpC,MAAM,EAAE,QAAQ,EAAE,GAAG,gBAAgB,CAAC;QACpC,KAAK,EAAE,oBAAoB;KAC5B,CAAC,CAAC;IAEH,OAAO,QAAQ;QACb,QAAQ,CAAC,iBAAiB;QAC1B,QAAQ,CAAC,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CACxC,oBAAC,SAAS,QACP,QAAQ,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,CACjD,oBAAC,oBAAoB,IAAC,SAAS,EAAE,EAAE,EAAE,GAAG,EAAE,KAAK,GAAI,CACpD,CAAC,CACQ,CACb,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { CustomerUpdateFormProvider } from '@jetshop/core/components/Auth/CustomerUpdateForm';
|
|
2
|
-
import { useCustomerQuery } from '@jetshop/core/components/Auth/useCustomer';
|
|
3
|
-
import Head from '@jetshop/core/components/Head';
|
|
4
|
-
import useLogError from '@jetshop/core/hooks/useLogError';
|
|
5
|
-
import t, { Intl } from '@jetshop/intl';
|
|
6
|
-
import { CountriesInput } from '@jetshop/ui/Auth/FormFields/CountriesInput';
|
|
7
|
-
import React, { useRef, useState } from 'react';
|
|
8
|
-
import { styled } from 'linaria/react';
|
|
9
|
-
import { GlobalError } from '../Forms/GlobalError';
|
|
10
|
-
import InputWithLabel, { Label, Wrapper } from '../Forms/Input';
|
|
11
|
-
import LoadingPage from '../LoadingPage';
|
|
12
|
-
import { smallCaps } from '../ui/Headings';
|
|
13
|
-
import customerProfileQuery from './customerProfileQuery.gql';
|
|
14
|
-
import { DeleteAccount } from './DeleteAccount';
|
|
15
|
-
import { Newsletter } from './Newsletter';
|
|
16
|
-
import ProfileDeliveryAddresses from './ProfileDeliveryAddresses';
|
|
17
|
-
import { ProfileView } from './ProfileView';
|
|
18
|
-
import { theme } from '../Theme';
|
|
19
|
-
import { smallSection } from '../Auth/UI/Form';
|
|
20
|
-
export const BlockTitle = styled('h3') `
|
|
21
|
-
margin-bottom: 2rem;
|
|
22
|
-
`;
|
|
23
|
-
export const ButtonContainer = styled('div') `
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: row;
|
|
26
|
-
justify-content: space-between;
|
|
27
|
-
${theme.below.sm} {
|
|
28
|
-
flex-direction: column;
|
|
29
|
-
}
|
|
30
|
-
`;
|
|
31
|
-
export const PrimaryButton = styled('button') `
|
|
32
|
-
height: 42px;
|
|
33
|
-
padding: 0.5rem 1rem;
|
|
34
|
-
border: 1px solid #dedede;
|
|
35
|
-
${theme.above.sm} {
|
|
36
|
-
max-width: 204px;
|
|
37
|
-
}
|
|
38
|
-
${theme.below.sm} {
|
|
39
|
-
margin-bottom: 1rem;
|
|
40
|
-
}
|
|
41
|
-
`;
|
|
42
|
-
export const WhiteButton = styled(PrimaryButton) `
|
|
43
|
-
margin-right: 2rem;
|
|
44
|
-
background-color: #f7f7f7;
|
|
45
|
-
`;
|
|
46
|
-
const ProfileEdit = ({ setEditing }) => {
|
|
47
|
-
return (React.createElement(React.Fragment, null,
|
|
48
|
-
React.createElement(CustomerUpdateFormProvider, { customerProfileQuery: customerProfileQuery, onSubmitSuccess: () => setEditing(false), render: ({ values, isSubmitting, billingAddressFields, handleChange, setCountryCode, isValid, status, countries, pidField }) => {
|
|
49
|
-
return (React.createElement("section", { className: smallSection },
|
|
50
|
-
React.createElement(Wrapper, null,
|
|
51
|
-
React.createElement(Label, { disabled: isSubmitting, htmlFor: 'billingAddress.countryCode' },
|
|
52
|
-
React.createElement("span", null, t('Country'))),
|
|
53
|
-
React.createElement(CountriesInput, { name: "billingAddress.countryCode", disabled: isSubmitting, countries: countries, onChange: e => {
|
|
54
|
-
setCountryCode(e.target.value);
|
|
55
|
-
} })),
|
|
56
|
-
pidField && (React.createElement(InputWithLabel, { type: pidField.type, name: pidField.name, label: pidField.label, required: pidField.required })),
|
|
57
|
-
billingAddressFields.map(({ inputProps }) => {
|
|
58
|
-
return (React.createElement(InputWithLabel, Object.assign({}, inputProps, { disabled: isSubmitting })));
|
|
59
|
-
}),
|
|
60
|
-
status && status.globalError && (React.createElement(GlobalError, { style: { marginBottom: '2em' } }, status.globalError)),
|
|
61
|
-
React.createElement(ButtonContainer, null,
|
|
62
|
-
React.createElement(WhiteButton, { onClick: () => setEditing(false), secondary: true }, t('Cancel')),
|
|
63
|
-
React.createElement(PrimaryButton, { type: "submit", disabled: isSubmitting || !isValid }, t('Save')))));
|
|
64
|
-
} })));
|
|
65
|
-
};
|
|
66
|
-
const InlineApolloErrorHandler = ({ refetch, error }) => {
|
|
67
|
-
useLogError(true, error, 'InlineErrorHandler');
|
|
68
|
-
return (React.createElement("div", null,
|
|
69
|
-
React.createElement("p", null, "Something went wrong."),
|
|
70
|
-
React.createElement("br", null),
|
|
71
|
-
React.createElement("p", null,
|
|
72
|
-
React.createElement(PrimaryButton, { onClick: () => refetch() }, "Try again"))));
|
|
73
|
-
};
|
|
74
|
-
const Profile = props => {
|
|
75
|
-
const [isEditing, setEditingState] = useState(false);
|
|
76
|
-
const profileBlockRef = useRef(null);
|
|
77
|
-
function setEditing(nextState) {
|
|
78
|
-
setEditingState(nextState);
|
|
79
|
-
const $el = profileBlockRef.current;
|
|
80
|
-
if ($el && $el.scrollIntoView) {
|
|
81
|
-
$el.scrollIntoView({
|
|
82
|
-
behavior: 'smooth'
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
return (React.createElement("div", { className: "block", id: "profile", ref: profileBlockRef },
|
|
87
|
-
React.createElement(BlockTitle, { className: smallCaps }, t('My profile')),
|
|
88
|
-
isEditing ? (React.createElement(ProfileEdit, { setEditing: setEditing })) : (React.createElement(ProfileView, { setEditing: setEditing }))));
|
|
89
|
-
};
|
|
90
|
-
function ProfilePage() {
|
|
91
|
-
const { loading, error, refetch } = useCustomerQuery({
|
|
92
|
-
query: customerProfileQuery
|
|
93
|
-
});
|
|
94
|
-
if (loading) {
|
|
95
|
-
return React.createElement(LoadingPage, null);
|
|
96
|
-
}
|
|
97
|
-
if (error) {
|
|
98
|
-
return React.createElement(InlineApolloErrorHandler, Object.assign({}, { error, refetch }));
|
|
99
|
-
}
|
|
100
|
-
return (React.createElement(React.Fragment, null,
|
|
101
|
-
React.createElement(Intl, null, t => React.createElement(Head, { data: { title: t('My Profile') } })),
|
|
102
|
-
React.createElement("div", { className: "main-wrapper" },
|
|
103
|
-
React.createElement(Profile, null),
|
|
104
|
-
React.createElement(ProfileDeliveryAddresses, null),
|
|
105
|
-
React.createElement(Newsletter, null),
|
|
106
|
-
React.createElement(DeleteAccount, null))));
|
|
107
|
-
}
|
|
108
|
-
export default ProfilePage;
|
|
109
|
-
//# sourceMappingURL=ProfilePage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProfilePage.js","sourceRoot":"","sources":["../../../../src/components/MyPages/ProfilePage.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAC9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,IAAI,MAAM,+BAA+B,CAAC;AACjD,OAAO,WAAW,MAAM,iCAAiC,CAAC;AAC1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AG,CAAC,CAAC,YAAY,CAAC,CAAc;QAC/D,SAAS,CAAC,CAAC,CAAC,CACX,oBAAC,WAAW,IAAC,UAAU,EAAE,UAAU,GAAI,CACxC,CAAC,CAAC,CAAC,CACF,oBAAC,WAAW,IAAC,UAAU,EAAE,UAAU,GAAI,CACxC,CACG,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,SAAS,WAAW;IAClB,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,gBAAgB,CAAC;QACnD,KAAK,EAAE,oBAAoB;KAC5B,CAAC,CAAC;IAEH,IAAI,OAAO,EAAE;QACX,OAAO,oBAAC,WAAW,OAAG,CAAC;KACxB;IAED,IAAI,KAAK,EAAE;QACT,OAAO,oBAAC,wBAAwB,oBAAK,EAAE,KAAK,EAAE,OAAO,EAAE,EAAI,CAAC;KAC7D;IAED,OAAO,CACL;QACE,oBAAC,IAAI,QAAE,CAAC,CAAC,EAAE,CAAC,oBAAC,IAAI,IAAC,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,YAAY,CAAC,EAAE,GAAI,CAAQ;QAE9D,6BAAK,SAAS,EAAC,cAAc;YAC3B,oBAAC,OAAO,OAAG;YACX,oBAAC,wBAAwB,OAAG;YAC5B,oBAAC,UAAU,OAAG;YACd,oBAAC,aAAa,OAAG,CACb,CACL,CACJ,CAAC;AACJ,CAAC;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React, { useMemo } from 'react';
|
|
2
|
-
import t from '@jetshop/intl';
|
|
3
|
-
import { useCustomerQuery } from '@jetshop/core/components/Auth/useCustomer';
|
|
4
|
-
import { ButtonContainer, WhiteButton } from './ProfilePage';
|
|
5
|
-
import customerProfileQuery from './customerProfileQuery.gql';
|
|
6
|
-
export const ProfileView = ({ setEditing }) => {
|
|
7
|
-
const { customer, billingAddress } = useCustomerQuery({
|
|
8
|
-
query: customerProfileQuery
|
|
9
|
-
});
|
|
10
|
-
const firstName = customer && customer.billingAddress && customer.billingAddress.firstName;
|
|
11
|
-
const lastName = customer && customer.billingAddress && customer.billingAddress.lastName;
|
|
12
|
-
const profileFields = useMemo(() => billingAddress.filter(({ name, value }) => {
|
|
13
|
-
// Skip displaying the following fields when iterating through all billing address fields
|
|
14
|
-
const blacklist = [
|
|
15
|
-
'firstName',
|
|
16
|
-
'lastName',
|
|
17
|
-
'email',
|
|
18
|
-
'emailAddress',
|
|
19
|
-
'country',
|
|
20
|
-
'countryCode'
|
|
21
|
-
];
|
|
22
|
-
if (blacklist.indexOf(name) !== -1) {
|
|
23
|
-
return false;
|
|
24
|
-
}
|
|
25
|
-
return true;
|
|
26
|
-
}), [billingAddress]);
|
|
27
|
-
return (React.createElement(React.Fragment, null,
|
|
28
|
-
React.createElement("dl", { className: 'profile-form' },
|
|
29
|
-
React.createElement("dt", null, t('Name')),
|
|
30
|
-
React.createElement("dd", null,
|
|
31
|
-
firstName,
|
|
32
|
-
" ",
|
|
33
|
-
lastName),
|
|
34
|
-
React.createElement("dt", null, t('Email address')),
|
|
35
|
-
React.createElement("dd", null, customer && customer.email),
|
|
36
|
-
profileFields.map(({ id, value, label }) => (React.createElement(React.Fragment, { key: id },
|
|
37
|
-
React.createElement("dt", null, label),
|
|
38
|
-
React.createElement("dd", null, value || t('n/a')))))),
|
|
39
|
-
React.createElement(ButtonContainer, null,
|
|
40
|
-
React.createElement(WhiteButton, { onClick: () => setEditing(true), secondary: true }, t('Update information')))));
|
|
41
|
-
};
|
|
42
|
-
//# sourceMappingURL=ProfileView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileView.js","sourceRoot":"","sources":["../../../../src/components/MyPages/ProfileView.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,CAAC,MAAM,eAAe,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAA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,CAC3C,oBAAC,KAAK,CAAC,QAAQ,IAAC,GAAG,EAAE,EAAE;gBACrB,gCAAK,KAAK,CAAM;gBAChB,gCAAK,KAAK,IAAI,CAAC,CAAC,KAAK,CAAC,CAAM,CACb,CAClB,CAAC,CACC;QAEL,oBAAC,eAAe;YACd,oBAAC,WAAW,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,SAAS,UACpD,CAAC,CAAC,oBAAoB,CAAC,CACZ,CACE,CACjB,CACJ,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { Query } from '@apollo/client/react/components';
|
|
2
|
-
import React, { Component } from 'react';
|
|
3
|
-
import RecursiveTree from '@jetshop/ui/Menu/RecursiveTree';
|
|
4
|
-
import { styled } from 'linaria/react';
|
|
5
|
-
import { cx } from 'linaria';
|
|
6
|
-
import NavTreeQuery from './NavTreeQuery.gql';
|
|
7
|
-
const CategoryName = styled('span') `
|
|
8
|
-
padding: 0.25rem 0.5rem;
|
|
9
|
-
margin: 1px 0;
|
|
10
|
-
display: inline-block;
|
|
11
|
-
border-radius: 3px;
|
|
12
|
-
border: 1px solid lightgray;
|
|
13
|
-
cursor: pointer;
|
|
14
|
-
&.hasSubcategories {
|
|
15
|
-
&:before {
|
|
16
|
-
margin-right: 0.5rem;
|
|
17
|
-
font-weight: bold;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&.isActive {
|
|
21
|
-
&:before {
|
|
22
|
-
content: '-';
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.isActive {
|
|
28
|
-
&:before {
|
|
29
|
-
content: '+';
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
`;
|
|
33
|
-
const Categories = styled('div') `
|
|
34
|
-
margin: 1rem;
|
|
35
|
-
`;
|
|
36
|
-
export default class NavTree extends Component {
|
|
37
|
-
render() {
|
|
38
|
-
return (React.createElement(Categories, null,
|
|
39
|
-
React.createElement(Query, { variables: { levels: 1 }, query: NavTreeQuery }, ({ loading, data, error }) => {
|
|
40
|
-
if (loading)
|
|
41
|
-
return 'loading…';
|
|
42
|
-
if (error)
|
|
43
|
-
return 'error';
|
|
44
|
-
const { categories } = data;
|
|
45
|
-
return categories.map(cat => (React.createElement(RecursiveTree, { key: cat.id, category: cat }, ({ menuContainerProps, fetchMore, subcategories, renderSubnav, hasSubcategories, level, category }) => (React.createElement(React.Fragment, null,
|
|
46
|
-
React.createElement("div", { onMouseOver: fetchMore, onClick: () => menuContainerProps.toggleActiveCategory(category) },
|
|
47
|
-
React.createElement(CategoryName, { style: { marginLeft: level * 1 + 'rem' }, className: cx(hasSubcategories && 'hasSubcategories', menuContainerProps.isActiveCategory(category) &&
|
|
48
|
-
'isActive') }, category.name)),
|
|
49
|
-
renderSubnav)))));
|
|
50
|
-
})));
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
//# sourceMappingURL=NavTree.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavTree.js","sourceRoot":"","sources":["../../../../src/components/NavigationTree/NavTree.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC;AAExD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,aAAa,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAC7B,OAAO,YAAY,MAAM,oBAAoB,CAAC;AAE9C,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;CAyBlC,CAAC;AAEF,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;;CAE/B,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,OAAQ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C;AAC1B,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,MAAM,CAAC,OAAO,UAAU,WAAW;IACjC,OAAO,CACL;QACE,oBAAC,OAAO,OAAG,CACP,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import loadable from '@loadable/component';
|
|
3
|
-
import LoadingPage from '../LoadingPage';
|
|
4
|
-
export default loadable(() => import('./NavTreePage'), {
|
|
5
|
-
fallback: React.createElement(LoadingPage, null)
|
|
6
|
-
});
|
|
7
|
-
//# sourceMappingURL=NavTreePage.loadable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NavTreePage.loadable.js","sourceRoot":"","sources":["../../../../src/components/NavigationTree/NavTreePage.loadable.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,WAAW,MAAM,gBAAgB,CAAC;AAEzC,eAAe,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE;IACrD,QAAQ,EAAE,oBAAC,WAAW,OAAG;CAC1B,CAAC,CAAC"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { styled } from 'linaria/react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { useIntl } from '@jetshop/intl';
|
|
4
|
-
import { useNewsletterSubscription } from '@jetshop/core/hooks/Subscriptions/useNewsletterSubscription';
|
|
5
|
-
import { theme } from '../Theme';
|
|
6
|
-
const FieldErrorWrapper = styled('div') `
|
|
7
|
-
${theme.below.md} {
|
|
8
|
-
margin-top: 2rem;
|
|
9
|
-
margin-bottom: 2rem;
|
|
10
|
-
}
|
|
11
|
-
`;
|
|
12
|
-
const Wrapper = styled('div') `
|
|
13
|
-
position: relative;
|
|
14
|
-
width: 100%;
|
|
15
|
-
max-width: 31rem;
|
|
16
|
-
margin: 0 auto;
|
|
17
|
-
background: white;
|
|
18
|
-
height: 2.5rem;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
align-items: center;
|
|
21
|
-
display: flex;
|
|
22
|
-
position: relative;
|
|
23
|
-
flex: 0 1 20rem;
|
|
24
|
-
|
|
25
|
-
${theme.above.md} {
|
|
26
|
-
margin-bottom: 2rem;
|
|
27
|
-
}
|
|
28
|
-
form,
|
|
29
|
-
input {
|
|
30
|
-
height: 100%;
|
|
31
|
-
width: 100%;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
input {
|
|
35
|
-
background: transparent;
|
|
36
|
-
display: flex;
|
|
37
|
-
justify-content: flex-start;
|
|
38
|
-
align-items: center;
|
|
39
|
-
padding-left: 1rem;
|
|
40
|
-
border: 1px solid #bfbdbd;
|
|
41
|
-
font-family: 'Source Sans Pro', sans-serif;
|
|
42
|
-
font-size: 16px;
|
|
43
|
-
}
|
|
44
|
-
label {
|
|
45
|
-
position: absolute;
|
|
46
|
-
font-size: 0.75rem;
|
|
47
|
-
left: calc(0.5rem + 1px);
|
|
48
|
-
top: -6px;
|
|
49
|
-
background: white;
|
|
50
|
-
padding: 0 0.5rem;
|
|
51
|
-
color: ${theme.colors.darkerGrey};
|
|
52
|
-
}
|
|
53
|
-
button {
|
|
54
|
-
color: ${theme.colors.black};
|
|
55
|
-
background: none;
|
|
56
|
-
border: 0;
|
|
57
|
-
outline: none;
|
|
58
|
-
position: absolute;
|
|
59
|
-
right: 1rem;
|
|
60
|
-
text-align: right;
|
|
61
|
-
top: 0;
|
|
62
|
-
height: 100%;
|
|
63
|
-
cursor: pointer;
|
|
64
|
-
&:disabled {
|
|
65
|
-
opacity: 0.5;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
`;
|
|
69
|
-
const Error = styled('div') `
|
|
70
|
-
margin-bottom: 0.5rem;
|
|
71
|
-
color: #650e1b;
|
|
72
|
-
`;
|
|
73
|
-
function NewsletterField() {
|
|
74
|
-
const { inputProps, submit, submitting, submitted, failed, errorStates: { alreadySubscribed, invalidEmail } } = useNewsletterSubscription({
|
|
75
|
-
enabled: true
|
|
76
|
-
});
|
|
77
|
-
const t = useIntl();
|
|
78
|
-
const disabled = inputProps.value.length === 0 || submitting;
|
|
79
|
-
return (React.createElement(FieldErrorWrapper, null,
|
|
80
|
-
React.createElement("label", { htmlFor: "newsletter" },
|
|
81
|
-
React.createElement("h2", null, t('Join the newsletter'))),
|
|
82
|
-
React.createElement(Error, null,
|
|
83
|
-
alreadySubscribed &&
|
|
84
|
-
t('You have already subscribed to the newsletter!'),
|
|
85
|
-
invalidEmail || failed
|
|
86
|
-
? t('Something went wrong. Please check your email and try again.')
|
|
87
|
-
: null),
|
|
88
|
-
React.createElement(Wrapper, null, submitted ? (React.createElement("p", { "data-testid": "newsletter-subscription-success" }, t('You are now subscribed'))) : (React.createElement("form", { onSubmit: submit, disabled: disabled },
|
|
89
|
-
React.createElement("input", Object.assign({ type: "email", id: "newsletter", placeholder: t('Enter email address'), style: { paddingRight: submitting ? '8rem' : '4rem' }, "data-testid": "newsletter-subscription-input" }, inputProps)),
|
|
90
|
-
React.createElement("button", { type: "submit", disabled: disabled, "data-testid": "newsletter-subscription-submit" }, submitting ? t('Submitting…') : t('Submit')))))));
|
|
91
|
-
}
|
|
92
|
-
export default NewsletterField;
|
|
93
|
-
//# sourceMappingURL=NewsletterField.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NewsletterField.js","sourceRoot":"","sources":["../../../../src/components/Newsletter/NewsletterField.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,yBAAyB,EAAE,MAAM,6DAA6D,CAAC;AACxG,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,iBAAiB,GAAG,M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AAE,EAAC,YAAY,EACf,WAAW,EAAE,CAAC,CAAC,qBAAqB,CAAC,EACrC,KAAK,EAAE,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,iBACzC,+BAA+B,IACvC,UAAU,EACd;YACF,gCACE,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,QAAQ,iBACN,gCAAgC,IAE3C,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CACrC,CACJ,CACR,CACO,CACQ,CACrB,CAAC;AACJ,CAAC;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import t from '@jetshop/intl';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { styled } from 'linaria/react';
|
|
4
|
-
import Button from '@jetshop/ui/Button';
|
|
5
|
-
const ErrorContainer = styled('div') `
|
|
6
|
-
padding: 1em;
|
|
7
|
-
align-items: center;
|
|
8
|
-
line-height: 1.75;
|
|
9
|
-
max-width: 100%;
|
|
10
|
-
width: 80ch;
|
|
11
|
-
margin: 0 auto;
|
|
12
|
-
header {
|
|
13
|
-
text-align: center;
|
|
14
|
-
p {
|
|
15
|
-
text-align: center;
|
|
16
|
-
font-weight: 600;
|
|
17
|
-
color: inherit;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
h1 {
|
|
21
|
-
color: #e82a2a;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
> * + * {
|
|
25
|
-
margin-top: 1em;
|
|
26
|
-
margin-bottom: 0;
|
|
27
|
-
padding: 0;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
p {
|
|
31
|
-
color: #999999;
|
|
32
|
-
text-align: left;
|
|
33
|
-
}
|
|
34
|
-
`;
|
|
35
|
-
var Hej;
|
|
36
|
-
(function (Hej) {
|
|
37
|
-
Hej["hejsan"] = "hej";
|
|
38
|
-
})(Hej || (Hej = {}));
|
|
39
|
-
class NotFoundPage extends React.PureComponent {
|
|
40
|
-
render() {
|
|
41
|
-
return (React.createElement(ErrorContainer, null,
|
|
42
|
-
React.createElement("header", null,
|
|
43
|
-
React.createElement("h1", null, t('Whoops')),
|
|
44
|
-
React.createElement("p", null, t(`You have attempted to download a page that does not exist on Jetshop's
|
|
45
|
-
server.`))),
|
|
46
|
-
React.createElement("p", null,
|
|
47
|
-
React.createElement("strong", null, t('This could be due to the following:'))),
|
|
48
|
-
React.createElement("p", null, t('The address provided is incorrect. Please check the spelling and try again.')),
|
|
49
|
-
React.createElement("p", null, t('You are trying to use an old address that no longer exists or that may have changed.')),
|
|
50
|
-
React.createElement("p", null, t('You may have used an old bookmark. If you are sure that you have used the correct address to the site, the problem may be caused by a temporary service disruption. Please try again later.')),
|
|
51
|
-
React.createElement("p", null, t('NOTE! If you were directed here via a link we are grateful if you inform us as to which link it was so that we can resolve the problem.')),
|
|
52
|
-
React.createElement(Button, { anchor: true }, t('HOMEPAGE')),
|
|
53
|
-
React.createElement(Button, { anchor: true }, t('GONDOR_WILL_ANSWER')),
|
|
54
|
-
React.createElement(Button, { anchor: true }, t('GONDOR_WILL_ANSWER_NOOOOT')),
|
|
55
|
-
React.createElement(Button, { anchor: true }, t(Hej.hejsan))));
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
export default NotFoundPage;
|
|
59
|
-
//# sourceMappingURL=NotFoundPage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotFoundPage.js","sourceRoot":"","sources":["../../../src/components/NotFoundPage.tsx"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,eAAe,CAAC;AAC9B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,MAAM,cAAc,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BnC,CAAC;AAEF,IAAK,GAEJ;AAFD,WAAK,GAAG;IACN,qBAAgB,CAAA;AAClB,CAAC,EAFI,GAAG,KAAH,GAAG,QAEP;AAED,MAAM,YAAa,SAAQ,KAAK,CAAC,aAAa;IAC5C,MAAM;QACJ,OAAO,CACL,oBAAC,cAAc;YACb;gBACE,gCAAK,CAAC,CAAC,QAAQ,CAAC,CAAM;gBACtB,+BACG,CAAC,CAAC;kBACG,CAAC,CACL,CACG;YACT;gBACE,oCAAS,CAAC,CAAC,qCAAqC,CAAC,CAAU,CACzD;YACJ,+BACG,CAAC,CACA,6EAA6E,CAC9E,CACC;YACJ,+BACG,CAAC,CACA,sFAAsF,CACvF,CACC;YACJ,+BACG,CAAC,CACA,6LAA6L,CAC9L,CACC;YACJ,+BACG,CAAC,CACA,yIAAyI,CAC1I,CACC;YACJ,oBAAC,MAAM,IAAC,MAAM,EAAE,IAAI,IAAG,CAAC,CAAC,UAAU,CAAC,CAAU;YAC9C,oBAAC,MAAM,IAAC,MAAM,EAAE,IAAI,IAAG,CAAC,CAAC,oBAAoB,CAAQ,CAAU;YAC/D,oBAAC,MAAM,IAAC,MAAM,EAAE,IAAI,IAAG,CAAC,CAAC,2BAA2B,CAAQ,CAAU;YACtE,oBAAC,MAAM,IAAC,MAAM,EAAE,IAAI,IAAG,CAAC,CAAC,GAAG,CAAC,MAAM,CAAQ,CAAU,CACtC,CAClB,CAAC;IACJ,CAAC;CACF;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import loadable from '@loadable/component';
|
|
3
|
-
import LoadingPage from './LoadingPage';
|
|
4
|
-
export default loadable(() => import('./NotFoundPage'), {
|
|
5
|
-
fallback: React.createElement(LoadingPage, null)
|
|
6
|
-
});
|
|
7
|
-
//# sourceMappingURL=NotFoundPage.loadable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotFoundPage.loadable.js","sourceRoot":"","sources":["../../../src/components/NotFoundPage.loadable.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAC3C,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,eAAe,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE;IACtD,QAAQ,EAAE,oBAAC,WAAW,OAAG;CAC1B,CAAC,CAAC"}
|