ordering-ui-external 10.3.0 → 10.3.1
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.8c57feb440eaccd495a4.js} +1 -1
- package/_bundles/ordering-ui.8c57feb440eaccd495a4.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.8c57feb440eaccd495a4.js} +0 -0
- /package/_bundles/{1.ordering-ui.e758aec40c3bf292cadb.js → 1.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
- /package/_bundles/{2.ordering-ui.e758aec40c3bf292cadb.js → 2.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
- /package/_bundles/{4.ordering-ui.e758aec40c3bf292cadb.js → 4.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
- /package/_bundles/{5.ordering-ui.e758aec40c3bf292cadb.js → 5.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
- /package/_bundles/{6.ordering-ui.e758aec40c3bf292cadb.js → 6.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
- /package/_bundles/{7.ordering-ui.e758aec40c3bf292cadb.js.LICENSE.txt → 7.ordering-ui.8c57feb440eaccd495a4.js.LICENSE.txt} +0 -0
- /package/_bundles/{8.ordering-ui.e758aec40c3bf292cadb.js → 8.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
- /package/_bundles/{9.ordering-ui.e758aec40c3bf292cadb.js → 9.ordering-ui.8c57feb440eaccd495a4.js} +0 -0
- /package/_bundles/{ordering-ui.e758aec40c3bf292cadb.js.LICENSE.txt → ordering-ui.8c57feb440eaccd495a4.js.LICENSE.txt} +0 -0
|
@@ -40,7 +40,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
40
40
|
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; } }
|
|
41
41
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
42
42
|
var SingleOrderCardUI = function SingleOrderCardUI(props) {
|
|
43
|
-
var _theme$orders, _theme$
|
|
43
|
+
var _theme$orders, _theme$orders2, _theme$orders3, _theme$orders4, _theme$orders5, _theme$orders6, _theme$orders7, _theme$orders8, _props$beforeElements, _props$beforeComponen, _order$business, _order$business2, _order$business3, _order$business4, _order$business5, _order$business6, _theme$images2, _order$business7, _theme$images3, _order$business8, _theme$images4, _order$business9, _order$business10, _order$summary, _order$business11, _order$business12, _order$business13, _order$business14, _getOrderStatus, _order$business15, _order$summary2, _order$business16, _props$afterComponent, _props$afterElements;
|
|
44
44
|
var order = props.order,
|
|
45
45
|
isBusinessesPage = props.isBusinessesPage,
|
|
46
46
|
handleReorder = props.handleReorder,
|
|
@@ -180,8 +180,8 @@ var SingleOrderCardUI = function SingleOrderCardUI(props) {
|
|
|
180
180
|
handleFavoriteOrder && handleFavoriteOrder(!(order !== null && order !== void 0 && order.favorite));
|
|
181
181
|
};
|
|
182
182
|
var handleClickReorder = function handleClickReorder(order) {
|
|
183
|
-
var _carts
|
|
184
|
-
if (carts["businessId:".concat(order === null || order === void 0 ? void 0 : order.business_id)] && ((_carts = carts["businessId:".concat(order === null || order === void 0 ? void 0 : order.business_id)]) === null || _carts === void 0
|
|
183
|
+
var _carts;
|
|
184
|
+
if (carts["businessId:".concat(order === null || order === void 0 ? void 0 : order.business_id)] && ((_carts = carts["businessId:".concat(order === null || order === void 0 ? void 0 : order.business_id)]) === null || _carts === void 0 || (_carts = _carts.products) === null || _carts === void 0 ? void 0 : _carts.length) > 0) {
|
|
185
185
|
setConfirm({
|
|
186
186
|
open: true,
|
|
187
187
|
content: t('QUESTION_DELETE_PRODUCTS_FROM_CART', 'Are you sure that you want to delete all products from cart?'),
|
|
@@ -216,14 +216,14 @@ var SingleOrderCardUI = function SingleOrderCardUI(props) {
|
|
|
216
216
|
}));
|
|
217
217
|
handleReorder(order.id);
|
|
218
218
|
};
|
|
219
|
-
var hideBusinessLogo = theme === null || theme === void 0
|
|
220
|
-
var hideDate = theme === null || theme === void 0
|
|
221
|
-
var hideBusinessName = theme === null || theme === void 0
|
|
222
|
-
var hideOrderNumber = theme === null || theme === void 0
|
|
223
|
-
var hideReviewOrderButton = theme === null || theme === void 0
|
|
224
|
-
var hideReorderButton = theme === null || theme === void 0
|
|
225
|
-
var hideFavorite = theme === null || theme === void 0
|
|
226
|
-
var hideOrderStatus = theme === null || theme === void 0
|
|
219
|
+
var hideBusinessLogo = theme === null || theme === void 0 || (_theme$orders = theme.orders) === null || _theme$orders === void 0 || (_theme$orders = _theme$orders.components) === null || _theme$orders === void 0 || (_theme$orders = _theme$orders.business_logo) === null || _theme$orders === void 0 ? void 0 : _theme$orders.hidden;
|
|
220
|
+
var hideDate = theme === null || theme === void 0 || (_theme$orders2 = theme.orders) === null || _theme$orders2 === void 0 || (_theme$orders2 = _theme$orders2.components) === null || _theme$orders2 === void 0 || (_theme$orders2 = _theme$orders2.date) === null || _theme$orders2 === void 0 ? void 0 : _theme$orders2.hidden;
|
|
221
|
+
var hideBusinessName = theme === null || theme === void 0 || (_theme$orders3 = theme.orders) === null || _theme$orders3 === void 0 || (_theme$orders3 = _theme$orders3.components) === null || _theme$orders3 === void 0 || (_theme$orders3 = _theme$orders3.business_name) === null || _theme$orders3 === void 0 ? void 0 : _theme$orders3.hidden;
|
|
222
|
+
var hideOrderNumber = theme === null || theme === void 0 || (_theme$orders4 = theme.orders) === null || _theme$orders4 === void 0 || (_theme$orders4 = _theme$orders4.components) === null || _theme$orders4 === void 0 || (_theme$orders4 = _theme$orders4.order_number) === null || _theme$orders4 === void 0 ? void 0 : _theme$orders4.hidden;
|
|
223
|
+
var hideReviewOrderButton = theme === null || theme === void 0 || (_theme$orders5 = theme.orders) === null || _theme$orders5 === void 0 || (_theme$orders5 = _theme$orders5.components) === null || _theme$orders5 === void 0 || (_theme$orders5 = _theme$orders5.review_order_button) === null || _theme$orders5 === void 0 ? void 0 : _theme$orders5.hidden;
|
|
224
|
+
var hideReorderButton = theme === null || theme === void 0 || (_theme$orders6 = theme.orders) === null || _theme$orders6 === void 0 || (_theme$orders6 = _theme$orders6.components) === null || _theme$orders6 === void 0 || (_theme$orders6 = _theme$orders6.reorder_button) === null || _theme$orders6 === void 0 ? void 0 : _theme$orders6.hidden;
|
|
225
|
+
var hideFavorite = theme === null || theme === void 0 || (_theme$orders7 = theme.orders) === null || _theme$orders7 === void 0 || (_theme$orders7 = _theme$orders7.components) === null || _theme$orders7 === void 0 || (_theme$orders7 = _theme$orders7.favorite) === null || _theme$orders7 === void 0 ? void 0 : _theme$orders7.hidden;
|
|
226
|
+
var hideOrderStatus = theme === null || theme === void 0 || (_theme$orders8 = theme.orders) === null || _theme$orders8 === void 0 || (_theme$orders8 = _theme$orders8.components) === null || _theme$orders8 === void 0 || (_theme$orders8 = _theme$orders8.order_status) === null || _theme$orders8 === void 0 ? void 0 : _theme$orders8.hidden;
|
|
227
227
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (_props$beforeElements = props.beforeElements) === null || _props$beforeElements === void 0 ? void 0 : _props$beforeElements.map(function (BeforeElement, i) {
|
|
228
228
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
|
|
229
229
|
key: i
|
|
@@ -245,23 +245,23 @@ var SingleOrderCardUI = function SingleOrderCardUI(props) {
|
|
|
245
245
|
}, isSkeleton ? /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
246
246
|
width: 60,
|
|
247
247
|
height: 60
|
|
248
|
-
}) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, !isCustomerMode && !hideBusinessLogo && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (order === null || order === void 0
|
|
249
|
-
var _theme$images
|
|
248
|
+
}) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, !isCustomerMode && !hideBusinessLogo && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (order === null || order === void 0 || (_order$business = order.business) === null || _order$business === void 0 ? void 0 : _order$business.length) > 1 ? /*#__PURE__*/_react.default.createElement(_styles.MultiLogosContainer, null, order === null || order === void 0 || (_order$business2 = order.business) === null || _order$business2 === void 0 ? void 0 : _order$business2.map(function (business, i) {
|
|
249
|
+
var _theme$images;
|
|
250
250
|
return i < 2 && /*#__PURE__*/_react.default.createElement(_styles.BusinessLogoWrapper, {
|
|
251
251
|
key: business === null || business === void 0 ? void 0 : business.id,
|
|
252
|
-
bgimage: optimizeImage((business === null || business === void 0 ? void 0 : business.logo) || ((_theme$images = theme.images) === null || _theme$images === void 0
|
|
252
|
+
bgimage: optimizeImage((business === null || business === void 0 ? void 0 : business.logo) || ((_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.dummies) === null || _theme$images === void 0 ? void 0 : _theme$images.businessLogo), 'h_400,c_limit'),
|
|
253
253
|
isMulti: true
|
|
254
254
|
});
|
|
255
|
-
}), (order === null || order === void 0
|
|
256
|
-
bgimage: optimizeImage((order === null || order === void 0
|
|
257
|
-
})), isCustomerMode && !hideBusinessLogo && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (((_order$business7 = order.business) === null || _order$business7 === void 0 ? void 0 : _order$business7.logo) || ((_theme$images3 = theme.images) === null || _theme$images3 === void 0
|
|
258
|
-
src: ((_order$business8 = order.business) === null || _order$business8 === void 0 ? void 0 : _order$business8.logo) || ((_theme$images4 = theme.images) === null || _theme$images4 === void 0
|
|
255
|
+
}), (order === null || order === void 0 || (_order$business3 = order.business) === null || _order$business3 === void 0 ? void 0 : _order$business3.length) > 1 && (order === null || order === void 0 || (_order$business4 = order.business) === null || _order$business4 === void 0 ? void 0 : _order$business4.length) - 2 > 0 && /*#__PURE__*/_react.default.createElement("p", null, "+ ", (order === null || order === void 0 || (_order$business5 = order.business) === null || _order$business5 === void 0 ? void 0 : _order$business5.length) - 2)) : /*#__PURE__*/_react.default.createElement(_styles.BusinessLogoWrapper, {
|
|
256
|
+
bgimage: optimizeImage((order === null || order === void 0 || (_order$business6 = order.business) === null || _order$business6 === void 0 ? void 0 : _order$business6.logo) || ((_theme$images2 = theme.images) === null || _theme$images2 === void 0 || (_theme$images2 = _theme$images2.dummies) === null || _theme$images2 === void 0 ? void 0 : _theme$images2.businessLogo), 'h_400,c_limit')
|
|
257
|
+
})), isCustomerMode && !hideBusinessLogo && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (((_order$business7 = order.business) === null || _order$business7 === void 0 ? void 0 : _order$business7.logo) || ((_theme$images3 = theme.images) === null || _theme$images3 === void 0 || (_theme$images3 = _theme$images3.dummies) === null || _theme$images3 === void 0 ? void 0 : _theme$images3.businessLogo)) && /*#__PURE__*/_react.default.createElement(_styles.Logo, null, /*#__PURE__*/_react.default.createElement("img", {
|
|
258
|
+
src: ((_order$business8 = order.business) === null || _order$business8 === void 0 ? void 0 : _order$business8.logo) || ((_theme$images4 = theme.images) === null || _theme$images4 === void 0 || (_theme$images4 = _theme$images4.dummies) === null || _theme$images4 === void 0 ? void 0 : _theme$images4.businessLogo),
|
|
259
259
|
alt: "business-logo",
|
|
260
260
|
width: "75px",
|
|
261
261
|
height: "75px"
|
|
262
262
|
})))), /*#__PURE__*/_react.default.createElement(_styles2.BusinessInformation, {
|
|
263
263
|
activeOrders: true,
|
|
264
|
-
isMultiCart: (order === null || order === void 0
|
|
264
|
+
isMultiCart: (order === null || order === void 0 || (_order$business9 = order.business) === null || _order$business9 === void 0 ? void 0 : _order$business9.length) > 1
|
|
265
265
|
}, !hideBusinessName && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, isCustomerMode ? /*#__PURE__*/_react.default.createElement(_styles.TitleContainer, null, /*#__PURE__*/_react.default.createElement("h2", null, isSkeleton ? /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
266
266
|
width: 120
|
|
267
267
|
}) : (_order$business10 = order.business) === null || _order$business10 === void 0 ? void 0 : _order$business10.name), /*#__PURE__*/_react.default.createElement(_styles.Price, {
|
|
@@ -269,9 +269,9 @@ var SingleOrderCardUI = function SingleOrderCardUI(props) {
|
|
|
269
269
|
isCustomerMode: isCustomerMode
|
|
270
270
|
}, /*#__PURE__*/_react.default.createElement("h2", null, isSkeleton ? /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
271
271
|
width: 50
|
|
272
|
-
}) : parsePrice((order === null || order === void 0
|
|
272
|
+
}) : parsePrice((order === null || order === void 0 || (_order$summary = order.summary) === null || _order$summary === void 0 ? void 0 : _order$summary.total) || (order === null || order === void 0 ? void 0 : order.total))))) : /*#__PURE__*/_react.default.createElement("h2", null, isSkeleton ? /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
273
273
|
width: 120
|
|
274
|
-
}) : (order === null || order === void 0
|
|
274
|
+
}) : (order === null || order === void 0 || (_order$business11 = order.business) === null || _order$business11 === void 0 ? void 0 : _order$business11.length) > 1 ? "".concat(t('GROUP_ORDER', 'Group Order'), " ").concat(t('No', 'No'), ". ").concat(order === null || order === void 0 ? void 0 : order.cart_group_id) : (_order$business12 = order.business) === null || _order$business12 === void 0 ? void 0 : _order$business12.name)), isSkeleton ? /*#__PURE__*/_react.default.createElement("div", {
|
|
275
275
|
className: "orders-detail"
|
|
276
276
|
}, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
277
277
|
width: 150
|
|
@@ -279,7 +279,7 @@ var SingleOrderCardUI = function SingleOrderCardUI(props) {
|
|
|
279
279
|
className: "orders-detail"
|
|
280
280
|
}, (order === null || order === void 0 ? void 0 : order.id) && !hideOrderNumber && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_BsDot.default, null), /*#__PURE__*/_react.default.createElement("p", {
|
|
281
281
|
name: "order_number"
|
|
282
|
-
}, (order === null || order === void 0
|
|
282
|
+
}, (order === null || order === void 0 || (_order$business13 = order.business) === null || _order$business13 === void 0 ? void 0 : _order$business13.length) > 1 ? "".concat(order === null || order === void 0 || (_order$business14 = order.business) === null || _order$business14 === void 0 ? void 0 : _order$business14.length, " ").concat(t('ORDERS', 'orders')) : "".concat(t('ORDER_NUM', 'Order No.'), " ").concat(order.id))), !hideDate && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_BsDot.default, null), /*#__PURE__*/_react.default.createElement("p", null, pastOrders ? order !== null && order !== void 0 && order.delivery_datetime_utc ? parseDate(order === null || order === void 0 ? void 0 : order.delivery_datetime_utc, {
|
|
283
283
|
outputFormat: 'MM/DD/YY hh:mm A'
|
|
284
284
|
}) : parseDate(order === null || order === void 0 ? void 0 : order.delivery_datetime, {
|
|
285
285
|
utc: false
|
|
@@ -293,7 +293,7 @@ var SingleOrderCardUI = function SingleOrderCardUI(props) {
|
|
|
293
293
|
isBusinessesPage: isBusinessesPage
|
|
294
294
|
}, !pastOrders && /*#__PURE__*/_react.default.createElement("h2", null, isSkeleton ? /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
295
295
|
width: 50
|
|
296
|
-
}) : parsePrice((order === null || order === void 0
|
|
296
|
+
}) : parsePrice((order === null || order === void 0 || (_order$business15 = order.business) === null || _order$business15 === void 0 ? void 0 : _order$business15.length) > 1 ? order === null || order === void 0 ? void 0 : order.total : (order === null || order === void 0 || (_order$summary2 = order.summary) === null || _order$summary2 === void 0 ? void 0 : _order$summary2.total) || (order === null || order === void 0 ? void 0 : order.total)))), pastOrders && !isGiftCardOrder && /*#__PURE__*/_react.default.createElement(_styles.ButtonWrapper, {
|
|
297
297
|
isCustomerMode: isCustomerMode
|
|
298
298
|
}, !isOrderReviewed && !isFavorite && (!(order !== null && order !== void 0 && order.review) || order.driver && !(order !== null && order !== void 0 && order.user_review)) && !hideReviewOrderButton && !isCustomerMode && /*#__PURE__*/_react.default.createElement(_Buttons.Button, {
|
|
299
299
|
outline: true,
|
|
@@ -10,9 +10,9 @@ var _original = require("./layouts/original");
|
|
|
10
10
|
var _starbucks = require("./layouts/starbucks");
|
|
11
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
12
|
var SingleProductCard = function SingleProductCard(props) {
|
|
13
|
-
var _theme$business_view
|
|
13
|
+
var _theme$business_view;
|
|
14
14
|
var theme = (0, _styledComponents.useTheme)();
|
|
15
|
-
var layout = (theme === null || theme === void 0
|
|
15
|
+
var layout = (theme === null || theme === void 0 || (_theme$business_view = theme.business_view) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.components) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.products) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.components) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.layout) === null || _theme$business_view === void 0 ? void 0 : _theme$business_view.type) || 'original';
|
|
16
16
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, layout === 'original' && /*#__PURE__*/_react.default.createElement(_original.SingleProductCard, props), layout === 'starbucks' && /*#__PURE__*/_react.default.createElement(_starbucks.SingleProductCard, props));
|
|
17
17
|
};
|
|
18
18
|
exports.SingleProductCard = SingleProductCard;
|
|
@@ -38,7 +38,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
38
38
|
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; } }
|
|
39
39
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
40
40
|
var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
41
|
-
var _theme$business_view$, _theme$business_view, _theme$
|
|
41
|
+
var _theme$business_view$, _theme$business_view, _theme$business_view2, _theme$viewString, _theme$business_view3, _theme$images, _theme$images2, _product$ribbon, _product$ribbon2, _product$ribbon3, _product$ribbon4, _product$ribbon5, _theme$images3, _product$ribbon6, _theme$defaultLanguag, _theme$defaultLanguag2, _theme$defaultLanguag3, _theme$defaultLanguag4;
|
|
42
42
|
var product = props.product,
|
|
43
43
|
isSoldOut = props.isSoldOut,
|
|
44
44
|
isSkeleton = props.isSkeleton,
|
|
@@ -106,9 +106,9 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
106
106
|
}, 0);
|
|
107
107
|
var totalBalance = (productBalance || 0) - removeToBalance;
|
|
108
108
|
var maxCartProductConfig = (stateConfig.configs.max_product_amount ? parseInt(stateConfig.configs.max_product_amount) : 100) - totalBalance;
|
|
109
|
-
var hideAddButton = (_theme$business_view$ = theme === null || theme === void 0
|
|
110
|
-
var hideProductDescription = theme === null || theme === void 0
|
|
111
|
-
var hideProductLogo = viewString ? theme === null || theme === void 0
|
|
109
|
+
var hideAddButton = (_theme$business_view$ = theme === null || theme === void 0 || (_theme$business_view = theme.business_view) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.components) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.products) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.components) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.add_to_cart_button) === null || _theme$business_view === void 0 ? void 0 : _theme$business_view.hidden) !== null && _theme$business_view$ !== void 0 ? _theme$business_view$ : true;
|
|
110
|
+
var hideProductDescription = theme === null || theme === void 0 || (_theme$business_view2 = theme.business_view) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.components) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.products) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.components) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.product) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.components) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.description) === null || _theme$business_view2 === void 0 ? void 0 : _theme$business_view2.hidden;
|
|
111
|
+
var hideProductLogo = viewString ? theme === null || theme === void 0 || (_theme$viewString = theme[viewString]) === null || _theme$viewString === void 0 || (_theme$viewString = _theme$viewString.components) === null || _theme$viewString === void 0 || (_theme$viewString = _theme$viewString.cart) === null || _theme$viewString === void 0 || (_theme$viewString = _theme$viewString.components) === null || _theme$viewString === void 0 || (_theme$viewString = _theme$viewString.products) === null || _theme$viewString === void 0 || (_theme$viewString = _theme$viewString.image) === null || _theme$viewString === void 0 ? void 0 : _theme$viewString.hidden : theme === null || theme === void 0 || (_theme$business_view3 = theme.business_view) === null || _theme$business_view3 === void 0 || (_theme$business_view3 = _theme$business_view3.components) === null || _theme$business_view3 === void 0 || (_theme$business_view3 = _theme$business_view3.products) === null || _theme$business_view3 === void 0 || (_theme$business_view3 = _theme$business_view3.components) === null || _theme$business_view3 === void 0 || (_theme$business_view3 = _theme$business_view3.product) === null || _theme$business_view3 === void 0 || (_theme$business_view3 = _theme$business_view3.components) === null || _theme$business_view3 === void 0 || (_theme$business_view3 = _theme$business_view3.image) === null || _theme$business_view3 === void 0 ? void 0 : _theme$business_view3.hidden;
|
|
112
112
|
|
|
113
113
|
// const productsRows = theme?.layouts?.business_view?.components?.products?.components?.layout?.rows
|
|
114
114
|
|
|
@@ -129,7 +129,7 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
129
129
|
onProductClick && onProductClick();
|
|
130
130
|
return;
|
|
131
131
|
}
|
|
132
|
-
!isSkeleton && !useCustomFunctionality && onProductClick && onProductClick(product, product === null || product === void 0
|
|
132
|
+
!isSkeleton && !useCustomFunctionality && onProductClick && onProductClick(product, product === null || product === void 0 || (_product$business = product.business) === null || _product$business === void 0 ? void 0 : _product$business.slug) || useCustomFunctionality && onCustomClick && onCustomClick();
|
|
133
133
|
};
|
|
134
134
|
var closeAlert = function closeAlert() {
|
|
135
135
|
setAlertState({
|
|
@@ -163,7 +163,7 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
163
163
|
var _user$session;
|
|
164
164
|
login({
|
|
165
165
|
user: user,
|
|
166
|
-
token: user === null || user === void 0
|
|
166
|
+
token: user === null || user === void 0 || (_user$session = user.session) === null || _user$session === void 0 ? void 0 : _user$session.access_token
|
|
167
167
|
});
|
|
168
168
|
};
|
|
169
169
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles.CardContainer, {
|
|
@@ -176,7 +176,7 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
176
176
|
isShowAddButt: !useCustomFunctionality && !hideAddButton && !isSkeleton
|
|
177
177
|
}, isObservedValidation ? /*#__PURE__*/_react.default.createElement("div", null, !useCustomFunctionality && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, !isSkeleton && productAddedToCartLength > 0 && /*#__PURE__*/_react.default.createElement(_styles.QuantityContainer, null, /*#__PURE__*/_react.default.createElement("span", null, productAddedToCartLength)), /*#__PURE__*/_react.default.createElement(_styles.CardInfo, {
|
|
178
178
|
soldOut: isSoldOut || maxProductQuantity <= 0,
|
|
179
|
-
isBgimage: optimizeImage((product === null || product === void 0 ? void 0 : product.images) || (theme === null || theme === void 0
|
|
179
|
+
isBgimage: optimizeImage((product === null || product === void 0 ? void 0 : product.images) || (theme === null || theme === void 0 || (_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.dummies) === null || _theme$images === void 0 ? void 0 : _theme$images.product), 'h_86,c_limit'),
|
|
180
180
|
oneLine: isPreviously
|
|
181
181
|
}, /*#__PURE__*/_react.default.createElement(_styles.TitleWrapper, null, !isSkeleton ? /*#__PURE__*/_react.default.createElement("h1", null, product === null || product === void 0 ? void 0 : product.name) : /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
182
182
|
width: 100
|
|
@@ -210,20 +210,20 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
210
210
|
})) : /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
211
211
|
width: 80
|
|
212
212
|
}))), !isSkeleton ? /*#__PURE__*/_react.default.createElement(_styles.WrapLogo, {
|
|
213
|
-
isBgimage: optimizeImage(!hideProductLogo ? (product === null || product === void 0 ? void 0 : product.images) || (theme === null || theme === void 0
|
|
214
|
-
}, (product === null || product === void 0
|
|
215
|
-
bgColor: product === null || product === void 0
|
|
216
|
-
isRoundRect: (product === null || product === void 0
|
|
217
|
-
isCapsule: (product === null || product === void 0
|
|
218
|
-
}, product === null || product === void 0
|
|
213
|
+
isBgimage: optimizeImage(!hideProductLogo ? (product === null || product === void 0 ? void 0 : product.images) || (theme === null || theme === void 0 || (_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_86,c_limit')
|
|
214
|
+
}, (product === null || product === void 0 || (_product$ribbon = product.ribbon) === null || _product$ribbon === void 0 ? void 0 : _product$ribbon.enabled) && /*#__PURE__*/_react.default.createElement(_styles.RibbonBox, {
|
|
215
|
+
bgColor: product === null || product === void 0 || (_product$ribbon2 = product.ribbon) === null || _product$ribbon2 === void 0 ? void 0 : _product$ribbon2.color,
|
|
216
|
+
isRoundRect: (product === null || product === void 0 || (_product$ribbon3 = product.ribbon) === null || _product$ribbon3 === void 0 ? void 0 : _product$ribbon3.shape) === (_utils.shape === null || _utils.shape === void 0 ? void 0 : _utils.shape.rectangleRound),
|
|
217
|
+
isCapsule: (product === null || product === void 0 || (_product$ribbon4 = product.ribbon) === null || _product$ribbon4 === void 0 ? void 0 : _product$ribbon4.shape) === (_utils.shape === null || _utils.shape === void 0 ? void 0 : _utils.shape.capsuleShape)
|
|
218
|
+
}, product === null || product === void 0 || (_product$ribbon5 = product.ribbon) === null || _product$ribbon5 === void 0 ? void 0 : _product$ribbon5.text), /*#__PURE__*/_react.default.createElement(_styles.CardLogo, {
|
|
219
219
|
className: "image",
|
|
220
220
|
soldOut: isSoldOut || maxProductQuantity <= 0,
|
|
221
|
-
bgimage: optimizeImage((product === null || product === void 0 ? void 0 : product.images) || (theme === null || theme === void 0
|
|
221
|
+
bgimage: optimizeImage((product === null || product === void 0 ? void 0 : product.images) || (theme === null || theme === void 0 || (_theme$images3 = theme.images) === null || _theme$images3 === void 0 || (_theme$images3 = _theme$images3.dummies) === null || _theme$images3 === void 0 ? void 0 : _theme$images3.product), 'h_86,c_limit')
|
|
222
222
|
})) : /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
223
223
|
height: 75,
|
|
224
224
|
width: 75
|
|
225
225
|
}), (isSoldOut || maxProductQuantity <= 0) && /*#__PURE__*/_react.default.createElement(_styles.SoldOut, {
|
|
226
|
-
isBottom: product === null || product === void 0
|
|
226
|
+
isBottom: product === null || product === void 0 || (_product$ribbon6 = product.ribbon) === null || _product$ribbon6 === void 0 ? void 0 : _product$ribbon6.enabled
|
|
227
227
|
}, t('SOLD_OUT', 'SOLD OUT'))), useCustomFunctionality && customText && /*#__PURE__*/_react.default.createElement("span", {
|
|
228
228
|
style: {
|
|
229
229
|
fontSize: 16,
|
|
@@ -261,7 +261,7 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
261
261
|
});
|
|
262
262
|
},
|
|
263
263
|
href: "#"
|
|
264
|
-
}, t('CREATE_ACCOUNT', (theme === null || theme === void 0
|
|
264
|
+
}, t('CREATE_ACCOUNT', (theme === null || theme === void 0 || (_theme$defaultLanguag = theme.defaultLanguages) === null || _theme$defaultLanguag === void 0 ? void 0 : _theme$defaultLanguag.CREATE_ACCOUNT) || 'Create account')),
|
|
265
265
|
elementLinkToForgotPassword: /*#__PURE__*/_react.default.createElement("a", {
|
|
266
266
|
onClick: function onClick(e) {
|
|
267
267
|
return handleCustomModalClick(e, {
|
|
@@ -269,7 +269,7 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
269
269
|
});
|
|
270
270
|
},
|
|
271
271
|
href: "#"
|
|
272
|
-
}, t('RESET_PASSWORD', (theme === null || theme === void 0
|
|
272
|
+
}, t('RESET_PASSWORD', (theme === null || theme === void 0 || (_theme$defaultLanguag2 = theme.defaultLanguages) === null || _theme$defaultLanguag2 === void 0 ? void 0 : _theme$defaultLanguag2.RESET_PASSWORD) || 'Reset password')),
|
|
273
273
|
useLoginByCellphone: true,
|
|
274
274
|
isPopup: true
|
|
275
275
|
}), modalPageToShow === 'signup' && /*#__PURE__*/_react.default.createElement(_SignUpForm.SignUpForm, {
|
|
@@ -280,7 +280,7 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
280
280
|
});
|
|
281
281
|
},
|
|
282
282
|
href: "#"
|
|
283
|
-
}, t('LOGIN', (theme === null || theme === void 0
|
|
283
|
+
}, t('LOGIN', (theme === null || theme === void 0 || (_theme$defaultLanguag3 = theme.defaultLanguages) === null || _theme$defaultLanguag3 === void 0 ? void 0 : _theme$defaultLanguag3.LOGIN) || 'Login')),
|
|
284
284
|
useLoginByCellphone: true,
|
|
285
285
|
useChekoutFileds: true,
|
|
286
286
|
handleSuccessSignup: handleSuccessSignup,
|
|
@@ -296,7 +296,7 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
296
296
|
});
|
|
297
297
|
},
|
|
298
298
|
href: "#"
|
|
299
|
-
}, t('LOGIN', (theme === null || theme === void 0
|
|
299
|
+
}, t('LOGIN', (theme === null || theme === void 0 || (_theme$defaultLanguag4 = theme.defaultLanguages) === null || _theme$defaultLanguag4 === void 0 ? void 0 : _theme$defaultLanguag4.LOGIN) || 'Login')),
|
|
300
300
|
isPopup: true
|
|
301
301
|
})), /*#__PURE__*/_react.default.createElement(_Confirm.Alert, {
|
|
302
302
|
title: t('PRODUCT', 'Product'),
|
|
@@ -20,11 +20,11 @@ var CardContainer = _styledComponents.default.div(_templateObject || (_templateO
|
|
|
20
20
|
var _theme$colors;
|
|
21
21
|
var soldOut = _ref2.soldOut,
|
|
22
22
|
theme = _ref2.theme;
|
|
23
|
-
return soldOut ? '#6c757d33' : theme === null || theme === void 0
|
|
23
|
+
return soldOut ? '#6c757d33' : theme === null || theme === void 0 || (_theme$colors = theme.colors) === null || _theme$colors === void 0 ? void 0 : _theme$colors.backgroundPage;
|
|
24
24
|
}, function (_ref3) {
|
|
25
|
-
var _theme$business_view
|
|
25
|
+
var _theme$business_view;
|
|
26
26
|
var theme = _ref3.theme;
|
|
27
|
-
return (theme === null || theme === void 0
|
|
27
|
+
return (theme === null || theme === void 0 || (_theme$business_view = theme.business_view) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.components) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.products) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.components) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.product) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.components) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.image) === null || _theme$business_view === void 0 ? void 0 : _theme$business_view.position) === 'right' ? (0, _styledComponents.css)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n flex-direction: row-reverse;\n "]))) : (0, _styledComponents.css)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n flex-direction: row;\n "])));
|
|
28
28
|
}, function (_ref4) {
|
|
29
29
|
var productsRows = _ref4.productsRows;
|
|
30
30
|
return productsRows ? (0, _styledComponents.css)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n width: ", ";\n margin: 10px 0;\n "])), function () {
|
|
@@ -66,9 +66,9 @@ var WrapLogo = _styledComponents.default.div(_templateObject18 || (_templateObje
|
|
|
66
66
|
var isBgimage = _ref9.isBgimage;
|
|
67
67
|
return isBgimage && (0, _styledComponents.css)(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n width: 86px;\n "])));
|
|
68
68
|
}, function (_ref10) {
|
|
69
|
-
var _theme$business_view2
|
|
69
|
+
var _theme$business_view2;
|
|
70
70
|
var theme = _ref10.theme;
|
|
71
|
-
return (theme === null || theme === void 0
|
|
71
|
+
return (theme === null || theme === void 0 || (_theme$business_view2 = theme.business_view) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.components) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.products) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.components) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.product) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.components) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.image) === null || _theme$business_view2 === void 0 ? void 0 : _theme$business_view2.position) === 'right' ? (0, _styledComponents.css)(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n margin-left: 5px;\n "]))) : (0, _styledComponents.css)(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n margin-right: 5px;\n "])));
|
|
72
72
|
}, function (props) {
|
|
73
73
|
var _props$theme5;
|
|
74
74
|
return ((_props$theme5 = props.theme) === null || _props$theme5 === void 0 ? void 0 : _props$theme5.rtl) && (0, _styledComponents.css)(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n margin-right: 5px;\n margin-left: 0px;\n "])));
|
|
@@ -38,7 +38,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
|
|
|
38
38
|
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; } }
|
|
39
39
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
40
40
|
var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
41
|
-
var _theme$business_view$, _theme$business_view, _theme$
|
|
41
|
+
var _theme$business_view$, _theme$business_view, _theme$images, _theme$images2, _product$ribbon, _product$ribbon2, _product$ribbon3, _product$ribbon4, _product$ribbon5, _theme$images3, _product$ribbon6, _theme$defaultLanguag, _theme$defaultLanguag2, _theme$defaultLanguag3, _theme$defaultLanguag4;
|
|
42
42
|
var product = props.product,
|
|
43
43
|
isSoldOut = props.isSoldOut,
|
|
44
44
|
isSkeleton = props.isSkeleton,
|
|
@@ -104,7 +104,7 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
104
104
|
}, 0);
|
|
105
105
|
var totalBalance = (productBalance || 0) - removeToBalance;
|
|
106
106
|
var maxCartProductConfig = (stateConfig.configs.max_product_amount ? parseInt(stateConfig.configs.max_product_amount) : 100) - totalBalance;
|
|
107
|
-
var hideAddButton = (_theme$business_view$ = theme === null || theme === void 0
|
|
107
|
+
var hideAddButton = (_theme$business_view$ = theme === null || theme === void 0 || (_theme$business_view = theme.business_view) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.components) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.products) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.components) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.add_to_cart_button) === null || _theme$business_view === void 0 ? void 0 : _theme$business_view.hidden) !== null && _theme$business_view$ !== void 0 ? _theme$business_view$ : true;
|
|
108
108
|
// const productsRows = theme?.layouts?.business_view?.components?.products?.components?.layout?.rows
|
|
109
109
|
|
|
110
110
|
var maxCartProductInventory = (product !== null && product !== void 0 && product.inventoried ? product === null || product === void 0 ? void 0 : product.quantity : undefined) - totalBalance;
|
|
@@ -124,7 +124,7 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
124
124
|
onProductClick && onProductClick();
|
|
125
125
|
return;
|
|
126
126
|
}
|
|
127
|
-
!isSkeleton && !useCustomFunctionality && onProductClick && onProductClick(product, product === null || product === void 0
|
|
127
|
+
!isSkeleton && !useCustomFunctionality && onProductClick && onProductClick(product, product === null || product === void 0 || (_product$business = product.business) === null || _product$business === void 0 ? void 0 : _product$business.slug) || useCustomFunctionality && onCustomClick && onCustomClick();
|
|
128
128
|
};
|
|
129
129
|
var closeAlert = function closeAlert() {
|
|
130
130
|
setAlertState({
|
|
@@ -158,7 +158,7 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
158
158
|
var _user$session;
|
|
159
159
|
login({
|
|
160
160
|
user: user,
|
|
161
|
-
token: user === null || user === void 0
|
|
161
|
+
token: user === null || user === void 0 || (_user$session = user.session) === null || _user$session === void 0 ? void 0 : _user$session.access_token
|
|
162
162
|
});
|
|
163
163
|
};
|
|
164
164
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles.CardContainer, {
|
|
@@ -172,18 +172,18 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
172
172
|
// productsRows={productsRows}
|
|
173
173
|
}, isObservedValidation ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", null, !useCustomFunctionality && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles.CardInfo, {
|
|
174
174
|
soldOut: isSoldOut || maxProductQuantity <= 0,
|
|
175
|
-
isBgimage: optimizeImage((product === null || product === void 0 ? void 0 : product.images) || (theme === null || theme === void 0
|
|
175
|
+
isBgimage: optimizeImage((product === null || product === void 0 ? void 0 : product.images) || (theme === null || theme === void 0 || (_theme$images = theme.images) === null || _theme$images === void 0 || (_theme$images = _theme$images.dummies) === null || _theme$images === void 0 ? void 0 : _theme$images.product), 'h_86,c_limit'),
|
|
176
176
|
oneLine: isPreviously
|
|
177
177
|
}, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, !isSkeleton ? /*#__PURE__*/_react.default.createElement(_styles.WrapLogo, {
|
|
178
|
-
isBgimage: optimizeImage((product === null || product === void 0 ? void 0 : product.images) || (theme === null || theme === void 0
|
|
179
|
-
}, !isSkeleton && productAddedToCartLength > 0 && /*#__PURE__*/_react.default.createElement(_styles.QuantityContainer, null, /*#__PURE__*/_react.default.createElement("span", null, productAddedToCartLength)), (product === null || product === void 0
|
|
180
|
-
bgColor: product === null || product === void 0
|
|
181
|
-
isRoundRect: (product === null || product === void 0
|
|
182
|
-
isCapsule: (product === null || product === void 0
|
|
183
|
-
}, product === null || product === void 0
|
|
178
|
+
isBgimage: optimizeImage((product === null || product === void 0 ? void 0 : product.images) || (theme === null || theme === void 0 || (_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_86,c_limit')
|
|
179
|
+
}, !isSkeleton && productAddedToCartLength > 0 && /*#__PURE__*/_react.default.createElement(_styles.QuantityContainer, null, /*#__PURE__*/_react.default.createElement("span", null, productAddedToCartLength)), (product === null || product === void 0 || (_product$ribbon = product.ribbon) === null || _product$ribbon === void 0 ? void 0 : _product$ribbon.enabled) && /*#__PURE__*/_react.default.createElement(_styles.RibbonBox, {
|
|
180
|
+
bgColor: product === null || product === void 0 || (_product$ribbon2 = product.ribbon) === null || _product$ribbon2 === void 0 ? void 0 : _product$ribbon2.color,
|
|
181
|
+
isRoundRect: (product === null || product === void 0 || (_product$ribbon3 = product.ribbon) === null || _product$ribbon3 === void 0 ? void 0 : _product$ribbon3.shape) === (_utils.shape === null || _utils.shape === void 0 ? void 0 : _utils.shape.rectangleRound),
|
|
182
|
+
isCapsule: (product === null || product === void 0 || (_product$ribbon4 = product.ribbon) === null || _product$ribbon4 === void 0 ? void 0 : _product$ribbon4.shape) === (_utils.shape === null || _utils.shape === void 0 ? void 0 : _utils.shape.capsuleShape)
|
|
183
|
+
}, product === null || product === void 0 || (_product$ribbon5 = product.ribbon) === null || _product$ribbon5 === void 0 ? void 0 : _product$ribbon5.text), /*#__PURE__*/_react.default.createElement(_styles.CardLogo, {
|
|
184
184
|
className: "image",
|
|
185
185
|
soldOut: isSoldOut || maxProductQuantity <= 0,
|
|
186
|
-
bgimage: optimizeImage((product === null || product === void 0 ? void 0 : product.images) || (theme === null || theme === void 0
|
|
186
|
+
bgimage: optimizeImage((product === null || product === void 0 ? void 0 : product.images) || (theme === null || theme === void 0 || (_theme$images3 = theme.images) === null || _theme$images3 === void 0 || (_theme$images3 = _theme$images3.dummies) === null || _theme$images3 === void 0 ? void 0 : _theme$images3.product), 'h_86,c_limit')
|
|
187
187
|
})) : /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
188
188
|
height: 75,
|
|
189
189
|
width: 75
|
|
@@ -206,7 +206,7 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
206
206
|
})) : /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
207
207
|
width: 80
|
|
208
208
|
}))), (isSoldOut || maxProductQuantity <= 0) && /*#__PURE__*/_react.default.createElement(_styles.SoldOut, {
|
|
209
|
-
isBottom: product === null || product === void 0
|
|
209
|
+
isBottom: product === null || product === void 0 || (_product$ribbon6 = product.ribbon) === null || _product$ribbon6 === void 0 ? void 0 : _product$ribbon6.enabled
|
|
210
210
|
}, t('SOLD_OUT', 'SOLD OUT'))), useCustomFunctionality && customText && /*#__PURE__*/_react.default.createElement("span", {
|
|
211
211
|
style: {
|
|
212
212
|
fontSize: 16,
|
|
@@ -242,7 +242,7 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
242
242
|
});
|
|
243
243
|
},
|
|
244
244
|
href: "#"
|
|
245
|
-
}, t('CREATE_ACCOUNT', (theme === null || theme === void 0
|
|
245
|
+
}, t('CREATE_ACCOUNT', (theme === null || theme === void 0 || (_theme$defaultLanguag = theme.defaultLanguages) === null || _theme$defaultLanguag === void 0 ? void 0 : _theme$defaultLanguag.CREATE_ACCOUNT) || 'Create account')),
|
|
246
246
|
elementLinkToForgotPassword: /*#__PURE__*/_react.default.createElement("a", {
|
|
247
247
|
onClick: function onClick(e) {
|
|
248
248
|
return handleCustomModalClick(e, {
|
|
@@ -250,7 +250,7 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
250
250
|
});
|
|
251
251
|
},
|
|
252
252
|
href: "#"
|
|
253
|
-
}, t('RESET_PASSWORD', (theme === null || theme === void 0
|
|
253
|
+
}, t('RESET_PASSWORD', (theme === null || theme === void 0 || (_theme$defaultLanguag2 = theme.defaultLanguages) === null || _theme$defaultLanguag2 === void 0 ? void 0 : _theme$defaultLanguag2.RESET_PASSWORD) || 'Reset password')),
|
|
254
254
|
useLoginByCellphone: true,
|
|
255
255
|
isPopup: true
|
|
256
256
|
}), modalPageToShow === 'signup' && /*#__PURE__*/_react.default.createElement(_SignUpForm.SignUpForm, {
|
|
@@ -261,7 +261,7 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
261
261
|
});
|
|
262
262
|
},
|
|
263
263
|
href: "#"
|
|
264
|
-
}, t('LOGIN', (theme === null || theme === void 0
|
|
264
|
+
}, t('LOGIN', (theme === null || theme === void 0 || (_theme$defaultLanguag3 = theme.defaultLanguages) === null || _theme$defaultLanguag3 === void 0 ? void 0 : _theme$defaultLanguag3.LOGIN) || 'Login')),
|
|
265
265
|
useLoginByCellphone: true,
|
|
266
266
|
useChekoutFileds: true,
|
|
267
267
|
handleSuccessSignup: handleSuccessSignup,
|
|
@@ -277,7 +277,7 @@ var SingleProductCardUI = function SingleProductCardUI(props) {
|
|
|
277
277
|
});
|
|
278
278
|
},
|
|
279
279
|
href: "#"
|
|
280
|
-
}, t('LOGIN', (theme === null || theme === void 0
|
|
280
|
+
}, t('LOGIN', (theme === null || theme === void 0 || (_theme$defaultLanguag4 = theme.defaultLanguages) === null || _theme$defaultLanguag4 === void 0 ? void 0 : _theme$defaultLanguag4.LOGIN) || 'Login')),
|
|
281
281
|
isPopup: true
|
|
282
282
|
})), /*#__PURE__*/_react.default.createElement(_Confirm.Alert, {
|
|
283
283
|
title: t('PRODUCT', 'Product'),
|
|
@@ -44,9 +44,9 @@ var SoldOut = _styledComponents.default.span(_templateObject9 || (_templateObjec
|
|
|
44
44
|
});
|
|
45
45
|
exports.SoldOut = SoldOut;
|
|
46
46
|
var CardInfo = _styledComponents.default.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 100%;\n > * {\n margin: 3px;\n }\n ", "\n p {\n color: #909BA9;\n text-align: left;\n font-size: 10px;\n ", "\n\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n white-space: pre-wrap;\n text-align: center;\n }\n\n span {\n color: ", ";\n font-size: 14px;\n }\n\n ", "\n\n h1 {\n font-size: 14px;\n font-weight: 500;\n text-align: center;\n color: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n margin: 0px;\n }\n\n > span {\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n text-align: center;\n svg {\n color: ", ";\n font-size: 16px;\n }\n }\n\n @media (min-width: 1024px) {\n p {\n font-size: 12px;\n }\n\n span {\n font-size: 14px;\n }\n }\n"])), function (_ref6) {
|
|
47
|
-
var _theme$business_view
|
|
47
|
+
var _theme$business_view;
|
|
48
48
|
var theme = _ref6.theme;
|
|
49
|
-
return (theme === null || theme === void 0
|
|
49
|
+
return (theme === null || theme === void 0 || (_theme$business_view = theme.business_view) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.components) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.products) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.components) === null || _theme$business_view === void 0 || (_theme$business_view = _theme$business_view.layout) === null || _theme$business_view === void 0 ? void 0 : _theme$business_view.type) === 'pfchangs' && (0, _styledComponents.css)(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n \n "])));
|
|
50
50
|
}, function (props) {
|
|
51
51
|
var _props$theme4;
|
|
52
52
|
return ((_props$theme4 = props.theme) === null || _props$theme4 === void 0 ? void 0 : _props$theme4.rtl) && (0, _styledComponents.css)(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n text-align: right;\n "])));
|
|
@@ -70,9 +70,9 @@ var WrapLogo = _styledComponents.default.div(_templateObject16 || (_templateObje
|
|
|
70
70
|
});
|
|
71
71
|
exports.WrapLogo = WrapLogo;
|
|
72
72
|
var CardLogoStyled = _styledComponents.default.div(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n position: relative;\n background-repeat: no-repeat, repeat;\n background-size: cover;\n background-position: center;\n object-fit: cover;\n min-height: 100px;\n border-radius: ", ";\n"])), function (_ref9) {
|
|
73
|
-
var _theme$business_view2
|
|
73
|
+
var _theme$business_view2;
|
|
74
74
|
var theme = _ref9.theme;
|
|
75
|
-
return (theme === null || theme === void 0
|
|
75
|
+
return (theme === null || theme === void 0 || (_theme$business_view2 = theme.business_view) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.components) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.products) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.components) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.photo) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.components) === null || _theme$business_view2 === void 0 || (_theme$business_view2 = _theme$business_view2.style) === null || _theme$business_view2 === void 0 ? void 0 : _theme$business_view2.borderRadius) || '10px';
|
|
76
76
|
});
|
|
77
77
|
var CardLogo = function CardLogo(props) {
|
|
78
78
|
var style = {};
|
|
@@ -129,9 +129,9 @@ exports.TitleWrapper = TitleWrapper;
|
|
|
129
129
|
var SkeletonCardInfo = _styledComponents.default.div(_templateObject31 || (_templateObject31 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: calc(100% - 10px);\n > * {\n margin: 3px;\n }\n"])));
|
|
130
130
|
exports.SkeletonCardInfo = SkeletonCardInfo;
|
|
131
131
|
var SkeletonCardLogo = _styledComponents.default.div(_templateObject32 || (_templateObject32 = _taggedTemplateLiteral(["\n max-width: 100px;\n max-height: 100px;\n width: 100px;\n height: 100px;\n margin-left: 5px;\n span{\n border-radius: ", ";\n }\n ", "\n"])), function (_ref15) {
|
|
132
|
-
var _theme$
|
|
132
|
+
var _theme$business_view3;
|
|
133
133
|
var theme = _ref15.theme;
|
|
134
|
-
return (theme === null || theme === void 0
|
|
134
|
+
return (theme === null || theme === void 0 || (_theme$business_view3 = theme.business_view) === null || _theme$business_view3 === void 0 || (_theme$business_view3 = _theme$business_view3.components) === null || _theme$business_view3 === void 0 || (_theme$business_view3 = _theme$business_view3.products) === null || _theme$business_view3 === void 0 || (_theme$business_view3 = _theme$business_view3.components) === null || _theme$business_view3 === void 0 || (_theme$business_view3 = _theme$business_view3.photo) === null || _theme$business_view3 === void 0 || (_theme$business_view3 = _theme$business_view3.components) === null || _theme$business_view3 === void 0 || (_theme$business_view3 = _theme$business_view3.style) === null || _theme$business_view3 === void 0 ? void 0 : _theme$business_view3.borderRadius) || '10px';
|
|
135
135
|
}, function (props) {
|
|
136
136
|
var _props$theme6;
|
|
137
137
|
return ((_props$theme6 = props.theme) === null || _props$theme6 === void 0 ? void 0 : _props$theme6.rtl) && (0, _styledComponents.css)(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral(["\n margin-right: 5px;\n margin-left: 0px;\n "])));
|
|
@@ -72,7 +72,7 @@ var SingleProfessionalCardUI = function SingleProfessionalCardUI(props) {
|
|
|
72
72
|
}) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, professional === null || professional === void 0 ? void 0 : professional.name, " ", professional === null || professional === void 0 ? void 0 : professional.last_name)), isSkeleton ? /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
73
73
|
height: 15,
|
|
74
74
|
width: 80
|
|
75
|
-
}) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (professional === null || professional === void 0
|
|
75
|
+
}) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (professional === null || professional === void 0 || (_professional$occupat = professional.occupation) === null || _professional$occupat === void 0 ? void 0 : _professional$occupat.name) && /*#__PURE__*/_react.default.createElement("p", null, professional === null || professional === void 0 || (_professional$occupat2 = professional.occupation) === null || _professional$occupat2 === void 0 ? void 0 : _professional$occupat2.name)), /*#__PURE__*/_react.default.createElement(_styles.ActionWrapper, {
|
|
76
76
|
isSmallPhoto: isSmallPhoto
|
|
77
77
|
}, isSkeleton ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
78
78
|
width: 16,
|
|
@@ -156,7 +156,7 @@ var UpsellingPageUI = function UpsellingPageUI(props) {
|
|
|
156
156
|
width: 250,
|
|
157
157
|
height: 100
|
|
158
158
|
}));
|
|
159
|
-
})))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, !canOpenUpselling || (upsellingProducts === null || upsellingProducts === void 0
|
|
159
|
+
})))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, !canOpenUpselling || (upsellingProducts === null || upsellingProducts === void 0 || (_upsellingProducts$pr4 = upsellingProducts.products) === null || _upsellingProducts$pr4 === void 0 ? void 0 : _upsellingProducts$pr4.length) === 0 ? '' : /*#__PURE__*/_react.default.createElement(_Modal.Modal, {
|
|
160
160
|
title: t('UPSELLING_QUESTION', 'Do you want something else?'),
|
|
161
161
|
open: openUpselling,
|
|
162
162
|
onClose: function onClose() {
|
|
@@ -90,12 +90,12 @@ var UserDetailsUI = function UserDetailsUI(props) {
|
|
|
90
90
|
var _verifyPhoneState$res2;
|
|
91
91
|
setAlertState({
|
|
92
92
|
open: true,
|
|
93
|
-
content: (verifyPhoneState === null || verifyPhoneState === void 0
|
|
93
|
+
content: (verifyPhoneState === null || verifyPhoneState === void 0 || (_verifyPhoneState$res2 = verifyPhoneState.result) === null || _verifyPhoneState$res2 === void 0 ? void 0 : _verifyPhoneState$res2.result) || [t('ERROR', 'Error')]
|
|
94
94
|
});
|
|
95
95
|
} else {
|
|
96
96
|
resetOtpLeftTime();
|
|
97
97
|
}
|
|
98
|
-
}, [verifyPhoneState === null || verifyPhoneState === void 0
|
|
98
|
+
}, [verifyPhoneState === null || verifyPhoneState === void 0 || (_verifyPhoneState$res3 = verifyPhoneState.result) === null || _verifyPhoneState$res3 === void 0 ? void 0 : _verifyPhoneState$res3.result]);
|
|
99
99
|
var toggleEditState = function toggleEditState() {
|
|
100
100
|
toggleIsEdit();
|
|
101
101
|
cleanFormState({
|
|
@@ -182,7 +182,7 @@ var UserDetailsUI = function UserDetailsUI(props) {
|
|
|
182
182
|
}
|
|
183
183
|
}))), !isEdit ? /*#__PURE__*/_react.default.createElement(_styles.UserData, null, ((userData === null || userData === void 0 ? void 0 : userData.name) || (userData === null || userData === void 0 ? void 0 : userData.middle_name) || (userData === null || userData === void 0 ? void 0 : userData.lastname) || (userData === null || userData === void 0 ? void 0 : userData.second_lastname)) && /*#__PURE__*/_react.default.createElement(_styles.UserName, null, userData === null || userData === void 0 ? void 0 : userData.name, " ", userData === null || userData === void 0 ? void 0 : userData.middle_name, " ", userData === null || userData === void 0 ? void 0 : userData.lastname, " ", userData === null || userData === void 0 ? void 0 : userData.second_lastname), (userData === null || userData === void 0 ? void 0 : userData.email) && /*#__PURE__*/_react.default.createElement("p", null, userData === null || userData === void 0 ? void 0 : userData.email), ((userData === null || userData === void 0 ? void 0 : userData.cellphone) || (user === null || user === void 0 ? void 0 : user.cellphone)) && /*#__PURE__*/_react.default.createElement(_styles.PhoneContainer, null, /*#__PURE__*/_react.default.createElement(_styles.CountryFlag, null, (userData === null || userData === void 0 ? void 0 : userData.country_phone_code) && /*#__PURE__*/_react.default.createElement(_reactPhoneNumberInput.default, {
|
|
184
184
|
onChange: function onChange() {},
|
|
185
|
-
defaultCountry: (_parsePhoneNumber = (0, _libphonenumberJs.parsePhoneNumber)("+".concat(userData === null || userData === void 0
|
|
185
|
+
defaultCountry: (_parsePhoneNumber = (0, _libphonenumberJs.parsePhoneNumber)("+".concat(userData === null || userData === void 0 || (_userData$country_pho = userData.country_phone_code) === null || _userData$country_pho === void 0 ? void 0 : _userData$country_pho.replace('+', ''), " ").concat(userData === null || userData === void 0 ? void 0 : userData.cellphone.replace("+".concat(userData === null || userData === void 0 ? void 0 : userData.country_phone_code), '')))) === null || _parsePhoneNumber === void 0 ? void 0 : _parsePhoneNumber.country
|
|
186
186
|
})), /*#__PURE__*/_react.default.createElement("p", null, userData === null || userData === void 0 ? void 0 : userData.cellphone))) : /*#__PURE__*/_react.default.createElement(_styles.SideForm, null, /*#__PURE__*/_react.default.createElement(_UserFormDetails.UserFormDetailsUI, _extends({}, props, {
|
|
187
187
|
userData: userData,
|
|
188
188
|
isCustomerMode: isCustomerMode,
|