ordering-ui-external 10.3.0 → 10.3.2
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/_bundles/{7.ordering-ui.e758aec40c3bf292cadb.js → 7.ordering-ui.c9614f5ee3d14727dd90.js} +1 -1
- package/_bundles/ordering-ui.c9614f5ee3d14727dd90.js +2 -0
- package/_modules/components/AddressDetails/index.js +4 -4
- package/_modules/components/AddressForm/index.js +30 -30
- package/_modules/components/AddressList/index.js +11 -11
- package/_modules/components/AddressesPopover/index.js +2 -2
- package/_modules/components/AppleLogin/index.js +4 -4
- package/_modules/components/AutoScroll/index.js +2 -2
- package/_modules/components/BusinessBasicInformation/index.js +11 -11
- package/_modules/components/BusinessController/index.js +12 -12
- package/_modules/components/BusinessInformation/index.js +8 -8
- package/_modules/components/BusinessInformation/styles.js +2 -2
- package/_modules/components/BusinessItemAccordion/index.js +4 -4
- package/_modules/components/BusinessProductsCategories/layouts/groceries/index.js +1 -1
- package/_modules/components/BusinessProductsList/index.js +4 -4
- package/_modules/components/BusinessProductsList/layouts/groceries/index.js +13 -13
- package/_modules/components/BusinessProductsListing/index.js +19 -19
- package/_modules/components/BusinessTypeFilter/index.js +2 -2
- package/_modules/components/BusinessesListing/index.js +9 -9
- package/_modules/components/BusinessesListing/styles.js +2 -2
- package/_modules/components/BusinessesMap/index.js +3 -3
- package/_modules/components/CancellationComponent/index.js +5 -5
- package/_modules/components/Cart/index.js +24 -24
- package/_modules/components/Cart/styles.js +4 -4
- package/_modules/components/CartContent/index.js +2 -2
- package/_modules/components/Checkout/index.js +25 -25
- package/_modules/components/DriverTips/index.js +3 -3
- package/_modules/components/Dropdown/index.js +2 -2
- package/_modules/components/ForgotPasswordForm/index.js +2 -2
- package/_modules/components/Header/index.js +30 -30
- package/_modules/components/HomeHero/index.js +11 -11
- package/_modules/components/HorizontalOrdersLayout/index.js +6 -6
- package/_modules/components/InputPhoneNumber/index.js +3 -3
- package/_modules/components/LanguageSelector/index.js +1 -1
- package/_modules/components/LastOrders/index.js +7 -7
- package/_modules/components/LoginForm/index.js +20 -20
- package/_modules/components/LogoutButton/index.js +2 -2
- package/_modules/components/Messages/index.js +4 -4
- package/_modules/components/Messages/styles.js +2 -2
- package/_modules/components/MomentContent/index.js +3 -3
- package/_modules/components/MomentControl/index.js +6 -6
- package/_modules/components/MomentPopover/index.js +2 -2
- package/_modules/components/NotFoundSource/index.js +2 -2
- package/_modules/components/NotNetworkConnectivity/index.js +2 -2
- package/_modules/components/OrderDetails/index.js +91 -91
- package/_modules/components/OrderDetails/styles.js +2 -2
- package/_modules/components/OrderSuccessModal/index.js +10 -10
- package/_modules/components/OrdersOption/index.js +26 -26
- package/_modules/components/PageNotFound/index.js +5 -5
- package/_modules/components/PaymentOptionCash/index.js +2 -2
- package/_modules/components/PaymentOptionPaypal/index.js +1 -1
- package/_modules/components/PaymentOptionStripe/index.js +1 -1
- package/_modules/components/PaymentOptions/index.js +26 -26
- package/_modules/components/PhoneAutocomplete/index.js +7 -7
- package/_modules/components/PhoneAutocomplete/styles.js +6 -6
- package/_modules/components/ProductForm/index.js +15 -15
- package/_modules/components/ProductItemAccordion/index.js +2 -2
- package/_modules/components/ProductOptionSubOption/index.js +2 -2
- package/_modules/components/RenderProductsLayout/SearchProducts/index.js +4 -4
- package/_modules/components/RenderProductsLayout/index.js +16 -16
- package/_modules/components/ResetPassword/index.js +9 -9
- package/_modules/components/ReviewDriver/index.js +4 -4
- package/_modules/components/ReviewOrder/index.js +4 -4
- package/_modules/components/ReviewProduct/index.js +1 -1
- package/_modules/components/SearchBar/index.js +2 -2
- package/_modules/components/SearchBar/styles.js +6 -6
- package/_modules/components/SignUpForm/index.js +25 -25
- package/_modules/components/SingleProductCard/index.js +4 -4
- package/_modules/components/SmartAppBanner/index.js +2 -2
- package/_modules/components/StripeMethodForm/index.js +7 -7
- package/_modules/components/UpsellingPage/index.js +1 -1
- package/_modules/components/UserFormDetails/index.js +13 -13
- package/_modules/components/UserPopover/index.js +4 -4
- package/_modules/components/UserProfileForm/ProfileOptions/index.js +2 -2
- package/_modules/components/UserProfileForm/index.js +11 -11
- package/_modules/components/VerticalOrdersLayout/SingleOrderCard/index.js +15 -15
- package/_modules/hooks/useRecaptcha.js +3 -3
- package/_modules/themes/callcenterOriginal/src/components/AddressDetails/index.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/AddressForm/index.js +30 -30
- package/_modules/themes/callcenterOriginal/src/components/AddressList/index.js +11 -11
- package/_modules/themes/callcenterOriginal/src/components/AdminAreaPopover/styles.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/AppleLogin/index.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/AutoScroll/index.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/BusinessBasicInformation/index.js +8 -8
- package/_modules/themes/callcenterOriginal/src/components/BusinessController/index.js +10 -10
- package/_modules/themes/callcenterOriginal/src/components/BusinessInformation/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/BusinessMenuList/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/BusinessPreorder/index.js +7 -7
- package/_modules/themes/callcenterOriginal/src/components/BusinessProductsCategories/layouts/groceries/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/BusinessProductsList/index.js +10 -10
- package/_modules/themes/callcenterOriginal/src/components/BusinessProductsList/layouts/groceries/index.js +14 -14
- package/_modules/themes/callcenterOriginal/src/components/BusinessProductsListing/index.js +17 -17
- package/_modules/themes/callcenterOriginal/src/components/BusinessReviews/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/BusinessesListing/index.js +9 -9
- package/_modules/themes/callcenterOriginal/src/components/BusinessesListing/styles.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Cart/index.js +29 -29
- package/_modules/themes/callcenterOriginal/src/components/Cart/styles.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/CartContent/index.js +6 -6
- package/_modules/themes/callcenterOriginal/src/components/Checkout/index.js +27 -27
- package/_modules/themes/callcenterOriginal/src/components/DriverTips/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/ForgotPasswordForm/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Header/index.js +27 -27
- package/_modules/themes/callcenterOriginal/src/components/Header/styles.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/HeaderOption/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/HighestRated/index.js +6 -6
- package/_modules/themes/callcenterOriginal/src/components/HomeHero/index.js +8 -8
- package/_modules/themes/callcenterOriginal/src/components/HorizontalOrdersLayout/index.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/InputPhoneNumber/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/LanguageSelector/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/LastOrders/index.js +7 -7
- package/_modules/themes/callcenterOriginal/src/components/LoginForm/index.js +8 -8
- package/_modules/themes/callcenterOriginal/src/components/Messages/index.js +6 -6
- package/_modules/themes/callcenterOriginal/src/components/MessagesListing/index.js +30 -30
- package/_modules/themes/callcenterOriginal/src/components/MomentContent/index.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/MomentControl/index.js +5 -5
- package/_modules/themes/callcenterOriginal/src/components/NotFoundSource/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/OrderDetails/index.js +68 -68
- package/_modules/themes/callcenterOriginal/src/components/OrderDetails/styles.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/OrderProgress/index.js +28 -28
- package/_modules/themes/callcenterOriginal/src/components/OrderTypeSelectorContent/index.js +7 -7
- package/_modules/themes/callcenterOriginal/src/components/OrderTypeSelectorHeader/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/Orders/AddressForm/index.js +32 -32
- package/_modules/themes/callcenterOriginal/src/components/Orders/AddressList/index.js +11 -11
- package/_modules/themes/callcenterOriginal/src/components/Orders/AllInOne/DriversManager/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Orders/Appointments/EventComponent.js +3 -3
- package/_modules/themes/callcenterOriginal/src/components/Orders/Appointments/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Orders/CompanySelector/index.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/CardForm/index.js +3 -3
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/CardFormCustom/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/CartBill/index.js +21 -21
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/Checkout/index.js +26 -26
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/DriverTips/index.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/Map/index.js +9 -9
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/PaymentOptionCard/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/PaymentOptionCash/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/PaymentOptionPaypal/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/PaymentOptionStripe/index.js +8 -8
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/PaymentOptionStripe/styles.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/PaymentOptionWallet/index.js +3 -3
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/PaymentOptions/index.js +35 -35
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/ProductForm/index.js +24 -24
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/ProductOptionSubOption/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/SelectBusinesses/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/SelectCustomer/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/SelectProducts/index.js +3 -3
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/SingleProductCard/index.js +10 -10
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/SingleProductCard/styles.js +5 -5
- package/_modules/themes/callcenterOriginal/src/components/Orders/CreateCustomOrder/StripeMethodForm/index.js +7 -7
- package/_modules/themes/callcenterOriginal/src/components/Orders/DeliveriesLocation/index.js +31 -31
- package/_modules/themes/callcenterOriginal/src/components/Orders/DeliveriesManager/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Orders/DriverMapMarkerAndInfo/index.js +3 -3
- package/_modules/themes/callcenterOriginal/src/components/Orders/DriverSelector/index.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/Orders/DriversList/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Orders/DriversLocation/index.js +15 -15
- package/_modules/themes/callcenterOriginal/src/components/Orders/DriversManager/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Orders/GoogleMapsApiKeySettingButton/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/Orders/InterActOrderMarker/index.js +3 -3
- package/_modules/themes/callcenterOriginal/src/components/Orders/Logistics/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/Orders/Messages/index.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrderBill/RefundToWallet.js +16 -16
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrderBill/index.js +46 -46
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrderContactInformation/index.js +22 -22
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrderDashboardSLASetting/index.js +3 -3
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrderDetails/index.js +6 -6
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrderDetailsHeader/index.js +6 -6
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrderLogisticInformation/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrderNotification/index.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrderStatusFilterBar/index.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrderToPrint/index.js +22 -22
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrderToPrintTicket/index.js +5 -5
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrdersCards/index.js +29 -29
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrdersContentHeader/index.js +3 -3
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrdersExportCSV/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrdersLateralBar/index.js +3 -3
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrdersListing/index.js +3 -3
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrdersTable/index.js +55 -55
- package/_modules/themes/callcenterOriginal/src/components/Orders/PaymethodTypeSelector/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/Orders/ProductItemAccordion/index.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/Orders/ReviewCustomer/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Orders/UserAddForm/index.js +11 -11
- package/_modules/themes/callcenterOriginal/src/components/OrdersOption/index.js +26 -26
- package/_modules/themes/callcenterOriginal/src/components/PageNotFound/index.js +3 -3
- package/_modules/themes/callcenterOriginal/src/components/PaymentOptionCash/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/PaymentOptionStripe/index.js +6 -6
- package/_modules/themes/callcenterOriginal/src/components/PaymentOptions/index.js +19 -19
- package/_modules/themes/callcenterOriginal/src/components/PhoneAutocomplete/index.js +12 -12
- package/_modules/themes/callcenterOriginal/src/components/PhoneAutocomplete/styles.js +6 -6
- package/_modules/themes/callcenterOriginal/src/components/ProductForm/index.js +15 -15
- package/_modules/themes/callcenterOriginal/src/components/ProductOptionSubOption/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/RenderProductsLayout/index.js +15 -15
- package/_modules/themes/callcenterOriginal/src/components/SearchBar/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/SearchBar/styles.js +6 -6
- package/_modules/themes/callcenterOriginal/src/components/Shared/AutoScroll/index.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/Shared/CitySelector/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/Shared/ColumnAllowSettingPopover/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Shared/ConfirmAdmin/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/Shared/DragScroll/index.js +5 -5
- package/_modules/themes/callcenterOriginal/src/components/Shared/HtmlEditor/InsertImage/index.js +3 -3
- package/_modules/themes/callcenterOriginal/src/components/Shared/InputPhoneNumber/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Shared/NotFoundSource/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Shared/Personalization/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/Shared/RangeCalendar/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Shared/Schedule/index.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/Shared/SelectBusinessCategories/index.js +2 -2
- package/_modules/themes/callcenterOriginal/src/components/Shared/SelectBusinessProducts/index.js +7 -7
- package/_modules/themes/callcenterOriginal/src/components/Shared/SelectBusinesses/index.js +3 -3
- package/_modules/themes/callcenterOriginal/src/components/Shared/SelectLoyaltyLevels/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/Shared/SelectSites/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/Shared/SpreadSheetEditor/index.js +21 -21
- package/_modules/themes/callcenterOriginal/src/components/SidebarMenu/index.js +5 -5
- package/_modules/themes/callcenterOriginal/src/components/SignUpBusiness/index.js +11 -11
- package/_modules/themes/callcenterOriginal/src/components/SignUpForm/index.js +15 -15
- package/_modules/themes/callcenterOriginal/src/components/SingleProductCard/index.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/Stores/BusinessSelectHeader/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/UpsellingPage/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/UserDetails/index.js +1 -1
- package/_modules/themes/callcenterOriginal/src/components/UserFormDetails/index.js +9 -9
- package/_modules/themes/callcenterOriginal/src/components/UserPopover/index.js +4 -4
- package/_modules/themes/callcenterOriginal/src/components/UserProfileForm/index.js +3 -3
- package/_modules/themes/callcenterOriginal/src/styles/Select/DashboardSelect/index.js +1 -1
- package/_modules/themes/eight/src/components/AddressDetails/index.js +2 -2
- package/_modules/themes/eight/src/components/AddressForm/index.js +31 -31
- package/_modules/themes/eight/src/components/AddressList/index.js +13 -13
- package/_modules/themes/eight/src/components/AppleLogin/index.js +4 -4
- package/_modules/themes/eight/src/components/AutoScroll/index.js +2 -2
- package/_modules/themes/eight/src/components/BusinessCart/index.js +2 -2
- package/_modules/themes/eight/src/components/BusinessController/index.js +10 -10
- package/_modules/themes/eight/src/components/BusinessItemAccordion/index.js +4 -4
- package/_modules/themes/eight/src/components/BusinessProductsCategories/index.js +2 -2
- package/_modules/themes/eight/src/components/BusinessProductsList/index.js +4 -4
- package/_modules/themes/eight/src/components/BusinessProductsListing/index.js +18 -18
- package/_modules/themes/eight/src/components/BusinessesListing/index.js +9 -9
- package/_modules/themes/eight/src/components/Cart/index.js +7 -7
- package/_modules/themes/eight/src/components/CartContent/index.js +2 -2
- package/_modules/themes/eight/src/components/CartStoresListing/index.js +4 -4
- package/_modules/themes/eight/src/components/Checkout/index.js +22 -22
- package/_modules/themes/eight/src/components/DriverTips/index.js +2 -2
- package/_modules/themes/eight/src/components/Header/index.js +20 -20
- package/_modules/themes/eight/src/components/HeaderOption/index.js +1 -1
- package/_modules/themes/eight/src/components/HomeHero/index.js +3 -3
- package/_modules/themes/eight/src/components/InputPhoneNumber/index.js +3 -3
- package/_modules/themes/eight/src/components/LanguageSelector/index.js +1 -1
- package/_modules/themes/eight/src/components/LoginForm/index.js +16 -16
- package/_modules/themes/eight/src/components/MomentContent/index.js +3 -3
- package/_modules/themes/eight/src/components/MomentControl/index.js +2 -2
- package/_modules/themes/eight/src/components/NavBar/index.js +2 -2
- package/_modules/themes/eight/src/components/OrderDetails/index.js +50 -50
- package/_modules/themes/eight/src/components/OrderDetails/styles.js +2 -2
- package/_modules/themes/eight/src/components/PaymentOptionCash/index.js +2 -2
- package/_modules/themes/eight/src/components/PaymentOptions/index.js +20 -20
- package/_modules/themes/eight/src/components/ProductForm/index.js +18 -18
- package/_modules/themes/eight/src/components/ProductOptionSubOption/index.js +2 -2
- package/_modules/themes/eight/src/components/SearchBar/index.js +2 -2
- package/_modules/themes/eight/src/components/SearchBar/styles.js +6 -6
- package/_modules/themes/eight/src/components/SidebarMenu/index.js +3 -3
- package/_modules/themes/eight/src/components/SignUpForm/index.js +23 -23
- package/_modules/themes/eight/src/components/SingleProductCard/index.js +4 -4
- package/_modules/themes/eight/src/components/UpsellingPage/index.js +1 -1
- package/_modules/themes/eight/src/components/UserProfileForm/index.js +3 -3
- package/_modules/themes/five/src/components/AccordionDropdown/styles.js +2 -2
- package/_modules/themes/five/src/components/AddressDetails/index.js +2 -2
- package/_modules/themes/five/src/components/AddressForm/index.js +37 -37
- package/_modules/themes/five/src/components/AddressList/index.js +17 -17
- package/_modules/themes/five/src/components/AutoScroll/index.js +4 -4
- package/_modules/themes/five/src/components/BusinessBasicInformation/BusinessInfoComponent.js +21 -21
- package/_modules/themes/five/src/components/BusinessBasicInformation/SearchComponent.js +2 -2
- package/_modules/themes/five/src/components/BusinessBasicInformation/index.js +12 -12
- package/_modules/themes/five/src/components/BusinessBasicInformation/styles.js +2 -2
- package/_modules/themes/five/src/components/BusinessController/index.js +30 -30
- package/_modules/themes/five/src/components/BusinessInformation/index.js +12 -12
- package/_modules/themes/five/src/components/BusinessInformation/styles.js +2 -2
- package/_modules/themes/five/src/components/BusinessItemAccordion/index.js +7 -7
- package/_modules/themes/five/src/components/BusinessListingSearch/MaxSectionItem/index.js +1 -1
- package/_modules/themes/five/src/components/BusinessListingSearch/index.js +32 -32
- package/_modules/themes/five/src/components/BusinessMenuList/index.js +2 -2
- package/_modules/themes/five/src/components/BusinessPreorder/index.js +12 -12
- package/_modules/themes/five/src/components/BusinessPreorder/styles.js +33 -30
- package/_modules/themes/five/src/components/BusinessProductsCategories/index.js +3 -3
- package/_modules/themes/five/src/components/BusinessProductsCategories/layouts/groceries/index.js +1 -1
- package/_modules/themes/five/src/components/BusinessProductsList/index.js +37 -37
- package/_modules/themes/five/src/components/BusinessProductsList/layouts/groceries/index.js +27 -27
- package/_modules/themes/five/src/components/BusinessProductsListing/index.js +36 -36
- package/_modules/themes/five/src/components/BusinessProductsListing/styles.js +2 -2
- package/_modules/themes/five/src/components/BusinessReviews/index.js +6 -6
- package/_modules/themes/five/src/components/BusinessTypeFilter/index.js +4 -4
- package/_modules/themes/five/src/components/BusinessesListing/index.js +2 -2
- package/_modules/themes/five/src/components/BusinessesListing/layouts/AppointmentsBusinessListing/index.js +12 -12
- package/_modules/themes/five/src/components/BusinessesListing/layouts/OriginalBusinessesListing/index.js +49 -49
- package/_modules/themes/five/src/components/BusinessesListing/layouts/OriginalBusinessesListing/styles.js +4 -4
- package/_modules/themes/five/src/components/BusinessesListing/layouts/RedBusinessesListing/index.js +14 -14
- package/_modules/themes/five/src/components/BusinessesListing/layouts/RedBusinessesListing/styles.js +2 -2
- package/_modules/themes/five/src/components/BusinessesListing/layouts/StarbucksBusinessesListing/index.js +14 -14
- package/_modules/themes/five/src/components/BusinessesListing/layouts/StarbucksBusinessesListing/styles.js +4 -4
- package/_modules/themes/five/src/components/CardForm/index.js +3 -3
- package/_modules/themes/five/src/components/CardFormCustom/index.js +2 -2
- package/_modules/themes/five/src/components/Cart/index.js +47 -47
- package/_modules/themes/five/src/components/Cart/styles.js +4 -4
- package/_modules/themes/five/src/components/CartContent/index.js +13 -13
- package/_modules/themes/five/src/components/CartPopover/index.js +4 -4
- package/_modules/themes/five/src/components/CartPopover/styles.js +2 -2
- package/_modules/themes/five/src/components/Checkout/index.js +53 -53
- package/_modules/themes/five/src/components/CitiesControl/index.js +2 -2
- package/_modules/themes/five/src/components/Confirm/styles.js +2 -2
- package/_modules/themes/five/src/components/DriverTips/index.js +4 -4
- package/_modules/themes/five/src/components/Favorite/index.js +3 -3
- package/_modules/themes/five/src/components/FavoriteList/index.js +25 -25
- package/_modules/themes/five/src/components/Footer/index.js +3 -3
- package/_modules/themes/five/src/components/ForgotPasswordForm/index.js +3 -3
- package/_modules/themes/five/src/components/GiftCard/PurchaseGiftCard/index.js +2 -2
- package/_modules/themes/five/src/components/GiftCard/RedeemGiftCard/index.js +1 -1
- package/_modules/themes/five/src/components/Header/index.js +43 -43
- package/_modules/themes/five/src/components/Header/layouts/Kiosk/index.js +7 -7
- package/_modules/themes/five/src/components/Header/styles.js +14 -14
- package/_modules/themes/five/src/components/HeaderOption/index.js +3 -3
- package/_modules/themes/five/src/components/HighestRated/index.js +7 -7
- package/_modules/themes/five/src/components/HomeHero/index.js +5 -5
- package/_modules/themes/five/src/components/HomeHero/layouts/KioskHomeHero/index.js +5 -5
- package/_modules/themes/five/src/components/HomeHero/layouts/OriginalHomeHero/index.js +25 -25
- package/_modules/themes/five/src/components/HomeHero/layouts/RedHomeHero/index.js +16 -16
- package/_modules/themes/five/src/components/HomeHero/layouts/StarbucksHomeHero/index.js +3 -3
- package/_modules/themes/five/src/components/HomeHero/layouts/StarbucksHomeHero/styles.js +4 -4
- package/_modules/themes/five/src/components/HorizontalOrdersLayout/index.js +1 -1
- package/_modules/themes/five/src/components/InputPhoneNumber/index.js +2 -2
- package/_modules/themes/five/src/components/LanguageSelector/index.js +1 -1
- package/_modules/themes/five/src/components/LastOrders/index.js +7 -7
- package/_modules/themes/five/src/components/LoginForm/index.js +27 -27
- package/_modules/themes/five/src/components/LogoutPopup/index.js +2 -2
- package/_modules/themes/five/src/components/Messages/MapMessages.js +2 -2
- package/_modules/themes/five/src/components/Messages/index.js +6 -6
- package/_modules/themes/five/src/components/MessagesListing/index.js +6 -6
- package/_modules/themes/five/src/components/Modal/styles.js +1 -1
- package/_modules/themes/five/src/components/MomentContent/index.js +4 -4
- package/_modules/themes/five/src/components/MomentControl/Layouts/CustomLayout/index.js +1 -1
- package/_modules/themes/five/src/components/MomentControl/index.js +7 -7
- package/_modules/themes/five/src/components/MomentControl/styles.js +2 -2
- package/_modules/themes/five/src/components/MultiCartsPaymethodsAndWallets/index.js +15 -15
- package/_modules/themes/five/src/components/MultiCheckout/index.js +41 -41
- package/_modules/themes/five/src/components/MultiOrdersDetails/SingleOrderCard.js +8 -8
- package/_modules/themes/five/src/components/MultiOrdersDetails/index.js +5 -5
- package/_modules/themes/five/src/components/MultiOrdersDetails/styles.js +2 -2
- package/_modules/themes/five/src/components/MyOrders/index.js +4 -4
- package/_modules/themes/five/src/components/NavigationBar/index.js +6 -6
- package/_modules/themes/five/src/components/NotNetworkConnectivity/index.js +2 -2
- package/_modules/themes/five/src/components/OrderContextUI/index.js +9 -9
- package/_modules/themes/five/src/components/OrderDetails/ActionsSection.js +2 -2
- package/_modules/themes/five/src/components/OrderDetails/OrderActionsSection.js +1 -1
- package/_modules/themes/five/src/components/OrderDetails/OrderBillSection.js +36 -36
- package/_modules/themes/five/src/components/OrderDetails/OrderEta.js +1 -1
- package/_modules/themes/five/src/components/OrderDetails/OrderHeaderInfoSection.js +1 -1
- package/_modules/themes/five/src/components/OrderDetails/OrderHistory.js +2 -2
- package/_modules/themes/five/src/components/OrderDetails/OrderPreferencesSections.js +1 -1
- package/_modules/themes/five/src/components/OrderDetails/index.js +67 -67
- package/_modules/themes/five/src/components/OrderDetails/layouts/Kiosk/index.js +42 -42
- package/_modules/themes/five/src/components/OrderDetails/styles.js +2 -2
- package/_modules/themes/five/src/components/OrderItAgain/styles.js +2 -2
- package/_modules/themes/five/src/components/OrderProgress/index.js +8 -8
- package/_modules/themes/five/src/components/OrderTypeSelectorContent/index.js +22 -22
- package/_modules/themes/five/src/components/OrderTypeSelectorContent/layouts/Kiosk/index.js +7 -7
- package/_modules/themes/five/src/components/OrderTypeSelectorHeader/index.js +1 -1
- package/_modules/themes/five/src/components/OrdersOption/PreviousBusinessOrdered/index.js +5 -5
- package/_modules/themes/five/src/components/OrdersOption/PreviousProductsOrdered/index.js +4 -4
- package/_modules/themes/five/src/components/OrdersOption/index.js +13 -13
- package/_modules/themes/five/src/components/PageBanner/index.js +5 -5
- package/_modules/themes/five/src/components/PaymentOptionCard/index.js +1 -1
- package/_modules/themes/five/src/components/PaymentOptionCash/index.js +2 -2
- package/_modules/themes/five/src/components/PaymentOptionStripe/index.js +8 -8
- package/_modules/themes/five/src/components/PaymentOptionStripe/styles.js +1 -1
- package/_modules/themes/five/src/components/PaymentOptionWallet/index.js +3 -3
- package/_modules/themes/five/src/components/PaymentOptions/index.js +35 -35
- package/_modules/themes/five/src/components/PhoneAutocomplete/index.js +12 -12
- package/_modules/themes/five/src/components/PhoneAutocomplete/styles.js +6 -6
- package/_modules/themes/five/src/components/PlaceSpot/index.js +14 -14
- package/_modules/themes/five/src/components/ProductForm/index.js +34 -34
- package/_modules/themes/five/src/components/ProductForm/styles.js +18 -18
- package/_modules/themes/five/src/components/ProductItemAccordion/index.js +8 -8
- package/_modules/themes/five/src/components/ProductOption/styles.js +2 -2
- package/_modules/themes/five/src/components/ProductOptionSubOption/index.js +2 -2
- package/_modules/themes/five/src/components/ProductShare/ProductCopyURL.js +2 -2
- package/_modules/themes/five/src/components/ProfessionalBusinessFilter/index.js +1 -1
- package/_modules/themes/five/src/components/ProfessionalInfo/index.js +4 -4
- package/_modules/themes/five/src/components/Promotions/index.js +6 -6
- package/_modules/themes/five/src/components/RenderProductsLayout/index.js +32 -32
- package/_modules/themes/five/src/components/ResetPassword/index.js +8 -8
- package/_modules/themes/five/src/components/ReviewDriver/index.js +4 -4
- package/_modules/themes/five/src/components/ReviewOrder/index.js +7 -7
- package/_modules/themes/five/src/components/ReviewProduct/index.js +4 -4
- package/_modules/themes/five/src/components/ReviewProfessional/index.js +5 -5
- package/_modules/themes/five/src/components/ReviewTrigger/index.js +5 -5
- package/_modules/themes/five/src/components/ScheduleAccordion/index.js +1 -1
- package/_modules/themes/five/src/components/ScheduleAccordion/styles.js +2 -2
- package/_modules/themes/five/src/components/SearchBar/index.js +2 -2
- package/_modules/themes/five/src/components/SearchBar/styles.js +6 -6
- package/_modules/themes/five/src/components/SearchProducts/index.js +6 -6
- package/_modules/themes/five/src/components/ServiceForm/index.js +40 -34
- package/_modules/themes/five/src/components/SidebarMenu/index.js +17 -17
- package/_modules/themes/five/src/components/SignUpApproval/index.js +2 -2
- package/_modules/themes/five/src/components/SignUpBusiness/layouts/NewSignUpBusiness/index.js +14 -14
- package/_modules/themes/five/src/components/SignUpBusiness/layouts/OldSignUpBusiness/index.js +14 -14
- package/_modules/themes/five/src/components/SignUpDriver/layouts/NewSignUpDriver/index.js +14 -14
- package/_modules/themes/five/src/components/SignUpDriver/layouts/OldSignUpDriver/index.js +14 -14
- package/_modules/themes/five/src/components/SignUpForm/index.js +39 -39
- package/_modules/themes/five/src/components/SingleOrderCard/index.js +23 -23
- package/_modules/themes/five/src/components/SingleProductCard/index.js +2 -2
- package/_modules/themes/five/src/components/SingleProductCard/layouts/original/index.js +19 -19
- package/_modules/themes/five/src/components/SingleProductCard/layouts/original/styles.js +5 -5
- package/_modules/themes/five/src/components/SingleProductCard/layouts/starbucks/index.js +17 -17
- package/_modules/themes/five/src/components/SingleProductCard/layouts/starbucks/styles.js +6 -6
- package/_modules/themes/five/src/components/SingleProfessionalCard/index.js +1 -1
- package/_modules/themes/five/src/components/UpsellingPage/index.js +1 -1
- package/_modules/themes/five/src/components/UserDetails/index.js +3 -3
- package/_modules/themes/five/src/components/UserFormDetails/index.js +23 -23
- package/_modules/themes/five/src/components/UserPopover/index.js +20 -20
- package/_modules/themes/five/src/components/UserPopover/styles.js +2 -2
- package/_modules/themes/five/src/components/UserProfileForm/ProfileOptions/index.js +2 -2
- package/_modules/themes/five/src/components/UserProfileForm/index.js +20 -20
- package/_modules/themes/five/src/components/UserVerification/index.js +7 -7
- package/_modules/themes/five/src/components/WalletTransactionItem/index.js +3 -3
- package/_modules/themes/five/src/components/Wallets/index.js +7 -7
- package/_modules/themes/five/src/styles/Buttons/index.js +17 -17
- package/_modules/themes/five/src/styles/Inputs/index.js +12 -12
- package/_modules/themes/four/src/components/AddressDetails/index.js +7 -7
- package/_modules/themes/four/src/components/AddressForm/index.js +31 -31
- package/_modules/themes/four/src/components/AddressList/index.js +11 -11
- package/_modules/themes/four/src/components/AddressesPopover/index.js +4 -4
- package/_modules/themes/four/src/components/AppleLogin/index.js +4 -4
- package/_modules/themes/four/src/components/AutoScroll/index.js +4 -4
- package/_modules/themes/four/src/components/BusinessBasicInformation/index.js +13 -13
- package/_modules/themes/four/src/components/BusinessController/index.js +8 -8
- package/_modules/themes/four/src/components/BusinessItemAccordion/index.js +4 -4
- package/_modules/themes/four/src/components/BusinessProductsCategories/layouts/groceries/index.js +1 -1
- package/_modules/themes/four/src/components/BusinessProductsList/index.js +1 -1
- package/_modules/themes/four/src/components/BusinessProductsList/layouts/groceries/index.js +13 -13
- package/_modules/themes/four/src/components/BusinessProductsListing/index.js +12 -12
- package/_modules/themes/four/src/components/BusinessesListing/index.js +8 -8
- package/_modules/themes/four/src/components/BusinessesListing/styles.js +2 -2
- package/_modules/themes/four/src/components/Cart/index.js +14 -14
- package/_modules/themes/four/src/components/CartContent/index.js +2 -2
- package/_modules/themes/four/src/components/Checkout/index.js +29 -29
- package/_modules/themes/four/src/components/DriverTips/index.js +3 -3
- package/_modules/themes/four/src/components/ForgotPasswordForm/index.js +3 -3
- package/_modules/themes/four/src/components/Header/index.js +26 -26
- package/_modules/themes/four/src/components/HeaderOption/index.js +1 -1
- package/_modules/themes/four/src/components/HomeHero/index.js +11 -11
- package/_modules/themes/four/src/components/HorizontalOrdersLayout/index.js +6 -6
- package/_modules/themes/four/src/components/LastOrders/index.js +7 -7
- package/_modules/themes/four/src/components/LoginForm/index.js +17 -17
- package/_modules/themes/four/src/components/MomentContent/index.js +4 -4
- package/_modules/themes/four/src/components/MomentControl/index.js +2 -2
- package/_modules/themes/four/src/components/MomentPopover/index.js +2 -2
- package/_modules/themes/four/src/components/NotFoundSource/index.js +2 -2
- package/_modules/themes/four/src/components/OrderDetails/index.js +57 -57
- package/_modules/themes/four/src/components/OrderDetails/styles.js +2 -2
- package/_modules/themes/four/src/components/OrdersOption/index.js +26 -26
- package/_modules/themes/four/src/components/ProductForm/index.js +16 -16
- package/_modules/themes/four/src/components/RenderProductsLayout/index.js +16 -16
- package/_modules/themes/four/src/components/SearchBar/styles.js +6 -6
- package/_modules/themes/four/src/components/SignUpForm/index.js +21 -21
- package/_modules/themes/four/src/components/SingleProductCard/index.js +4 -4
- package/_modules/themes/four/src/components/UserFormDetails/index.js +9 -9
- package/_modules/themes/four/src/components/UserProfileForm/index.js +3 -3
- package/_modules/themes/four/src/components/VerticalOrdersLayout/index.js +3 -3
- package/_modules/themes/franchise/src/components/AddressDetails/index.js +4 -4
- package/_modules/themes/franchise/src/components/AddressForm/index.js +30 -30
- package/_modules/themes/franchise/src/components/AddressList/index.js +11 -11
- package/_modules/themes/franchise/src/components/AppleLogin/index.js +4 -4
- package/_modules/themes/franchise/src/components/AutoScroll/index.js +4 -4
- package/_modules/themes/franchise/src/components/BusinessBasicInformation/index.js +11 -11
- package/_modules/themes/franchise/src/components/BusinessController/index.js +8 -8
- package/_modules/themes/franchise/src/components/BusinessInformation/index.js +1 -1
- package/_modules/themes/franchise/src/components/BusinessItemAccordion/index.js +1 -1
- package/_modules/themes/franchise/src/components/BusinessProductsList/index.js +6 -6
- package/_modules/themes/franchise/src/components/BusinessProductsListing/index.js +25 -25
- package/_modules/themes/franchise/src/components/BusinessReviews/index.js +2 -2
- package/_modules/themes/franchise/src/components/BusinessesListing/index.js +15 -15
- package/_modules/themes/franchise/src/components/BusinessesListing/styles.js +2 -2
- package/_modules/themes/franchise/src/components/BusinessesMap/index.js +3 -3
- package/_modules/themes/franchise/src/components/Cart/index.js +10 -10
- package/_modules/themes/franchise/src/components/CartContent/index.js +2 -2
- package/_modules/themes/franchise/src/components/CartStoresListing/index.js +4 -4
- package/_modules/themes/franchise/src/components/Checkout/index.js +21 -21
- package/_modules/themes/franchise/src/components/DriverTips/index.js +2 -2
- package/_modules/themes/franchise/src/components/ForgotPasswordForm/index.js +2 -2
- package/_modules/themes/franchise/src/components/Header/index.js +32 -32
- package/_modules/themes/franchise/src/components/HeaderOption/index.js +1 -1
- package/_modules/themes/franchise/src/components/HomeHero/index.js +7 -7
- package/_modules/themes/franchise/src/components/HorizontalOrdersLayout/index.js +3 -3
- package/_modules/themes/franchise/src/components/InputPhoneNumber/index.js +2 -2
- package/_modules/themes/franchise/src/components/LastOrders/index.js +7 -7
- package/_modules/themes/franchise/src/components/LoginForm/index.js +15 -15
- package/_modules/themes/franchise/src/components/Messages/index.js +5 -5
- package/_modules/themes/franchise/src/components/MomentContent/index.js +4 -4
- package/_modules/themes/franchise/src/components/MomentControl/index.js +2 -2
- package/_modules/themes/franchise/src/components/MySavedPlaces/index.js +2 -2
- package/_modules/themes/franchise/src/components/OrderDetails/index.js +59 -59
- package/_modules/themes/franchise/src/components/OrderDetails/styles.js +2 -2
- package/_modules/themes/franchise/src/components/OrderTypeSelectorContent/index.js +7 -7
- package/_modules/themes/franchise/src/components/OrderTypeSelectorHeader/index.js +1 -1
- package/_modules/themes/franchise/src/components/OrdersOption/index.js +26 -26
- package/_modules/themes/franchise/src/components/PaymentOptionCash/index.js +2 -2
- package/_modules/themes/franchise/src/components/PaymentOptionStripe/index.js +6 -6
- package/_modules/themes/franchise/src/components/PaymentOptions/index.js +19 -19
- package/_modules/themes/franchise/src/components/ProductForm/index.js +15 -15
- package/_modules/themes/franchise/src/components/SearchBar/index.js +2 -2
- package/_modules/themes/franchise/src/components/SearchBar/styles.js +6 -6
- package/_modules/themes/franchise/src/components/SidebarMenu/index.js +5 -5
- package/_modules/themes/franchise/src/components/SignUpForm/index.js +21 -21
- package/_modules/themes/franchise/src/components/SingleProductCard/index.js +10 -10
- package/_modules/themes/franchise/src/components/UpsellingPage/index.js +1 -1
- package/_modules/themes/franchise/src/components/UserFormDetails/index.js +9 -9
- package/_modules/themes/franchise/src/components/UserPopover/index.js +4 -4
- package/_modules/themes/franchise/src/components/UserProfileForm/index.js +3 -3
- package/_modules/themes/orderAndPay/src/components/AppleLogin/index.js +4 -4
- package/_modules/themes/orderAndPay/src/components/AutoScroll/index.js +4 -4
- package/_modules/themes/orderAndPay/src/components/BusinessItemAccordion/index.js +1 -1
- package/_modules/themes/orderAndPay/src/components/BusinessProductsList/index.js +1 -1
- package/_modules/themes/orderAndPay/src/components/BusinessProductsListing/index.js +17 -17
- package/_modules/themes/orderAndPay/src/components/BusinessReviews/index.js +2 -2
- package/_modules/themes/orderAndPay/src/components/Cart/index.js +9 -9
- package/_modules/themes/orderAndPay/src/components/CartContent/index.js +2 -2
- package/_modules/themes/orderAndPay/src/components/Checkout/index.js +22 -22
- package/_modules/themes/orderAndPay/src/components/DriverTips/index.js +2 -2
- package/_modules/themes/orderAndPay/src/components/ForgotPasswordForm/index.js +2 -2
- package/_modules/themes/orderAndPay/src/components/InputPhoneNumber/index.js +2 -2
- package/_modules/themes/orderAndPay/src/components/LoginForm/index.js +13 -13
- package/_modules/themes/orderAndPay/src/components/LogoutButton/index.js +2 -2
- package/_modules/themes/orderAndPay/src/components/Messages/index.js +5 -5
- package/_modules/themes/orderAndPay/src/components/OrderDetails/index.js +52 -52
- package/_modules/themes/orderAndPay/src/components/OrderDetails/styles.js +2 -2
- package/_modules/themes/orderAndPay/src/components/OrderTypeSelectorContent/index.js +13 -13
- package/_modules/themes/orderAndPay/src/components/OrdersOption/index.js +26 -26
- package/_modules/themes/orderAndPay/src/components/PaymentOptionCash/index.js +2 -2
- package/_modules/themes/orderAndPay/src/components/PaymentOptions/index.js +22 -22
- package/_modules/themes/orderAndPay/src/components/ProductForm/index.js +18 -18
- package/_modules/themes/orderAndPay/src/components/ProductItemAccordion/index.js +2 -2
- package/_modules/themes/orderAndPay/src/components/ProductOptionSubOption/index.js +2 -2
- package/_modules/themes/orderAndPay/src/components/SearchBar/index.js +2 -2
- package/_modules/themes/orderAndPay/src/components/SearchBar/styles.js +6 -6
- package/_modules/themes/orderAndPay/src/components/SignUpForm/index.js +19 -19
- package/_modules/themes/orderAndPay/src/components/SingleProductCard/index.js +4 -4
- package/_modules/themes/orderAndPay/src/components/UpsellingPage/index.js +1 -1
- package/_modules/themes/orderAndPay/src/components/UserDetails/styles.js +2 -2
- package/_modules/themes/orderAndPay/src/components/UserFormDetails/index.js +9 -9
- package/_modules/themes/orderAndPay/src/components/UserPopover/index.js +4 -4
- package/_modules/themes/orderAndPay/src/components/VerticalOrdersLayout/index.js +3 -3
- package/_modules/themes/pwa/src/components/AddressDetails/index.js +2 -2
- package/_modules/themes/pwa/src/components/AddressForm/index.js +29 -29
- package/_modules/themes/pwa/src/components/AddressList/index.js +11 -11
- package/_modules/themes/pwa/src/components/AppleLogin/index.js +4 -4
- package/_modules/themes/pwa/src/components/AutoScroll/index.js +2 -2
- package/_modules/themes/pwa/src/components/BusinessBasicInformation/index.js +11 -11
- package/_modules/themes/pwa/src/components/BusinessController/index.js +11 -11
- package/_modules/themes/pwa/src/components/BusinessInformation/index.js +1 -1
- package/_modules/themes/pwa/src/components/BusinessProductsList/index.js +1 -1
- package/_modules/themes/pwa/src/components/BusinessProductsListing/index.js +28 -28
- package/_modules/themes/pwa/src/components/BusinessReviews/index.js +2 -2
- package/_modules/themes/pwa/src/components/BusinessesListing/index.js +15 -15
- package/_modules/themes/pwa/src/components/BusinessesListing/styles.js +2 -2
- package/_modules/themes/pwa/src/components/Cart/index.js +10 -10
- package/_modules/themes/pwa/src/components/CartContent/index.js +2 -2
- package/_modules/themes/pwa/src/components/Checkout/index.js +20 -20
- package/_modules/themes/pwa/src/components/DriverTips/index.js +2 -2
- package/_modules/themes/pwa/src/components/ForgotPasswordForm/index.js +2 -2
- package/_modules/themes/pwa/src/components/Header/index.js +28 -28
- package/_modules/themes/pwa/src/components/HeaderOption/index.js +1 -1
- package/_modules/themes/pwa/src/components/HomeHero/index.js +16 -16
- package/_modules/themes/pwa/src/components/HorizontalOrdersLayout/index.js +4 -4
- package/_modules/themes/pwa/src/components/InputPhoneNumber/index.js +2 -2
- package/_modules/themes/pwa/src/components/LastOrders/index.js +7 -7
- package/_modules/themes/pwa/src/components/LoginForm/index.js +12 -12
- package/_modules/themes/pwa/src/components/Messages/index.js +4 -4
- package/_modules/themes/pwa/src/components/MomentContent/index.js +4 -4
- package/_modules/themes/pwa/src/components/MomentControl/index.js +2 -2
- package/_modules/themes/pwa/src/components/MomentPopover/index.js +2 -2
- package/_modules/themes/pwa/src/components/NavigationBar/index.js +1 -1
- package/_modules/themes/pwa/src/components/OrderDetails/index.js +58 -58
- package/_modules/themes/pwa/src/components/OrderDetails/styles.js +2 -2
- package/_modules/themes/pwa/src/components/OrderTypeSelectorContent/index.js +7 -7
- package/_modules/themes/pwa/src/components/OrderTypeSelectorHeader/index.js +1 -1
- package/_modules/themes/pwa/src/components/OrdersOption/index.js +26 -26
- package/_modules/themes/pwa/src/components/PaymentOptionCash/index.js +2 -2
- package/_modules/themes/pwa/src/components/PaymentOptionStripe/index.js +6 -6
- package/_modules/themes/pwa/src/components/PaymentOptions/index.js +27 -27
- package/_modules/themes/pwa/src/components/ProductForm/index.js +15 -15
- package/_modules/themes/pwa/src/components/ReviewOrder/index.js +3 -3
- package/_modules/themes/pwa/src/components/SearchBar/index.js +2 -2
- package/_modules/themes/pwa/src/components/SearchBar/styles.js +6 -6
- package/_modules/themes/pwa/src/components/SidebarMenu/index.js +5 -5
- package/_modules/themes/pwa/src/components/SignUpForm/index.js +16 -16
- package/_modules/themes/pwa/src/components/SingleProductCard/index.js +4 -4
- package/_modules/themes/pwa/src/components/UpsellingPage/index.js +1 -1
- package/_modules/themes/pwa/src/components/UserFormDetails/index.js +9 -9
- package/_modules/themes/pwa/src/components/UserPopover/index.js +4 -4
- package/_modules/themes/pwa/src/components/UserProfile/index.js +5 -5
- package/_modules/themes/pwa/src/components/VerticalOrdersLayout/index.js +4 -4
- package/_modules/themes/seven/src/components/AddressForm/index.js +29 -29
- package/_modules/themes/seven/src/components/AddressList/index.js +11 -11
- package/_modules/themes/seven/src/components/BusinessBasicInformation/index.js +1 -1
- package/_modules/themes/seven/src/components/BusinessController/index.js +6 -6
- package/_modules/themes/seven/src/components/BusinessInformation/index.js +7 -7
- package/_modules/themes/seven/src/components/BusinessInformation/styles.js +2 -2
- package/_modules/themes/seven/src/components/BusinessItemAccordion/index.js +4 -4
- package/_modules/themes/seven/src/components/BusinessProductsCategories/index.js +1 -1
- package/_modules/themes/seven/src/components/BusinessProductsList/index.js +3 -3
- package/_modules/themes/seven/src/components/BusinessProductsListing/index.js +16 -16
- package/_modules/themes/seven/src/components/BusinessesListing/index.js +13 -13
- package/_modules/themes/seven/src/components/BusinessesListing/styles.js +2 -2
- package/_modules/themes/seven/src/components/BusinessesMap/index.js +3 -3
- package/_modules/themes/seven/src/components/Cart/index.js +6 -6
- package/_modules/themes/seven/src/components/CartContent/index.js +2 -2
- package/_modules/themes/seven/src/components/Checkout/index.js +21 -21
- package/_modules/themes/seven/src/components/DriverTips/index.js +2 -2
- package/_modules/themes/seven/src/components/ForgotPasswordForm/index.js +2 -2
- package/_modules/themes/seven/src/components/Header/index.js +16 -16
- package/_modules/themes/seven/src/components/HeaderOption/index.js +1 -1
- package/_modules/themes/seven/src/components/HomeHero/index.js +17 -17
- package/_modules/themes/seven/src/components/HorizontalOrdersLayout/index.js +6 -6
- package/_modules/themes/seven/src/components/InputPhoneNumber/index.js +2 -2
- package/_modules/themes/seven/src/components/LanguageSelector/index.js +1 -1
- package/_modules/themes/seven/src/components/LoginForm/index.js +14 -14
- package/_modules/themes/seven/src/components/MomentContent/index.js +4 -4
- package/_modules/themes/seven/src/components/MomentControl/index.js +2 -2
- package/_modules/themes/seven/src/components/OrderDetails/index.js +48 -48
- package/_modules/themes/seven/src/components/OrderDetails/styles.js +2 -2
- package/_modules/themes/seven/src/components/OrdersOption/index.js +26 -26
- package/_modules/themes/seven/src/components/PaymentOptionCash/index.js +1 -1
- package/_modules/themes/seven/src/components/PaymentOptions/index.js +20 -20
- package/_modules/themes/seven/src/components/ProductForm/index.js +20 -20
- package/_modules/themes/seven/src/components/ProductForm/productForm.js +6 -6
- package/_modules/themes/seven/src/components/SignUpForm/index.js +19 -19
- package/_modules/themes/seven/src/components/SingleProductCard/index.js +4 -4
- package/_modules/themes/seven/src/components/UserFormDetails/index.js +10 -10
- package/_modules/themes/seven/src/components/UserPopover/index.js +4 -4
- package/_modules/themes/seven/src/components/UserProfileForm/index.js +3 -3
- package/_modules/themes/seven/src/components/VerticalOrdersLayout/index.js +3 -3
- package/_modules/themes/six/src/components/AddressDetails/index.js +4 -4
- package/_modules/themes/six/src/components/AddressForm/index.js +30 -30
- package/_modules/themes/six/src/components/AddressList/index.js +11 -11
- package/_modules/themes/six/src/components/AddressesPopover/index.js +2 -2
- package/_modules/themes/six/src/components/AppleLogin/index.js +4 -4
- package/_modules/themes/six/src/components/BusinessBasicInformation/index.js +9 -9
- package/_modules/themes/six/src/components/BusinessController/index.js +17 -17
- package/_modules/themes/six/src/components/BusinessController/styles.js +10 -10
- package/_modules/themes/six/src/components/BusinessInformation/index.js +3 -3
- package/_modules/themes/six/src/components/BusinessItemAccordion/index.js +4 -4
- package/_modules/themes/six/src/components/BusinessProductsList/index.js +1 -1
- package/_modules/themes/six/src/components/BusinessProductsListing/SearchProducts/index.js +5 -5
- package/_modules/themes/six/src/components/BusinessProductsListing/index.js +25 -25
- package/_modules/themes/six/src/components/BusinessesListing/index.js +10 -10
- package/_modules/themes/six/src/components/BusinessesListing/styles.js +2 -2
- package/_modules/themes/six/src/components/BusinessesMap/index.js +3 -3
- package/_modules/themes/six/src/components/Cart/index.js +9 -9
- package/_modules/themes/six/src/components/CartContent/index.js +2 -2
- package/_modules/themes/six/src/components/CartInfo/index.js +5 -5
- package/_modules/themes/six/src/components/Checkout/index.js +14 -14
- package/_modules/themes/six/src/components/DriverTips/index.js +2 -2
- package/_modules/themes/six/src/components/ForgotPasswordForm/index.js +2 -2
- package/_modules/themes/six/src/components/Header/index.js +23 -23
- package/_modules/themes/six/src/components/HeaderOption/index.js +1 -1
- package/_modules/themes/six/src/components/HomeHero/index.js +3 -3
- package/_modules/themes/six/src/components/LanguageSelector/index.js +1 -1
- package/_modules/themes/six/src/components/LoginForm/index.js +18 -18
- package/_modules/themes/six/src/components/LogoutButton/index.js +2 -2
- package/_modules/themes/six/src/components/MomentContent/index.js +4 -4
- package/_modules/themes/six/src/components/MomentControl/index.js +4 -4
- package/_modules/themes/six/src/components/NotFoundSource/index.js +2 -2
- package/_modules/themes/six/src/components/OrderDetails/index.js +50 -50
- package/_modules/themes/six/src/components/OrderDetails/styles.js +2 -2
- package/_modules/themes/six/src/components/OrderTypeSelectorHeader/index.js +1 -1
- package/_modules/themes/six/src/components/PaymentOptionCash/index.js +1 -1
- package/_modules/themes/six/src/components/PaymentOptions/index.js +20 -20
- package/_modules/themes/six/src/components/ProductForm/index.js +18 -18
- package/_modules/themes/six/src/components/ProductOptionSubOption/index.js +2 -2
- package/_modules/themes/six/src/components/SearchBar/styles.js +14 -14
- package/_modules/themes/six/src/components/SidebarMenu/index.js +6 -6
- package/_modules/themes/six/src/components/SignUpForm/index.js +23 -23
- package/_modules/themes/six/src/components/SingleProductCard/index.js +4 -4
- package/_modules/themes/six/src/components/UpsellingPage/index.js +1 -1
- package/_modules/themes/six/src/components/UserFormDetails/index.js +9 -9
- package/_modules/themes/three/src/components/AddressDetails/index.js +4 -4
- package/_modules/themes/three/src/components/AddressForm/index.js +30 -30
- package/_modules/themes/three/src/components/AddressList/index.js +11 -11
- package/_modules/themes/three/src/components/AddressesPopover/index.js +2 -2
- package/_modules/themes/three/src/components/BusinessBasicInformation/index.js +5 -5
- package/_modules/themes/three/src/components/BusinessController/index.js +4 -4
- package/_modules/themes/three/src/components/BusinessItemAccordion/index.js +4 -4
- package/_modules/themes/three/src/components/BusinessProductsList/index.js +1 -1
- package/_modules/themes/three/src/components/BusinessProductsListing/index.js +9 -9
- package/_modules/themes/three/src/components/BusinessesListing/index.js +9 -9
- package/_modules/themes/three/src/components/BusinessesListing/styles.js +2 -2
- package/_modules/themes/three/src/components/Cart/index.js +10 -10
- package/_modules/themes/three/src/components/CartContent/index.js +2 -2
- package/_modules/themes/three/src/components/Checkout/index.js +33 -33
- package/_modules/themes/three/src/components/DriverTips/index.js +3 -3
- package/_modules/themes/three/src/components/ForgotPasswordForm/index.js +2 -2
- package/_modules/themes/three/src/components/Header/index.js +22 -22
- package/_modules/themes/three/src/components/HeaderOption/index.js +1 -1
- package/_modules/themes/three/src/components/HomeHero/index.js +6 -6
- package/_modules/themes/three/src/components/HorizontalOrdersLayout/index.js +4 -4
- package/_modules/themes/three/src/components/LastOrders/index.js +7 -7
- package/_modules/themes/three/src/components/LoginForm/index.js +16 -16
- package/_modules/themes/three/src/components/MomentContent/index.js +4 -4
- package/_modules/themes/three/src/components/MomentControl/index.js +2 -2
- package/_modules/themes/three/src/components/MomentPopover/index.js +2 -2
- package/_modules/themes/three/src/components/OrderDetails/index.js +33 -33
- package/_modules/themes/three/src/components/OrderDetails/styles.js +2 -2
- package/_modules/themes/three/src/components/OrdersOption/index.js +2 -2
- package/_modules/themes/three/src/components/PaymentOptions/index.js +20 -20
- package/_modules/themes/three/src/components/ProductForm/index.js +7 -7
- package/_modules/themes/three/src/components/SignUpForm/index.js +20 -20
- package/_modules/themes/three/src/components/SingleProductCard/index.js +4 -4
- package/_modules/themes/three/src/components/UpsellingPage/index.js +1 -1
- package/_modules/themes/three/src/components/VerticalOrdersLayout/index.js +3 -3
- package/_modules/themes/three/src/styles/Select/index.js +1 -1
- package/_modules/themes/two/src/components/AddressDetails/index.js +5 -5
- package/_modules/themes/two/src/components/AddressesPopover/index.js +2 -2
- package/_modules/themes/two/src/components/AppleLogin/index.js +4 -4
- package/_modules/themes/two/src/components/AutoScroll/index.js +4 -4
- package/_modules/themes/two/src/components/BusinessBasicInformation/index.js +4 -4
- package/_modules/themes/two/src/components/BusinessController/index.js +4 -4
- package/_modules/themes/two/src/components/BusinessProductsList/index.js +1 -1
- package/_modules/themes/two/src/components/BusinessProductsListing/index.js +11 -11
- package/_modules/themes/two/src/components/BusinessTypeFilter/index.js +2 -2
- package/_modules/themes/two/src/components/BusinessesListing/index.js +8 -8
- package/_modules/themes/two/src/components/BusinessesListing/styles.js +2 -2
- package/_modules/themes/two/src/components/Cart/index.js +10 -10
- package/_modules/themes/two/src/components/CartContent/index.js +2 -2
- package/_modules/themes/two/src/components/Checkout/index.js +32 -32
- package/_modules/themes/two/src/components/DriverTips/index.js +3 -3
- package/_modules/themes/two/src/components/Header/index.js +22 -22
- package/_modules/themes/two/src/components/HomeHero/index.js +7 -7
- package/_modules/themes/two/src/components/HorizontalOrdersLayout/index.js +6 -6
- package/_modules/themes/two/src/components/LanguageSelector/index.js +1 -1
- package/_modules/themes/two/src/components/LastOrders/index.js +7 -7
- package/_modules/themes/two/src/components/LoginForm/index.js +13 -13
- package/_modules/themes/two/src/components/MomentContent/index.js +3 -3
- package/_modules/themes/two/src/components/MomentControl/index.js +5 -5
- package/_modules/themes/two/src/components/MomentPopover/index.js +2 -2
- package/_modules/themes/two/src/components/OrderDetails/index.js +30 -30
- package/_modules/themes/two/src/components/OrderDetails/styles.js +2 -2
- package/_modules/themes/two/src/components/OrdersOption/index.js +2 -2
- package/_modules/themes/two/src/components/PaymentOptions/index.js +20 -20
- package/_modules/themes/two/src/components/ProductForm/index.js +7 -7
- package/_modules/themes/two/src/components/ProductOptionSubOption/index.js +2 -2
- package/_modules/themes/two/src/components/SearchBar/index.js +2 -2
- package/_modules/themes/two/src/components/SearchBar/styles.js +4 -4
- package/_modules/themes/two/src/components/SignUpForm/index.js +19 -19
- package/_modules/themes/two/src/components/SingleProductCard/index.js +2 -2
- package/_modules/themes/two/src/components/UserProfileForm/index.js +3 -3
- package/_modules/themes/two/src/components/VerticalOrdersLayout/index.js +3 -3
- package/_modules/themes/wow/src/components/ActiveOrdersLayout/index.js +4 -4
- package/_modules/themes/wow/src/components/AddressForm/index.js +28 -28
- package/_modules/themes/wow/src/components/AddressList/index.js +9 -9
- package/_modules/themes/wow/src/components/AutoScroll/index.js +4 -4
- package/_modules/themes/wow/src/components/BusinessBasicInformation/index.js +4 -4
- package/_modules/themes/wow/src/components/BusinessController/index.js +4 -4
- package/_modules/themes/wow/src/components/BusinessItemAccordion/index.js +4 -4
- package/_modules/themes/wow/src/components/BusinessProductsList/index.js +1 -1
- package/_modules/themes/wow/src/components/BusinessProductsListing/index.js +8 -8
- package/_modules/themes/wow/src/components/BusinessesListing/index.js +2 -2
- package/_modules/themes/wow/src/components/Cart/index.js +4 -4
- package/_modules/themes/wow/src/components/CartContent/index.js +2 -2
- package/_modules/themes/wow/src/components/Checkout/index.js +14 -14
- package/_modules/themes/wow/src/components/CheckoutBill/index.js +1 -1
- package/_modules/themes/wow/src/components/CompletedOrder/index.js +4 -4
- package/_modules/themes/wow/src/components/DeliveryDetails/index.js +3 -3
- package/_modules/themes/wow/src/components/DiscountedBusinesses/index.js +2 -2
- package/_modules/themes/wow/src/components/Footer/index.js +5 -5
- package/_modules/themes/wow/src/components/Header/index.js +10 -10
- package/_modules/themes/wow/src/components/HomeHero/index.js +6 -6
- package/_modules/themes/wow/src/components/LoginForm/index.js +7 -7
- package/_modules/themes/wow/src/components/OrderDetails/index.js +18 -18
- package/_modules/themes/wow/src/components/OrderDetails/styles.js +2 -2
- package/_modules/themes/wow/src/components/OrderHelp/index.js +3 -3
- package/_modules/themes/wow/src/components/OrderTypeSelectorHeader/index.js +2 -2
- package/_modules/themes/wow/src/components/OrdersOption/index.js +2 -2
- package/_modules/themes/wow/src/components/OurBusinesses/index.js +2 -2
- package/_modules/themes/wow/src/components/PaymentOptions/index.js +3 -3
- package/_modules/themes/wow/src/components/PreOrdersLayout/index.js +4 -4
- package/_modules/themes/wow/src/components/PreorderConfirm/index.js +2 -2
- package/_modules/themes/wow/src/components/PreviousOrdersLayout/index.js +4 -4
- package/_modules/themes/wow/src/components/ProductForm/index.js +3 -3
- package/_modules/themes/wow/src/components/ProductOptionSubOption/index.js +2 -2
- package/_modules/themes/wow/src/components/ProfileBusinesBasicInformation/index.js +6 -6
- package/_modules/themes/wow/src/components/ProfileBusinesses/index.js +4 -4
- package/_modules/themes/wow/src/components/ProfileEdit/index.js +3 -3
- package/_modules/themes/wow/src/components/PromotionsBusinesses/index.js +2 -2
- package/_modules/themes/wow/src/components/ReviewOrder/index.js +3 -3
- package/_modules/themes/wow/src/components/SearchBar/index.js +2 -2
- package/_modules/themes/wow/src/components/SearchBar/styles.js +6 -6
- package/_modules/themes/wow/src/components/SidebarMenu/index.js +5 -5
- package/_modules/themes/wow/src/components/SignUpForm/index.js +13 -13
- package/_modules/themes/wow/src/components/SingleProductCard/index.js +4 -4
- package/_modules/themes/wow/src/components/SpecificBusiness/index.js +3 -3
- package/_modules/themes/wow/src/components/UserFormDetails/index.js +9 -9
- package/_modules/themes/wow/src/components/UserPopover/index.js +7 -7
- package/_modules/themes/wow/src/components/UserProfile/index.js +2 -2
- package/_modules/themes/wow/src/components/UserProfileDropDown/index.js +2 -2
- package/_modules/utils/index.js +48 -48
- package/package.json +2 -2
- package/src/themes/five/src/components/BusinessPreorder/styles.js +7 -4
- package/src/themes/five/src/components/ServiceForm/index.js +86 -72
- package/_bundles/ordering-ui.e758aec40c3bf292cadb.js +0 -2
- /package/_bundles/{0.ordering-ui.e758aec40c3bf292cadb.js → 0.ordering-ui.c9614f5ee3d14727dd90.js} +0 -0
- /package/_bundles/{1.ordering-ui.e758aec40c3bf292cadb.js → 1.ordering-ui.c9614f5ee3d14727dd90.js} +0 -0
- /package/_bundles/{2.ordering-ui.e758aec40c3bf292cadb.js → 2.ordering-ui.c9614f5ee3d14727dd90.js} +0 -0
- /package/_bundles/{4.ordering-ui.e758aec40c3bf292cadb.js → 4.ordering-ui.c9614f5ee3d14727dd90.js} +0 -0
- /package/_bundles/{5.ordering-ui.e758aec40c3bf292cadb.js → 5.ordering-ui.c9614f5ee3d14727dd90.js} +0 -0
- /package/_bundles/{6.ordering-ui.e758aec40c3bf292cadb.js → 6.ordering-ui.c9614f5ee3d14727dd90.js} +0 -0
- /package/_bundles/{7.ordering-ui.e758aec40c3bf292cadb.js.LICENSE.txt → 7.ordering-ui.c9614f5ee3d14727dd90.js.LICENSE.txt} +0 -0
- /package/_bundles/{8.ordering-ui.e758aec40c3bf292cadb.js → 8.ordering-ui.c9614f5ee3d14727dd90.js} +0 -0
- /package/_bundles/{9.ordering-ui.e758aec40c3bf292cadb.js → 9.ordering-ui.c9614f5ee3d14727dd90.js} +0 -0
- /package/_bundles/{ordering-ui.e758aec40c3bf292cadb.js.LICENSE.txt → ordering-ui.c9614f5ee3d14727dd90.js.LICENSE.txt} +0 -0
|
@@ -36,7 +36,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
36
36
|
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
37
37
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
38
38
|
var OrdersOptionUI = function OrdersOptionUI(props) {
|
|
39
|
-
var _theme$images, _theme$
|
|
39
|
+
var _theme$images, _theme$images2, _props$beforeElements, _props$beforeComponen, _props$afterComponent, _props$afterElements;
|
|
40
40
|
var horizontal = props.horizontal,
|
|
41
41
|
activeOrders = props.activeOrders,
|
|
42
42
|
orderList = props.orderList,
|
|
@@ -57,7 +57,7 @@ var OrdersOptionUI = function OrdersOptionUI(props) {
|
|
|
57
57
|
var loading = orderList.loading,
|
|
58
58
|
error = orderList.error,
|
|
59
59
|
values = orderList.orders;
|
|
60
|
-
var imageFails = activeOrders ? (_theme$images = theme.images) === null || _theme$images === void 0
|
|
60
|
+
var imageFails = activeOrders ? (_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.general) === null || _theme$images === void 0 ? void 0 : _theme$images.emptyActiveOrders : (_theme$images2 = theme.images) === null || _theme$images2 === void 0 || (_theme$images2 = _theme$images2.general) === null || _theme$images2 === void 0 ? void 0 : _theme$images2.emptyPastOrders;
|
|
61
61
|
var orders = customArray || values;
|
|
62
62
|
var isShowTitles = businessesIds ? orders && orders.length > 0 && !orders.map(function (order) {
|
|
63
63
|
return businessesIds && businessesIds.includes(order.business_id);
|
|
@@ -120,76 +120,76 @@ var OrdersOptionUI = function OrdersOptionUI(props) {
|
|
|
120
120
|
var status = parseInt(s);
|
|
121
121
|
var orderStatus = [{
|
|
122
122
|
key: 0,
|
|
123
|
-
value: t('PENDING', (theme === null || theme === void 0
|
|
123
|
+
value: t('PENDING', (theme === null || theme === void 0 || (_theme$defaultLanguag = theme.defaultLanguages) === null || _theme$defaultLanguag === void 0 ? void 0 : _theme$defaultLanguag.PENDING) || 'Pending')
|
|
124
124
|
}, {
|
|
125
125
|
key: 1,
|
|
126
|
-
value: t('COMPLETED', (theme === null || theme === void 0
|
|
126
|
+
value: t('COMPLETED', (theme === null || theme === void 0 || (_theme$defaultLanguag2 = theme.defaultLanguages) === null || _theme$defaultLanguag2 === void 0 ? void 0 : _theme$defaultLanguag2.COMPLETED) || 'Completed')
|
|
127
127
|
}, {
|
|
128
128
|
key: 2,
|
|
129
|
-
value: t('REJECTED', (theme === null || theme === void 0
|
|
129
|
+
value: t('REJECTED', (theme === null || theme === void 0 || (_theme$defaultLanguag3 = theme.defaultLanguages) === null || _theme$defaultLanguag3 === void 0 ? void 0 : _theme$defaultLanguag3.REJECTED) || 'Rejected')
|
|
130
130
|
}, {
|
|
131
131
|
key: 3,
|
|
132
|
-
value: t('DRIVER_IN_BUSINESS', (theme === null || theme === void 0
|
|
132
|
+
value: t('DRIVER_IN_BUSINESS', (theme === null || theme === void 0 || (_theme$defaultLanguag4 = theme.defaultLanguages) === null || _theme$defaultLanguag4 === void 0 ? void 0 : _theme$defaultLanguag4.DRIVER_IN_BUSINESS) || 'Driver in business')
|
|
133
133
|
}, {
|
|
134
134
|
key: 4,
|
|
135
|
-
value: t('PREPARATION_COMPLETED', (theme === null || theme === void 0
|
|
135
|
+
value: t('PREPARATION_COMPLETED', (theme === null || theme === void 0 || (_theme$defaultLanguag5 = theme.defaultLanguages) === null || _theme$defaultLanguag5 === void 0 ? void 0 : _theme$defaultLanguag5.PREPARATION_COMPLETED) || 'Preparation Completed')
|
|
136
136
|
}, {
|
|
137
137
|
key: 5,
|
|
138
|
-
value: t('REJECTED_BY_BUSINESS', (theme === null || theme === void 0
|
|
138
|
+
value: t('REJECTED_BY_BUSINESS', (theme === null || theme === void 0 || (_theme$defaultLanguag6 = theme.defaultLanguages) === null || _theme$defaultLanguag6 === void 0 ? void 0 : _theme$defaultLanguag6.REJECTED_BY_BUSINESS) || 'Rejected by business')
|
|
139
139
|
}, {
|
|
140
140
|
key: 6,
|
|
141
|
-
value: t('REJECTED_BY_DRIVER', (theme === null || theme === void 0
|
|
141
|
+
value: t('REJECTED_BY_DRIVER', (theme === null || theme === void 0 || (_theme$defaultLanguag7 = theme.defaultLanguages) === null || _theme$defaultLanguag7 === void 0 ? void 0 : _theme$defaultLanguag7.REJECTED_BY_DRIVER) || 'Rejected by Driver')
|
|
142
142
|
}, {
|
|
143
143
|
key: 7,
|
|
144
|
-
value: t('ACCEPTED_BY_BUSINESS', (theme === null || theme === void 0
|
|
144
|
+
value: t('ACCEPTED_BY_BUSINESS', (theme === null || theme === void 0 || (_theme$defaultLanguag8 = theme.defaultLanguages) === null || _theme$defaultLanguag8 === void 0 ? void 0 : _theme$defaultLanguag8.ACCEPTED_BY_BUSINESS) || 'Accepted by business')
|
|
145
145
|
}, {
|
|
146
146
|
key: 8,
|
|
147
|
-
value: t('ACCEPTED_BY_DRIVER', (theme === null || theme === void 0
|
|
147
|
+
value: t('ACCEPTED_BY_DRIVER', (theme === null || theme === void 0 || (_theme$defaultLanguag9 = theme.defaultLanguages) === null || _theme$defaultLanguag9 === void 0 ? void 0 : _theme$defaultLanguag9.ACCEPTED_BY_DRIVER) || 'Accepted by driver')
|
|
148
148
|
}, {
|
|
149
149
|
key: 9,
|
|
150
|
-
value: t('PICK_UP_COMPLETED_BY_DRIVER', (theme === null || theme === void 0
|
|
150
|
+
value: t('PICK_UP_COMPLETED_BY_DRIVER', (theme === null || theme === void 0 || (_theme$defaultLanguag10 = theme.defaultLanguages) === null || _theme$defaultLanguag10 === void 0 ? void 0 : _theme$defaultLanguag10.PICK_UP_COMPLETED_BY_DRIVER) || 'Pick up completed by driver')
|
|
151
151
|
}, {
|
|
152
152
|
key: 10,
|
|
153
|
-
value: t('PICK_UP_FAILED_BY_DRIVER', (theme === null || theme === void 0
|
|
153
|
+
value: t('PICK_UP_FAILED_BY_DRIVER', (theme === null || theme === void 0 || (_theme$defaultLanguag11 = theme.defaultLanguages) === null || _theme$defaultLanguag11 === void 0 ? void 0 : _theme$defaultLanguag11.PICK_UP_FAILED_BY_DRIVER) || 'Pick up Failed by driver')
|
|
154
154
|
}, {
|
|
155
155
|
key: 11,
|
|
156
|
-
value: t('DELIVERY_COMPLETED_BY_DRIVER', (theme === null || theme === void 0
|
|
156
|
+
value: t('DELIVERY_COMPLETED_BY_DRIVER', (theme === null || theme === void 0 || (_theme$defaultLanguag12 = theme.defaultLanguages) === null || _theme$defaultLanguag12 === void 0 ? void 0 : _theme$defaultLanguag12.DELIVERY_COMPLETED_BY_DRIVER) || 'Delivery completed by driver')
|
|
157
157
|
}, {
|
|
158
158
|
key: 12,
|
|
159
|
-
value: t('DELIVERY_FAILED_BY_DRIVER', (theme === null || theme === void 0
|
|
159
|
+
value: t('DELIVERY_FAILED_BY_DRIVER', (theme === null || theme === void 0 || (_theme$defaultLanguag13 = theme.defaultLanguages) === null || _theme$defaultLanguag13 === void 0 ? void 0 : _theme$defaultLanguag13.DELIVERY_FAILED_BY_DRIVER) || 'Delivery Failed by driver')
|
|
160
160
|
}, {
|
|
161
161
|
key: 13,
|
|
162
|
-
value: t('PREORDER', (theme === null || theme === void 0
|
|
162
|
+
value: t('PREORDER', (theme === null || theme === void 0 || (_theme$defaultLanguag14 = theme.defaultLanguages) === null || _theme$defaultLanguag14 === void 0 ? void 0 : _theme$defaultLanguag14.PREORDER) || 'PreOrder')
|
|
163
163
|
}, {
|
|
164
164
|
key: 14,
|
|
165
|
-
value: t('ORDER_NOT_READY', (theme === null || theme === void 0
|
|
165
|
+
value: t('ORDER_NOT_READY', (theme === null || theme === void 0 || (_theme$defaultLanguag15 = theme.defaultLanguages) === null || _theme$defaultLanguag15 === void 0 ? void 0 : _theme$defaultLanguag15.ORDER_NOT_READY) || 'Order not ready')
|
|
166
166
|
}, {
|
|
167
167
|
key: 15,
|
|
168
|
-
value: t('ORDER_PICKEDUP_COMPLETED_BY_CUSTOMER', (theme === null || theme === void 0
|
|
168
|
+
value: t('ORDER_PICKEDUP_COMPLETED_BY_CUSTOMER', (theme === null || theme === void 0 || (_theme$defaultLanguag16 = theme.defaultLanguages) === null || _theme$defaultLanguag16 === void 0 ? void 0 : _theme$defaultLanguag16.ORDER_PICKEDUP_COMPLETED_BY_CUSTOMER) || 'Order picked up completed by customer')
|
|
169
169
|
}, {
|
|
170
170
|
key: 16,
|
|
171
|
-
value: t('ORDER_STATUS_CANCELLED_BY_CUSTOMER', (theme === null || theme === void 0
|
|
171
|
+
value: t('ORDER_STATUS_CANCELLED_BY_CUSTOMER', (theme === null || theme === void 0 || (_theme$defaultLanguag17 = theme.defaultLanguages) === null || _theme$defaultLanguag17 === void 0 ? void 0 : _theme$defaultLanguag17.ORDER_STATUS_CANCELLED_BY_CUSTOMER) || 'Order cancelled by customer')
|
|
172
172
|
}, {
|
|
173
173
|
key: 17,
|
|
174
|
-
value: t('ORDER_NOT_PICKEDUP_BY_CUSTOMER', (theme === null || theme === void 0
|
|
174
|
+
value: t('ORDER_NOT_PICKEDUP_BY_CUSTOMER', (theme === null || theme === void 0 || (_theme$defaultLanguag18 = theme.defaultLanguages) === null || _theme$defaultLanguag18 === void 0 ? void 0 : _theme$defaultLanguag18.ORDER_NOT_PICKEDUP_BY_CUSTOMER) || 'Order not picked up by customer')
|
|
175
175
|
}, {
|
|
176
176
|
key: 18,
|
|
177
|
-
value: t('ORDER_DRIVER_ALMOST_ARRIVED_BUSINESS', (theme === null || theme === void 0
|
|
177
|
+
value: t('ORDER_DRIVER_ALMOST_ARRIVED_BUSINESS', (theme === null || theme === void 0 || (_theme$defaultLanguag19 = theme.defaultLanguages) === null || _theme$defaultLanguag19 === void 0 ? void 0 : _theme$defaultLanguag19.ORDER_DRIVER_ALMOST_ARRIVED_BUSINESS) || 'Driver almost arrived to business')
|
|
178
178
|
}, {
|
|
179
179
|
key: 19,
|
|
180
|
-
value: t('ORDER_DRIVER_ALMOST_ARRIVED_CUSTOMER', (theme === null || theme === void 0
|
|
180
|
+
value: t('ORDER_DRIVER_ALMOST_ARRIVED_CUSTOMER', (theme === null || theme === void 0 || (_theme$defaultLanguag20 = theme.defaultLanguages) === null || _theme$defaultLanguag20 === void 0 ? void 0 : _theme$defaultLanguag20.ORDER_DRIVER_ALMOST_ARRIVED_CUSTOMER) || 'Driver almost arrived to customer')
|
|
181
181
|
}, {
|
|
182
182
|
key: 20,
|
|
183
|
-
value: t('ORDER_CUSTOMER_ALMOST_ARRIVED_BUSINESS', (theme === null || theme === void 0
|
|
183
|
+
value: t('ORDER_CUSTOMER_ALMOST_ARRIVED_BUSINESS', (theme === null || theme === void 0 || (_theme$defaultLanguag21 = theme.defaultLanguages) === null || _theme$defaultLanguag21 === void 0 ? void 0 : _theme$defaultLanguag21.ORDER_CUSTOMER_ALMOST_ARRIVED_BUSINESS) || 'Customer almost arrived to business')
|
|
184
184
|
}, {
|
|
185
185
|
key: 21,
|
|
186
|
-
value: t('ORDER_CUSTOMER_ARRIVED_BUSINESS', (theme === null || theme === void 0
|
|
186
|
+
value: t('ORDER_CUSTOMER_ARRIVED_BUSINESS', (theme === null || theme === void 0 || (_theme$defaultLanguag22 = theme.defaultLanguages) === null || _theme$defaultLanguag22 === void 0 ? void 0 : _theme$defaultLanguag22.ORDER_CUSTOMER_ARRIVED_BUSINESS) || 'Customer arrived to business')
|
|
187
187
|
}, {
|
|
188
188
|
key: 22,
|
|
189
|
-
value: t('ORDER_LOOKING_FOR_DRIVER', (theme === null || theme === void 0
|
|
189
|
+
value: t('ORDER_LOOKING_FOR_DRIVER', (theme === null || theme === void 0 || (_theme$defaultLanguag23 = theme.defaultLanguages) === null || _theme$defaultLanguag23 === void 0 ? void 0 : _theme$defaultLanguag23.ORDER_LOOKING_FOR_DRIVER) || 'Looking for driver')
|
|
190
190
|
}, {
|
|
191
191
|
key: 23,
|
|
192
|
-
value: t('ORDER_DRIVER_ON_WAY', (theme === null || theme === void 0
|
|
192
|
+
value: t('ORDER_DRIVER_ON_WAY', (theme === null || theme === void 0 || (_theme$defaultLanguag24 = theme.defaultLanguages) === null || _theme$defaultLanguag24 === void 0 ? void 0 : _theme$defaultLanguag24.ORDER_DRIVER_ON_WAY) || 'Driver on way')
|
|
193
193
|
}];
|
|
194
194
|
var objectStatus = orderStatus.find(function (o) {
|
|
195
195
|
return o.key === status;
|
|
@@ -139,7 +139,7 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
|
|
|
139
139
|
var _user$session;
|
|
140
140
|
login({
|
|
141
141
|
user: user,
|
|
142
|
-
token: user === null || user === void 0
|
|
142
|
+
token: user === null || user === void 0 || (_user$session = user.session) === null || _user$session === void 0 ? void 0 : _user$session.access_token
|
|
143
143
|
});
|
|
144
144
|
closeModal();
|
|
145
145
|
};
|
|
@@ -154,10 +154,10 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
|
|
|
154
154
|
return classnames;
|
|
155
155
|
};
|
|
156
156
|
(0, _react.useEffect)(function () {
|
|
157
|
-
var _theme$images,
|
|
157
|
+
var _theme$images, _product$gallery;
|
|
158
158
|
var imageList = [];
|
|
159
|
-
imageList.push((product === null || product === void 0 ? void 0 : product.images) || ((_theme$images = theme.images) === null || _theme$images === void 0
|
|
160
|
-
if (product !== null && product !== void 0 && product.gallery && (product === null || product === void 0
|
|
159
|
+
imageList.push((product === null || product === void 0 ? void 0 : product.images) || ((_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.dummies) === null || _theme$images === void 0 ? void 0 : _theme$images.product));
|
|
160
|
+
if (product !== null && product !== void 0 && product.gallery && (product === null || product === void 0 || (_product$gallery = product.gallery) === null || _product$gallery === void 0 ? void 0 : _product$gallery.length) > 0) {
|
|
161
161
|
var _iterator = _createForOfIteratorHelper(product === null || product === void 0 ? void 0 : product.gallery),
|
|
162
162
|
_step;
|
|
163
163
|
try {
|
|
@@ -275,15 +275,15 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
|
|
|
275
275
|
})), (product === null || product === void 0 ? void 0 : product.images) && /*#__PURE__*/_react.default.createElement(_styles.Zoomlink, {
|
|
276
276
|
target: "_blank",
|
|
277
277
|
href: product === null || product === void 0 ? void 0 : product.images
|
|
278
|
-
}, /*#__PURE__*/_react.default.createElement(_FiZoomIn.default, null))), /*#__PURE__*/_react.default.createElement(_styles.ProductInfo, null, /*#__PURE__*/_react.default.createElement(_styles.ProductFormTitle, null, /*#__PURE__*/_react.default.createElement(_styles.ProductName, null, product === null || product === void 0 ? void 0 : product.name), /*#__PURE__*/_react.default.createElement(_styles.Properties, null, /*#__PURE__*/_react.default.createElement(_styles.PriceContent, null, parsePrice(product === null || product === void 0 ? void 0 : product.price)), /*#__PURE__*/_react.default.createElement(_styles.ProductMeta, null, (product === null || product === void 0 ? void 0 : product.sku) && (product === null || product === void 0 ? void 0 : product.sku) !== '-1' && (product === null || product === void 0 ? void 0 : product.sku) !== '1' && /*#__PURE__*/_react.default.createElement(_styles.SkuContent, null, /*#__PURE__*/_react.default.createElement("span", null, t('SKU', (theme === null || theme === void 0
|
|
279
|
-
var _theme$images2
|
|
278
|
+
}, /*#__PURE__*/_react.default.createElement(_FiZoomIn.default, null))), /*#__PURE__*/_react.default.createElement(_styles.ProductInfo, null, /*#__PURE__*/_react.default.createElement(_styles.ProductFormTitle, null, /*#__PURE__*/_react.default.createElement(_styles.ProductName, null, product === null || product === void 0 ? void 0 : product.name), /*#__PURE__*/_react.default.createElement(_styles.Properties, null, /*#__PURE__*/_react.default.createElement(_styles.PriceContent, null, parsePrice(product === null || product === void 0 ? void 0 : product.price)), /*#__PURE__*/_react.default.createElement(_styles.ProductMeta, null, (product === null || product === void 0 ? void 0 : product.sku) && (product === null || product === void 0 ? void 0 : product.sku) !== '-1' && (product === null || product === void 0 ? void 0 : product.sku) !== '1' && /*#__PURE__*/_react.default.createElement(_styles.SkuContent, null, /*#__PURE__*/_react.default.createElement("span", null, t('SKU', (theme === null || theme === void 0 || (_theme$defaultLanguag = theme.defaultLanguages) === null || _theme$defaultLanguag === void 0 ? void 0 : _theme$defaultLanguag.SKU) || 'Sku'), "\xA0"), /*#__PURE__*/_react.default.createElement("span", null, product === null || product === void 0 ? void 0 : product.sku)), (product === null || product === void 0 ? void 0 : product.sku) && (product === null || product === void 0 ? void 0 : product.sku) !== '-1' && (product === null || product === void 0 ? void 0 : product.sku) !== '1' && (product === null || product === void 0 ? void 0 : product.estimated_person) && /*#__PURE__*/_react.default.createElement("span", null, "\xA0\xB7\xA0"), (product === null || product === void 0 ? void 0 : product.estimated_person) && /*#__PURE__*/_react.default.createElement(_styles.EstimatedPersons, null, /*#__PURE__*/_react.default.createElement("span", null, product === null || product === void 0 ? void 0 : product.estimated_person, "\xA0"), /*#__PURE__*/_react.default.createElement("span", null, t('ESTIMATED_PERSONS', 'persons'))))), (product === null || product === void 0 ? void 0 : product.description) && /*#__PURE__*/_react.default.createElement(_styles.ProductDescription, null, product === null || product === void 0 ? void 0 : product.description)), /*#__PURE__*/_react.default.createElement(_styles.ProductTagsListContainer, null, product.tags.map(function (tag) {
|
|
279
|
+
var _theme$images2;
|
|
280
280
|
return /*#__PURE__*/_react.default.createElement(_styles.ProductTagWrapper, {
|
|
281
281
|
key: tag.id
|
|
282
282
|
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
283
|
-
src: optimizeImage((tag === null || tag === void 0 ? void 0 : tag.image) || ((_theme$images2 = theme.images) === null || _theme$images2 === void 0
|
|
283
|
+
src: optimizeImage((tag === null || tag === void 0 ? void 0 : tag.image) || ((_theme$images2 = theme.images) === null || _theme$images2 === void 0 || (_theme$images2 = _theme$images2.dummies) === null || _theme$images2 === void 0 ? void 0 : _theme$images2.product), 'h_40,c_limit'),
|
|
284
284
|
alt: ""
|
|
285
285
|
}), /*#__PURE__*/_react.default.createElement("span", null, tag.name));
|
|
286
|
-
})), /*#__PURE__*/_react.default.createElement(_styles.ProductEdition, null, (product === null || product === void 0 ? void 0 : product.ingredients.length) > 0 && /*#__PURE__*/_react.default.createElement(_styles.SectionTitle, null, t('INGREDIENTS', (theme === null || theme === void 0
|
|
286
|
+
})), /*#__PURE__*/_react.default.createElement(_styles.ProductEdition, null, (product === null || product === void 0 ? void 0 : product.ingredients.length) > 0 && /*#__PURE__*/_react.default.createElement(_styles.SectionTitle, null, t('INGREDIENTS', (theme === null || theme === void 0 || (_theme$defaultLanguag2 = theme.defaultLanguages) === null || _theme$defaultLanguag2 === void 0 ? void 0 : _theme$defaultLanguag2.INGREDIENTS) || 'Ingredients')), /*#__PURE__*/_react.default.createElement(_styles.WrapperIngredients, {
|
|
287
287
|
isProductSoldout: isSoldOut || maxProductQuantity <= 0
|
|
288
288
|
}, product === null || product === void 0 ? void 0 : product.ingredients.map(function (ingredient) {
|
|
289
289
|
return /*#__PURE__*/_react.default.createElement(_ProductIngredient.ProductIngredient, {
|
|
@@ -319,9 +319,9 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
|
|
|
319
319
|
});
|
|
320
320
|
}))));
|
|
321
321
|
});
|
|
322
|
-
}), !(product !== null && product !== void 0 && product.hide_special_instructions) && /*#__PURE__*/_react.default.createElement(_styles.ProductComment, null, /*#__PURE__*/_react.default.createElement(_styles.SectionTitle, null, t('SPECIAL_COMMENT', (theme === null || theme === void 0
|
|
322
|
+
}), !(product !== null && product !== void 0 && product.hide_special_instructions) && /*#__PURE__*/_react.default.createElement(_styles.ProductComment, null, /*#__PURE__*/_react.default.createElement(_styles.SectionTitle, null, t('SPECIAL_COMMENT', (theme === null || theme === void 0 || (_theme$defaultLanguag3 = theme.defaultLanguages) === null || _theme$defaultLanguag3 === void 0 ? void 0 : _theme$defaultLanguag3.SPECIAL_COMMENT) || 'Special comment')), /*#__PURE__*/_react.default.createElement(_Inputs.TextArea, {
|
|
323
323
|
rows: 4,
|
|
324
|
-
placeholder: t('SPECIAL_COMMENT', (theme === null || theme === void 0
|
|
324
|
+
placeholder: t('SPECIAL_COMMENT', (theme === null || theme === void 0 || (_theme$defaultLanguag4 = theme.defaultLanguages) === null || _theme$defaultLanguag4 === void 0 ? void 0 : _theme$defaultLanguag4.SPECIAL_COMMENT) || 'Special comment'),
|
|
325
325
|
defaultValue: productCart.comment,
|
|
326
326
|
onChange: handleChangeCommentState,
|
|
327
327
|
disabled: !(productCart && !isSoldOut && maxProductQuantity)
|
|
@@ -348,11 +348,11 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
|
|
|
348
348
|
return handleSaveProduct();
|
|
349
349
|
},
|
|
350
350
|
disabled: orderState.loading
|
|
351
|
-
}, orderState.loading ? /*#__PURE__*/_react.default.createElement("span", null, t('LOADING', (theme === null || theme === void 0
|
|
351
|
+
}, orderState.loading ? /*#__PURE__*/_react.default.createElement("span", null, t('LOADING', (theme === null || theme === void 0 || (_theme$defaultLanguag5 = theme.defaultLanguages) === null || _theme$defaultLanguag5 === void 0 ? void 0 : _theme$defaultLanguag5.LOADING) || 'Loading')) : /*#__PURE__*/_react.default.createElement("span", null, editMode ? t('UPDATE', (theme === null || theme === void 0 || (_theme$defaultLanguag6 = theme.defaultLanguages) === null || _theme$defaultLanguag6 === void 0 ? void 0 : _theme$defaultLanguag6.UPDATE) || 'Update') : t('ADD_TO_CART', (theme === null || theme === void 0 || (_theme$defaultLanguag7 = theme.defaultLanguages) === null || _theme$defaultLanguag7 === void 0 ? void 0 : _theme$defaultLanguag7.ADD_TO_CART) || 'Add to Cart')), /*#__PURE__*/_react.default.createElement("span", null, productCart.total && parsePrice(productCart.total))), auth && !((_orderState$options2 = orderState.options) !== null && _orderState$options2 !== void 0 && _orderState$options2.address_id) && (orderState.loading ? /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
|
|
352
352
|
className: "add",
|
|
353
353
|
color: "primary",
|
|
354
354
|
disabled: true
|
|
355
|
-
}, t('LOADING', (theme === null || theme === void 0
|
|
355
|
+
}, t('LOADING', (theme === null || theme === void 0 || (_theme$defaultLanguag8 = theme.defaultLanguages) === null || _theme$defaultLanguag8 === void 0 ? void 0 : _theme$defaultLanguag8.LOADING) || 'Loading')) : /*#__PURE__*/_react.default.createElement(_AddressList.AddressList, {
|
|
356
356
|
isModal: true,
|
|
357
357
|
userId: isNaN(userCustomer === null || userCustomer === void 0 ? void 0 : userCustomer.id) ? null : userCustomer === null || userCustomer === void 0 ? void 0 : userCustomer.id,
|
|
358
358
|
addressList: isNaN(userCustomer === null || userCustomer === void 0 ? void 0 : userCustomer.id) ? user.addresses : null,
|
|
@@ -365,7 +365,7 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
|
|
|
365
365
|
onClick: function onClick() {
|
|
366
366
|
return setModalIsOpen(true);
|
|
367
367
|
}
|
|
368
|
-
}, isSoldOut || maxProductQuantity <= 0 ? t('SOLD_OUT', (theme === null || theme === void 0
|
|
368
|
+
}, isSoldOut || maxProductQuantity <= 0 ? t('SOLD_OUT', (theme === null || theme === void 0 || (_theme$defaultLanguag9 = theme.defaultLanguages) === null || _theme$defaultLanguag9 === void 0 ? void 0 : _theme$defaultLanguag9.SOLD_OUT) || 'Sold out') : t('LOGIN_SIGNUP', (theme === null || theme === void 0 || (_theme$defaultLanguag10 = theme.defaultLanguages) === null || _theme$defaultLanguag10 === void 0 ? void 0 : _theme$defaultLanguag10.LOGIN_SIGNUP) || 'Login / Sign Up'))))), modalIsOpen && !auth && /*#__PURE__*/_react.default.createElement(_Modal.Modal, {
|
|
369
369
|
open: modalIsOpen,
|
|
370
370
|
onClose: function onClose() {
|
|
371
371
|
return closeModal();
|
|
@@ -389,7 +389,7 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
|
|
|
389
389
|
});
|
|
390
390
|
},
|
|
391
391
|
href: "#"
|
|
392
|
-
}, t('RESET_PASSWORD', (theme === null || theme === void 0
|
|
392
|
+
}, t('RESET_PASSWORD', (theme === null || theme === void 0 || (_theme$defaultLanguag11 = theme.defaultLanguages) === null || _theme$defaultLanguag11 === void 0 ? void 0 : _theme$defaultLanguag11.RESET_PASSWORD) || 'Reset password')),
|
|
393
393
|
useLoginByCellphone: true,
|
|
394
394
|
isPopup: true
|
|
395
395
|
}), modalPageToShow === 'signup' && /*#__PURE__*/_react.default.createElement(_SignUpForm.SignUpForm, {
|
|
@@ -400,7 +400,7 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
|
|
|
400
400
|
});
|
|
401
401
|
},
|
|
402
402
|
href: "#"
|
|
403
|
-
}, t('LOGIN', (theme === null || theme === void 0
|
|
403
|
+
}, t('LOGIN', (theme === null || theme === void 0 || (_theme$defaultLanguag12 = theme.defaultLanguages) === null || _theme$defaultLanguag12 === void 0 ? void 0 : _theme$defaultLanguag12.LOGIN) || 'Login')),
|
|
404
404
|
useLoginByCellphone: true,
|
|
405
405
|
useChekoutFileds: true,
|
|
406
406
|
handleSuccessSignup: handleSuccessSignup,
|
|
@@ -413,7 +413,7 @@ var ProductOptionsUI = function ProductOptionsUI(props) {
|
|
|
413
413
|
});
|
|
414
414
|
},
|
|
415
415
|
href: "#"
|
|
416
|
-
}, t('LOGIN', (theme === null || theme === void 0
|
|
416
|
+
}, t('LOGIN', (theme === null || theme === void 0 || (_theme$defaultLanguag13 = theme.defaultLanguages) === null || _theme$defaultLanguag13 === void 0 ? void 0 : _theme$defaultLanguag13.LOGIN) || 'Login')),
|
|
417
417
|
isPopup: true
|
|
418
418
|
})), error && error.length > 0 && /*#__PURE__*/_react.default.createElement(_NotFoundSource.NotFoundSource, {
|
|
419
419
|
content: ((_error$ = error[0]) === null || _error$ === void 0 ? void 0 : _error$.message) || error[0]
|
|
@@ -74,7 +74,7 @@ var RenderProductsLayout = function RenderProductsLayout(props) {
|
|
|
74
74
|
_useState2 = _slicedToArray(_useState, 2),
|
|
75
75
|
isCartModal = _useState2[0],
|
|
76
76
|
setisCartModal = _useState2[1];
|
|
77
|
-
var isUseParentCategory = (configs === null || configs === void 0
|
|
77
|
+
var isUseParentCategory = (configs === null || configs === void 0 || (_configs$use_parent_c = configs.use_parent_category) === null || _configs$use_parent_c === void 0 ? void 0 : _configs$use_parent_c.value) === 'true' || (configs === null || configs === void 0 || (_configs$use_parent_c2 = configs.use_parent_category) === null || _configs$use_parent_c2 === void 0 ? void 0 : _configs$use_parent_c2.value) === '1';
|
|
78
78
|
var frontLayout = business === null || business === void 0 ? void 0 : business.front_layout;
|
|
79
79
|
var businessLayout = {
|
|
80
80
|
layoutOne: frontLayout === layoutOne && isUseParentCategory
|
|
@@ -102,13 +102,13 @@ var RenderProductsLayout = function RenderProductsLayout(props) {
|
|
|
102
102
|
errorQuantityProducts: errorQuantityProducts,
|
|
103
103
|
setOpenBusinessInformation: setOpenBusinessInformation,
|
|
104
104
|
openBusinessInformation: openBusinessInformation
|
|
105
|
-
}), !errorQuantityProducts ? /*#__PURE__*/_react.default.createElement(_styles.WrapContent, null, /*#__PURE__*/_react.default.createElement(_styles.BusinessCategoriesContainer, null, !((business === null || business === void 0
|
|
105
|
+
}), !errorQuantityProducts ? /*#__PURE__*/_react.default.createElement(_styles.WrapContent, null, /*#__PURE__*/_react.default.createElement(_styles.BusinessCategoriesContainer, null, !((business === null || business === void 0 || (_business$categories = business.categories) === null || _business$categories === void 0 ? void 0 : _business$categories.length) === 0 && !categoryId) && /*#__PURE__*/_react.default.createElement(_BusinessProductsCategories.BusinessProductsCategories, {
|
|
106
106
|
categories: [{
|
|
107
107
|
id: null,
|
|
108
|
-
name: t('ALL', (theme === null || theme === void 0
|
|
108
|
+
name: t('ALL', (theme === null || theme === void 0 || (_theme$defaultLanguag = theme.defaultLanguages) === null || _theme$defaultLanguag === void 0 ? void 0 : _theme$defaultLanguag.ALL) || 'All')
|
|
109
109
|
}, {
|
|
110
110
|
id: 'featured',
|
|
111
|
-
name: t('FEATURED', (theme === null || theme === void 0
|
|
111
|
+
name: t('FEATURED', (theme === null || theme === void 0 || (_theme$defaultLanguag2 = theme.defaultLanguages) === null || _theme$defaultLanguag2 === void 0 ? void 0 : _theme$defaultLanguag2.FEATURED) || 'Featured')
|
|
112
112
|
}].concat(_toConsumableArray(business === null || business === void 0 ? void 0 : business.categories.sort(function (a, b) {
|
|
113
113
|
return a.rank - b.rank;
|
|
114
114
|
}))),
|
|
@@ -119,10 +119,10 @@ var RenderProductsLayout = function RenderProductsLayout(props) {
|
|
|
119
119
|
})), /*#__PURE__*/_react.default.createElement(_styles.BusinessCategoryProductWrapper, null, /*#__PURE__*/_react.default.createElement(_BusinessProductsList.BusinessProductsList, {
|
|
120
120
|
categories: [{
|
|
121
121
|
id: null,
|
|
122
|
-
name: t('ALL', (theme === null || theme === void 0
|
|
122
|
+
name: t('ALL', (theme === null || theme === void 0 || (_theme$defaultLanguag3 = theme.defaultLanguages) === null || _theme$defaultLanguag3 === void 0 ? void 0 : _theme$defaultLanguag3.ALL) || 'All')
|
|
123
123
|
}, {
|
|
124
124
|
id: 'featured',
|
|
125
|
-
name: t('FEATURED', (theme === null || theme === void 0
|
|
125
|
+
name: t('FEATURED', (theme === null || theme === void 0 || (_theme$defaultLanguag4 = theme.defaultLanguages) === null || _theme$defaultLanguag4 === void 0 ? void 0 : _theme$defaultLanguag4.FEATURED) || 'Featured')
|
|
126
126
|
}].concat(_toConsumableArray(business === null || business === void 0 ? void 0 : business.categories.sort(function (a, b) {
|
|
127
127
|
return a.rank - b.rank;
|
|
128
128
|
}))),
|
|
@@ -134,7 +134,7 @@ var RenderProductsLayout = function RenderProductsLayout(props) {
|
|
|
134
134
|
handleSearchRedirect: handleSearchRedirect,
|
|
135
135
|
featured: featuredProducts,
|
|
136
136
|
searchValue: searchValue,
|
|
137
|
-
isCartOnProductsList: isCartOnProductsList && (currentCart === null || currentCart === void 0
|
|
137
|
+
isCartOnProductsList: isCartOnProductsList && (currentCart === null || currentCart === void 0 || (_currentCart$products = currentCart.products) === null || _currentCart$products === void 0 ? void 0 : _currentCart$products.length) > 0,
|
|
138
138
|
handleClearSearch: handleChangeSearch,
|
|
139
139
|
errorQuantityProducts: errorQuantityProducts,
|
|
140
140
|
currentCart: currentCart,
|
|
@@ -145,12 +145,12 @@ var RenderProductsLayout = function RenderProductsLayout(props) {
|
|
|
145
145
|
onClickButton: function onClickButton() {
|
|
146
146
|
return handleSearchRedirect();
|
|
147
147
|
}
|
|
148
|
-
})), isCartOnProductsList && (currentCart === null || currentCart === void 0
|
|
148
|
+
})), isCartOnProductsList && (currentCart === null || currentCart === void 0 || (_currentCart$products2 = currentCart.products) === null || _currentCart$products2 === void 0 ? void 0 : _currentCart$products2.length) > 0 && /*#__PURE__*/_react.default.createElement(_Cart.Cart, {
|
|
149
149
|
isForceOpenCart: true,
|
|
150
150
|
cart: currentCart,
|
|
151
151
|
isCartPending: (currentCart === null || currentCart === void 0 ? void 0 : currentCart.status) === 2,
|
|
152
152
|
isProducts: currentCart.products.length,
|
|
153
|
-
isCartOnProductsList: isCartOnProductsList && (currentCart === null || currentCart === void 0
|
|
153
|
+
isCartOnProductsList: isCartOnProductsList && (currentCart === null || currentCart === void 0 || (_currentCart$products3 = currentCart.products) === null || _currentCart$products3 === void 0 ? void 0 : _currentCart$products3.length) > 0,
|
|
154
154
|
handleCartOpen: function handleCartOpen(val) {
|
|
155
155
|
return _handleCartOpen(val);
|
|
156
156
|
}
|
|
@@ -164,14 +164,14 @@ var RenderProductsLayout = function RenderProductsLayout(props) {
|
|
|
164
164
|
errorQuantityProducts: errorQuantityProducts,
|
|
165
165
|
setOpenBusinessInformation: setOpenBusinessInformation,
|
|
166
166
|
openBusinessInformation: openBusinessInformation
|
|
167
|
-
}), !errorQuantityProducts ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles.WrapContent, null, /*#__PURE__*/_react.default.createElement(_styles.BusinessCategoriesContainer, null, !((business === null || business === void 0
|
|
167
|
+
}), !errorQuantityProducts ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles.WrapContent, null, /*#__PURE__*/_react.default.createElement(_styles.BusinessCategoriesContainer, null, !((business === null || business === void 0 || (_business$categories2 = business.categories) === null || _business$categories2 === void 0 ? void 0 : _business$categories2.length) === 0 && !categoryId) && /*#__PURE__*/_react.default.createElement(BusinessLayout, {
|
|
168
168
|
component: "categories",
|
|
169
169
|
categories: [{
|
|
170
170
|
id: null,
|
|
171
|
-
name: t('ALL', (theme === null || theme === void 0
|
|
171
|
+
name: t('ALL', (theme === null || theme === void 0 || (_theme$defaultLanguag5 = theme.defaultLanguages) === null || _theme$defaultLanguag5 === void 0 ? void 0 : _theme$defaultLanguag5.ALL) || 'All')
|
|
172
172
|
}, {
|
|
173
173
|
id: 'featured',
|
|
174
|
-
name: t('FEATURED', (theme === null || theme === void 0
|
|
174
|
+
name: t('FEATURED', (theme === null || theme === void 0 || (_theme$defaultLanguag6 = theme.defaultLanguages) === null || _theme$defaultLanguag6 === void 0 ? void 0 : _theme$defaultLanguag6.FEATURED) || 'Featured')
|
|
175
175
|
}].concat(_toConsumableArray(business === null || business === void 0 ? void 0 : business.categories.sort(function (a, b) {
|
|
176
176
|
return a.rank - b.rank;
|
|
177
177
|
}))),
|
|
@@ -185,10 +185,10 @@ var RenderProductsLayout = function RenderProductsLayout(props) {
|
|
|
185
185
|
component: "products_list",
|
|
186
186
|
categories: [{
|
|
187
187
|
id: null,
|
|
188
|
-
name: t('ALL', (theme === null || theme === void 0
|
|
188
|
+
name: t('ALL', (theme === null || theme === void 0 || (_theme$defaultLanguag7 = theme.defaultLanguages) === null || _theme$defaultLanguag7 === void 0 ? void 0 : _theme$defaultLanguag7.ALL) || 'All')
|
|
189
189
|
}, {
|
|
190
190
|
id: 'featured',
|
|
191
|
-
name: t('FEATURED', (theme === null || theme === void 0
|
|
191
|
+
name: t('FEATURED', (theme === null || theme === void 0 || (_theme$defaultLanguag8 = theme.defaultLanguages) === null || _theme$defaultLanguag8 === void 0 ? void 0 : _theme$defaultLanguag8.FEATURED) || 'Featured')
|
|
192
192
|
}].concat(_toConsumableArray(business === null || business === void 0 ? void 0 : business.categories.sort(function (a, b) {
|
|
193
193
|
return a.rank - b.rank;
|
|
194
194
|
}))),
|
|
@@ -202,7 +202,7 @@ var RenderProductsLayout = function RenderProductsLayout(props) {
|
|
|
202
202
|
handleSearchRedirect: handleSearchRedirect,
|
|
203
203
|
featured: featuredProducts,
|
|
204
204
|
searchValue: searchValue,
|
|
205
|
-
isCartOnProductsList: isCartOnProductsList && (currentCart === null || currentCart === void 0
|
|
205
|
+
isCartOnProductsList: isCartOnProductsList && (currentCart === null || currentCart === void 0 || (_currentCart$products4 = currentCart.products) === null || _currentCart$products4 === void 0 ? void 0 : _currentCart$products4.length) > 0,
|
|
206
206
|
handleClearSearch: handleChangeSearch,
|
|
207
207
|
errorQuantityProducts: errorQuantityProducts,
|
|
208
208
|
business: business,
|
|
@@ -246,7 +246,7 @@ var RenderProductsLayout = function RenderProductsLayout(props) {
|
|
|
246
246
|
textAlign: 'center',
|
|
247
247
|
marginTop: '5px'
|
|
248
248
|
}
|
|
249
|
-
}, t('YOUR_CART', 'Your cart')), (currentCart === null || currentCart === void 0
|
|
249
|
+
}, t('YOUR_CART', 'Your cart')), (currentCart === null || currentCart === void 0 || (_currentCart$products5 = currentCart.products) === null || _currentCart$products5 === void 0 ? void 0 : _currentCart$products5.length) > 0 ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_Cart.Cart, {
|
|
250
250
|
isStore: true,
|
|
251
251
|
isCustomMode: true,
|
|
252
252
|
isForceOpenCart: true,
|
|
@@ -14,8 +14,8 @@ var BusinessSearch = _styledComponents.default.div(_templateObject || (_template
|
|
|
14
14
|
var _props$theme;
|
|
15
15
|
return (_props$theme = props.theme) !== null && _props$theme !== void 0 && _props$theme.rtl ? (0, _styledComponents.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n padding-left: 60px;\n "]))) : (0, _styledComponents.css)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n padding-right: 60px;\n "])));
|
|
16
16
|
}, function (props) {
|
|
17
|
-
var _props$theme2
|
|
18
|
-
return (_props$theme2 = props.theme) === null || _props$theme2 === void 0
|
|
17
|
+
var _props$theme2;
|
|
18
|
+
return (_props$theme2 = props.theme) === null || _props$theme2 === void 0 || (_props$theme2 = _props$theme2.colors) === null || _props$theme2 === void 0 ? void 0 : _props$theme2.backgroundPage;
|
|
19
19
|
}, function (_ref) {
|
|
20
20
|
var isCustomLayout = _ref.isCustomLayout;
|
|
21
21
|
return !isCustomLayout && (0, _styledComponents.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n justify-content: center;\n "])));
|
|
@@ -29,10 +29,10 @@ var DeleteContent = _styledComponents.default.div(_templateObject5 || (_template
|
|
|
29
29
|
});
|
|
30
30
|
exports.DeleteContent = DeleteContent;
|
|
31
31
|
var SearchIcon = _styledComponents.default.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n background-image: url(", ");\n background-position: right 10px center;\n background-repeat: no-repeat;\n background-size: 15px;\n background-color: ", ";\n"])), function (props) {
|
|
32
|
-
var _props$theme4
|
|
33
|
-
return (_props$theme4 = props.theme) === null || _props$theme4 === void 0
|
|
32
|
+
var _props$theme4;
|
|
33
|
+
return (_props$theme4 = props.theme) === null || _props$theme4 === void 0 || (_props$theme4 = _props$theme4.images) === null || _props$theme4 === void 0 || (_props$theme4 = _props$theme4.general) === null || _props$theme4 === void 0 ? void 0 : _props$theme4.searchIcon;
|
|
34
34
|
}, function (props) {
|
|
35
|
-
var _props$theme5
|
|
36
|
-
return (_props$theme5 = props.theme) === null || _props$theme5 === void 0
|
|
35
|
+
var _props$theme5;
|
|
36
|
+
return (_props$theme5 = props.theme) === null || _props$theme5 === void 0 || (_props$theme5 = _props$theme5.colors) === null || _props$theme5 === void 0 ? void 0 : _props$theme5.backgroundPage;
|
|
37
37
|
});
|
|
38
38
|
exports.SearchIcon = SearchIcon;
|
|
@@ -44,7 +44,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
|
|
|
44
44
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
45
45
|
var notValidationFields = ['coupon', 'driver_tip', 'mobile_phone', 'address', 'address_notes'];
|
|
46
46
|
var SignUpFormUI = function SignUpFormUI(props) {
|
|
47
|
-
var _configs$facebook_log, _validationFields$fie, _validationFields$fie2,
|
|
47
|
+
var _configs$facebook_log, _validationFields$fie, _validationFields$fie2, _props$beforeElements, _props$beforeComponen, _theme$images, _theme$images2, _props$beforeMidEleme, _props$beforeMidCompo, _validationFields$fie6, _validationFields$fie7, _props$afterMidElemen, _props$afterMidCompon, _configs$terms_and_co, _configs$terms_and_co2, _configs$facebook_id, _configs$facebook_id2, _configs$apple_login_, _props$afterComponent, _props$afterElements;
|
|
48
48
|
var handleChangeInput = props.handleChangeInput,
|
|
49
49
|
handleButtonSignupClick = props.handleButtonSignupClick,
|
|
50
50
|
elementLinkToLogin = props.elementLinkToLogin,
|
|
@@ -90,7 +90,7 @@ var SignUpFormUI = function SignUpFormUI(props) {
|
|
|
90
90
|
login = _useSession2[1].login;
|
|
91
91
|
var theme = (0, _styledComponents.useTheme)();
|
|
92
92
|
var emailInput = (0, _react.useRef)(null);
|
|
93
|
-
var isFacebookLogin = (configs === null || configs === void 0
|
|
93
|
+
var isFacebookLogin = (configs === null || configs === void 0 || (_configs$facebook_log = configs.facebook_login) === null || _configs$facebook_log === void 0 ? void 0 : _configs$facebook_log.value) === 'true';
|
|
94
94
|
var _useState5 = (0, _react.useState)(''),
|
|
95
95
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
96
96
|
userPhoneNumber = _useState6[0],
|
|
@@ -103,19 +103,19 @@ var SignUpFormUI = function SignUpFormUI(props) {
|
|
|
103
103
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
104
104
|
passwordSee = _useState10[0],
|
|
105
105
|
setPasswordSee = _useState10[1];
|
|
106
|
-
var showInputPhoneNumber = (_validationFields$fie = validationFields === null || validationFields === void 0
|
|
106
|
+
var showInputPhoneNumber = (_validationFields$fie = validationFields === null || validationFields === void 0 || (_validationFields$fie2 = validationFields.fields) === null || _validationFields$fie2 === void 0 || (_validationFields$fie2 = _validationFields$fie2.checkout) === null || _validationFields$fie2 === void 0 || (_validationFields$fie2 = _validationFields$fie2.cellphone) === null || _validationFields$fie2 === void 0 ? void 0 : _validationFields$fie2.enabled) !== null && _validationFields$fie !== void 0 ? _validationFields$fie : false;
|
|
107
107
|
var handleSuccessFacebook = function handleSuccessFacebook(user) {
|
|
108
108
|
var _user$session;
|
|
109
109
|
login({
|
|
110
110
|
user: user,
|
|
111
|
-
token: user === null || user === void 0
|
|
111
|
+
token: user === null || user === void 0 || (_user$session = user.session) === null || _user$session === void 0 ? void 0 : _user$session.access_token
|
|
112
112
|
});
|
|
113
113
|
};
|
|
114
114
|
var handleSuccessApple = function handleSuccessApple(user) {
|
|
115
115
|
var _user$session2;
|
|
116
116
|
login({
|
|
117
117
|
user: user,
|
|
118
|
-
token: user === null || user === void 0
|
|
118
|
+
token: user === null || user === void 0 || (_user$session2 = user.session) === null || _user$session2 === void 0 ? void 0 : _user$session2.access_token
|
|
119
119
|
});
|
|
120
120
|
};
|
|
121
121
|
var togglePasswordView = function togglePasswordView() {
|
|
@@ -128,9 +128,9 @@ var SignUpFormUI = function SignUpFormUI(props) {
|
|
|
128
128
|
});
|
|
129
129
|
};
|
|
130
130
|
var onSubmit = function onSubmit() {
|
|
131
|
-
var _validationFields$
|
|
131
|
+
var _validationFields$fie3, _validationFields$fie4;
|
|
132
132
|
var isPhoneNumberValid = userPhoneNumber ? isValidPhoneNumber : true;
|
|
133
|
-
if (!userPhoneNumber && validationFields !== null && validationFields !== void 0 && (_validationFields$
|
|
133
|
+
if (!userPhoneNumber && validationFields !== null && validationFields !== void 0 && (_validationFields$fie3 = validationFields.fields) !== null && _validationFields$fie3 !== void 0 && (_validationFields$fie3 = _validationFields$fie3.checkout) !== null && _validationFields$fie3 !== void 0 && (_validationFields$fie3 = _validationFields$fie3.cellphone) !== null && _validationFields$fie3 !== void 0 && _validationFields$fie3.enabled && validationFields !== null && validationFields !== void 0 && (_validationFields$fie4 = validationFields.fields) !== null && _validationFields$fie4 !== void 0 && (_validationFields$fie4 = _validationFields$fie4.checkout) !== null && _validationFields$fie4 !== void 0 && (_validationFields$fie4 = _validationFields$fie4.cellphone) !== null && _validationFields$fie4 !== void 0 && _validationFields$fie4.required) {
|
|
134
134
|
setAlertState({
|
|
135
135
|
open: true,
|
|
136
136
|
content: [t('VALIDATION_ERROR_MOBILE_PHONE_REQUIRED', 'The field Mobile phone is required.')]
|
|
@@ -194,14 +194,14 @@ var SignUpFormUI = function SignUpFormUI(props) {
|
|
|
194
194
|
(0, _react.useEffect)(function () {
|
|
195
195
|
var _formState$result, _formState$result4, _formState$result5;
|
|
196
196
|
if (!formState.loading && (_formState$result = formState.result) !== null && _formState$result !== void 0 && _formState$result.error) {
|
|
197
|
-
var _formState$result2, _formState$
|
|
198
|
-
if (((_formState$result2 = formState.result) === null || _formState$result2 === void 0
|
|
197
|
+
var _formState$result2, _formState$result3;
|
|
198
|
+
if (((_formState$result2 = formState.result) === null || _formState$result2 === void 0 || (_formState$result2 = _formState$result2.result) === null || _formState$result2 === void 0 ? void 0 : _formState$result2[0]) === 'ERROR_AUTH_VERIFICATION_CODE') {
|
|
199
199
|
var _configs$security_rec;
|
|
200
200
|
if (configs !== null && configs !== void 0 && (_configs$security_rec = configs.security_recaptcha_site_key) !== null && _configs$security_rec !== void 0 && _configs$security_rec.value) {
|
|
201
201
|
var _configs$security_rec2;
|
|
202
202
|
setRecaptchaVersion({
|
|
203
203
|
version: 'v2',
|
|
204
|
-
siteKey: configs === null || configs === void 0
|
|
204
|
+
siteKey: configs === null || configs === void 0 || (_configs$security_rec2 = configs.security_recaptcha_site_key) === null || _configs$security_rec2 === void 0 ? void 0 : _configs$security_rec2.value
|
|
205
205
|
});
|
|
206
206
|
setAlertState({
|
|
207
207
|
open: true,
|
|
@@ -236,8 +236,8 @@ var SignUpFormUI = function SignUpFormUI(props) {
|
|
|
236
236
|
}, [formMethods.errors]);
|
|
237
237
|
(0, _react.useEffect)(function () {
|
|
238
238
|
if (!validationFields.loading) {
|
|
239
|
-
var _validationFields$
|
|
240
|
-
Object.values(validationFields === null || validationFields === void 0
|
|
239
|
+
var _validationFields$fie5;
|
|
240
|
+
Object.values(validationFields === null || validationFields === void 0 || (_validationFields$fie5 = validationFields.fields) === null || _validationFields$fie5 === void 0 ? void 0 : _validationFields$fie5.checkout).map(function (field) {
|
|
241
241
|
return !notValidationFields.includes(field.code) && (field.code === 'email' ? formMethods.register('email', {
|
|
242
242
|
required: isRequiredField(field.code) ? t('VALIDATION_ERROR_EMAIL_REQUIRED', 'The field Email is required').replace('_attribute_', t('EMAIL', 'Email')) : null,
|
|
243
243
|
pattern: {
|
|
@@ -278,12 +278,12 @@ var SignUpFormUI = function SignUpFormUI(props) {
|
|
|
278
278
|
key: i
|
|
279
279
|
}, props));
|
|
280
280
|
}), /*#__PURE__*/_react.default.createElement(_styles.HeroContainer, null, /*#__PURE__*/_react.default.createElement(_styles.HeroImage, {
|
|
281
|
-
bgimage: (_theme$images = theme.images) === null || _theme$images === void 0
|
|
281
|
+
bgimage: (_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.general) === null || _theme$images === void 0 ? void 0 : _theme$images.homeHero
|
|
282
282
|
}), /*#__PURE__*/_react.default.createElement(_styles.FormContainer, null, /*#__PURE__*/_react.default.createElement(_styles.SignUpContainer, null, /*#__PURE__*/_react.default.createElement(_styles.FormSide, {
|
|
283
283
|
isPopup: isPopup
|
|
284
284
|
}, /*#__PURE__*/_react.default.createElement("img", {
|
|
285
285
|
id: "logo",
|
|
286
|
-
src: theme === null || theme === void 0
|
|
286
|
+
src: theme === null || theme === void 0 || (_theme$images2 = theme.images) === null || _theme$images2 === void 0 || (_theme$images2 = _theme$images2.logos) === null || _theme$images2 === void 0 ? void 0 : _theme$images2.logotype,
|
|
287
287
|
alt: "Logo sign up",
|
|
288
288
|
width: "200",
|
|
289
289
|
height: "66",
|
|
@@ -301,8 +301,8 @@ var SignUpFormUI = function SignUpFormUI(props) {
|
|
|
301
301
|
return /*#__PURE__*/_react.default.createElement(BeforeMidComponents, _extends({
|
|
302
302
|
key: i
|
|
303
303
|
}, props));
|
|
304
|
-
}), !(useChekoutFileds && validationFields !== null && validationFields !== void 0 && validationFields.loading) ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (validationFields === null || validationFields === void 0
|
|
305
|
-
values: validationFields === null || validationFields === void 0
|
|
304
|
+
}), !(useChekoutFileds && validationFields !== null && validationFields !== void 0 && validationFields.loading) ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (validationFields === null || validationFields === void 0 || (_validationFields$fie6 = validationFields.fields) === null || _validationFields$fie6 === void 0 ? void 0 : _validationFields$fie6.checkout) && (0, _utils.sortInputFields)({
|
|
305
|
+
values: validationFields === null || validationFields === void 0 || (_validationFields$fie7 = validationFields.fields) === null || _validationFields$fie7 === void 0 ? void 0 : _validationFields$fie7.checkout
|
|
306
306
|
}).map(function (field) {
|
|
307
307
|
return showField && showField(field.code) && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
|
|
308
308
|
key: field.id
|
|
@@ -363,7 +363,7 @@ var SignUpFormUI = function SignUpFormUI(props) {
|
|
|
363
363
|
}, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
364
364
|
height: 43
|
|
365
365
|
}));
|
|
366
|
-
})), (configs === null || configs === void 0
|
|
366
|
+
})), (configs === null || configs === void 0 || (_configs$terms_and_co = configs.terms_and_conditions) === null || _configs$terms_and_co === void 0 ? void 0 : _configs$terms_and_co.value) === 'true' && /*#__PURE__*/_react.default.createElement(_styles.TermsConditionWrapper, null, /*#__PURE__*/_react.default.createElement(_Checkbox.Checkbox, {
|
|
367
367
|
name: "acceptTerms",
|
|
368
368
|
ref: formMethods.register({
|
|
369
369
|
required: t('ERROR_ACCEPT_TERMS', 'You must accept the Terms & Conditions.')
|
|
@@ -372,7 +372,7 @@ var SignUpFormUI = function SignUpFormUI(props) {
|
|
|
372
372
|
}), /*#__PURE__*/_react.default.createElement("label", {
|
|
373
373
|
htmlFor: "acceptTerms"
|
|
374
374
|
}, /*#__PURE__*/_react.default.createElement("span", null, t('TERMS_AND_CONDITIONS_TEXT', 'I’m agree with')), /*#__PURE__*/_react.default.createElement("a", {
|
|
375
|
-
href: configs === null || configs === void 0
|
|
375
|
+
href: configs === null || configs === void 0 || (_configs$terms_and_co2 = configs.terms_and_conditions_url) === null || _configs$terms_and_co2 === void 0 ? void 0 : _configs$terms_and_co2.value,
|
|
376
376
|
target: "_blank",
|
|
377
377
|
rel: "noopener noreferrer"
|
|
378
378
|
}, t('TERMS_AND_CONDITIONS', 'Terms & Conditions')))), props.isRecaptchaEnable && enableReCaptcha && /*#__PURE__*/_react.default.createElement(_styles.ReCaptchaWrapper, null, /*#__PURE__*/_react.default.createElement(_orderingComponentsExternal.ReCaptcha, {
|
|
@@ -384,10 +384,10 @@ var SignUpFormUI = function SignUpFormUI(props) {
|
|
|
384
384
|
disabled: formState.loading || (validationFields === null || validationFields === void 0 ? void 0 : validationFields.loading)
|
|
385
385
|
}, formState.loading ? "".concat(t('LOADING', 'Loading'), "...") : t('SIGN_UP', 'Sign up'))), /*#__PURE__*/_react.default.createElement(_styles.OrContainer, null, /*#__PURE__*/_react.default.createElement(_styles.Line, null), /*#__PURE__*/_react.default.createElement("span", null, t('OR', 'or')), /*#__PURE__*/_react.default.createElement(_styles.Line, null)), !externalPhoneNumber && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, Object.keys(configs).length > 0 ? /*#__PURE__*/_react.default.createElement(_styles.SocialButtons, {
|
|
386
386
|
isPopup: isPopup
|
|
387
|
-
}, isFacebookLogin && (configs === null || configs === void 0
|
|
388
|
-
appId: configs === null || configs === void 0
|
|
387
|
+
}, isFacebookLogin && (configs === null || configs === void 0 || (_configs$facebook_id = configs.facebook_id) === null || _configs$facebook_id === void 0 ? void 0 : _configs$facebook_id.value) && /*#__PURE__*/_react.default.createElement(_FacebookLogin.FacebookLoginButton, {
|
|
388
|
+
appId: configs === null || configs === void 0 || (_configs$facebook_id2 = configs.facebook_id) === null || _configs$facebook_id2 === void 0 ? void 0 : _configs$facebook_id2.value,
|
|
389
389
|
handleSuccessFacebookLogin: handleSuccessFacebook
|
|
390
|
-
}), (configs === null || configs === void 0
|
|
390
|
+
}), (configs === null || configs === void 0 || (_configs$apple_login_ = configs.apple_login_client_id) === null || _configs$apple_login_ === void 0 ? void 0 : _configs$apple_login_.value) && /*#__PURE__*/_react.default.createElement(_AppleLogin.AppleLogin, {
|
|
391
391
|
onSuccess: handleSuccessApple,
|
|
392
392
|
onFailure: function onFailure(data) {
|
|
393
393
|
return console.log('onFailure', data);
|