ordering-ui-external 10.4.0 → 10.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_bundles/{0.ordering-ui.487a31b3537d90f69a9d.js → 0.ordering-ui.cc1d13aa04732fde3671.js} +1 -1
- package/_bundles/{1.ordering-ui.487a31b3537d90f69a9d.js → 1.ordering-ui.cc1d13aa04732fde3671.js} +1 -1
- package/_bundles/{2.ordering-ui.487a31b3537d90f69a9d.js → 2.ordering-ui.cc1d13aa04732fde3671.js} +1 -1
- package/_bundles/{4.ordering-ui.487a31b3537d90f69a9d.js → 4.ordering-ui.cc1d13aa04732fde3671.js} +1 -1
- package/_bundles/{5.ordering-ui.487a31b3537d90f69a9d.js → 5.ordering-ui.cc1d13aa04732fde3671.js} +1 -1
- package/_bundles/{6.ordering-ui.487a31b3537d90f69a9d.js → 6.ordering-ui.cc1d13aa04732fde3671.js} +1 -1
- package/_bundles/{7.ordering-ui.487a31b3537d90f69a9d.js → 7.ordering-ui.cc1d13aa04732fde3671.js} +2 -2
- package/_bundles/{8.ordering-ui.487a31b3537d90f69a9d.js → 8.ordering-ui.cc1d13aa04732fde3671.js} +1 -1
- package/_bundles/{9.ordering-ui.487a31b3537d90f69a9d.js → 9.ordering-ui.cc1d13aa04732fde3671.js} +1 -1
- package/_bundles/ordering-ui.cc1d13aa04732fde3671.js +2 -0
- package/_modules/themes/callcenterOriginal/src/components/Orders/DeliveriesManager/index.js +4 -2
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrdersDashboardControls/index.js +3 -1
- package/_modules/themes/callcenterOriginal/src/components/Orders/OrdersManager/index.js +2 -0
- package/_modules/themes/five/src/components/BusinessItemAccordion/index.js +5 -2
- package/_modules/themes/five/src/components/BusinessItemAccordion/styles.js +25 -19
- package/_modules/themes/five/src/components/BusinessProductsList/index.js +35 -13
- package/_modules/themes/five/src/components/BusinessProductsList/styles.js +7 -3
- package/_modules/themes/five/src/components/BusinessProductsListing/index.js +2 -0
- package/_modules/themes/five/src/components/BusinessesListing/layouts/OriginalBusinessesListing/index.js +133 -31
- package/_modules/themes/five/src/components/BusinessesListing/layouts/OriginalBusinessesListing/styles.js +37 -3
- package/_modules/themes/five/src/components/Cart/index.js +10 -6
- package/_modules/themes/five/src/components/Checkout/index.js +67 -22
- package/_modules/themes/five/src/components/GiftCard/GiftCardOrdersList/index.js +53 -0
- package/_modules/themes/five/src/components/GiftCard/GiftCardOrdersList/styles.js +16 -0
- package/_modules/themes/five/src/components/GiftCard/HorizontalGiftCardOrdersLayout/index.js +69 -0
- package/_modules/themes/five/src/components/GiftCard/HorizontalGiftCardOrdersLayout/styles.js +16 -0
- package/_modules/themes/five/src/components/GiftCard/SingleGiftCard/index.js +90 -0
- package/_modules/themes/five/src/components/GiftCard/SingleGiftCard/styles.js +43 -0
- package/_modules/themes/five/src/components/GiftCard/VerticalGiftCardOrdersLayout/index.js +75 -0
- package/_modules/themes/five/src/components/GiftCard/VerticalGiftCardOrdersLayout/styles.js +19 -0
- package/_modules/themes/five/src/components/MyOrders/index.js +6 -1
- package/_modules/themes/five/src/components/OrderProgress/index.js +1 -1
- package/_modules/themes/five/src/components/OrdersOption/index.js +1 -0
- package/_modules/themes/five/src/components/PhoneAutocomplete/index.js +165 -31
- package/_modules/themes/five/src/components/PhoneAutocomplete/styles.js +53 -9
- package/_modules/themes/five/src/components/ProductForm/index.js +1 -0
- package/_modules/themes/five/src/components/RenderProductsLayout/index.js +3 -2
- package/_modules/themes/five/src/components/SingleProductCard/layouts/original/styles.js +1 -1
- package/_modules/themes/five/src/components/UserFormDetails/index.js +5 -17
- package/_modules/themes/five/src/components/UserFormDetails/styles.js +3 -7
- package/index-template.js +9 -1
- package/package.json +2 -2
- package/src/themes/callcenterOriginal/src/components/Orders/DeliveriesManager/index.js +3 -1
- package/src/themes/callcenterOriginal/src/components/Orders/OrdersDashboardControls/index.js +5 -1
- package/src/themes/callcenterOriginal/src/components/Orders/OrdersManager/index.js +2 -0
- package/src/themes/five/src/components/BusinessItemAccordion/index.js +2 -2
- package/src/themes/five/src/components/BusinessItemAccordion/styles.js +8 -7
- package/src/themes/five/src/components/BusinessProductsList/index.js +36 -3
- package/src/themes/five/src/components/BusinessProductsList/styles.js +20 -0
- package/src/themes/five/src/components/BusinessProductsListing/index.js +2 -0
- package/src/themes/five/src/components/BusinessesListing/layouts/OriginalBusinessesListing/index.js +156 -36
- package/src/themes/five/src/components/BusinessesListing/layouts/OriginalBusinessesListing/styles.js +66 -0
- package/src/themes/five/src/components/Cart/index.js +7 -4
- package/src/themes/five/src/components/Checkout/index.js +61 -35
- package/src/themes/five/src/components/GiftCard/GiftCardOrdersList/index.js +50 -0
- package/src/themes/five/src/components/GiftCard/GiftCardOrdersList/styles.js +34 -0
- package/src/themes/five/src/components/GiftCard/HorizontalGiftCardOrdersLayout/index.js +75 -0
- package/src/themes/five/src/components/GiftCard/HorizontalGiftCardOrdersLayout/styles.js +29 -0
- package/src/themes/five/src/components/GiftCard/SingleGiftCard/index.js +79 -0
- package/src/themes/five/src/components/GiftCard/SingleGiftCard/styles.js +79 -0
- package/src/themes/five/src/components/GiftCard/VerticalGiftCardOrdersLayout/index.js +72 -0
- package/src/themes/five/src/components/GiftCard/VerticalGiftCardOrdersLayout/styles.js +31 -0
- package/src/themes/five/src/components/MyOrders/index.js +6 -1
- package/src/themes/five/src/components/OrderProgress/index.js +1 -1
- package/src/themes/five/src/components/OrdersOption/index.js +1 -0
- package/src/themes/five/src/components/PhoneAutocomplete/index.js +195 -46
- package/src/themes/five/src/components/PhoneAutocomplete/styles.js +106 -10
- package/src/themes/five/src/components/ProductForm/index.js +1 -0
- package/src/themes/five/src/components/RenderProductsLayout/index.js +1 -0
- package/src/themes/five/src/components/SingleProductCard/layouts/original/styles.js +1 -1
- package/src/themes/five/src/components/UserFormDetails/index.js +6 -27
- package/src/themes/five/src/components/UserFormDetails/styles.js +0 -16
- package/template/assets/images/delivery.svg +11 -0
- package/template/assets/images/phone-hero-callcenter.png +0 -0
- package/template/assets/images/phone.svg +11 -0
- package/template/assets/images/pickup.svg +17 -0
- package/template/pages/BusinessProductsList/index.js +2 -1
- package/_bundles/ordering-ui.487a31b3537d90f69a9d.js +0 -2
- /package/_bundles/{7.ordering-ui.487a31b3537d90f69a9d.js.LICENSE.txt → 7.ordering-ui.cc1d13aa04732fde3671.js.LICENSE.txt} +0 -0
- /package/_bundles/{ordering-ui.487a31b3537d90f69a9d.js.LICENSE.txt → ordering-ui.cc1d13aa04732fde3671.js.LICENSE.txt} +0 -0
|
@@ -14,8 +14,7 @@ import {
|
|
|
14
14
|
InputPhoneNumberWrapper,
|
|
15
15
|
LanguageSelectorWrapper,
|
|
16
16
|
SwitchWrapper,
|
|
17
|
-
NotificationsGroupSwitchWrapper
|
|
18
|
-
TextLinkWrapper
|
|
17
|
+
NotificationsGroupSwitchWrapper
|
|
19
18
|
} from './styles'
|
|
20
19
|
|
|
21
20
|
import { Switch } from '../../../../../styles/Switch'
|
|
@@ -331,7 +330,7 @@ export const UserFormDetailsUI = (props) => {
|
|
|
331
330
|
<BeforeMidComponents key={i} {...props} />))
|
|
332
331
|
}
|
|
333
332
|
{sortInputFields({ values: validationFields?.fields?.checkout }).map(field =>
|
|
334
|
-
showField && showField(field.code) && showFieldWithTheme(field.code) && (
|
|
333
|
+
((showField && showField(field.code) && showFieldWithTheme(field.code)) || user?.guest_id) && (
|
|
335
334
|
<React.Fragment key={field.id}>
|
|
336
335
|
{field.code === 'email' ? (
|
|
337
336
|
((requiredFields && requiredFields.includes(field.code)) || !requiredFields) && (
|
|
@@ -381,7 +380,7 @@ export const UserFormDetailsUI = (props) => {
|
|
|
381
380
|
</React.Fragment>
|
|
382
381
|
)
|
|
383
382
|
)}
|
|
384
|
-
{showInputBirthday && (
|
|
383
|
+
{((!user?.guest_id && showInputBirthday) || (user?.guest_id && requiredFields.includes('birthdate'))) && (
|
|
385
384
|
<InputPhoneNumberWrapper>
|
|
386
385
|
<p>{t('BIRTHDATE', 'Birthdate')}</p>
|
|
387
386
|
<Input
|
|
@@ -392,11 +391,11 @@ export const UserFormDetailsUI = (props) => {
|
|
|
392
391
|
onFocus={() => setOpenCalendar(true)}
|
|
393
392
|
/>
|
|
394
393
|
{openCalendar && (
|
|
395
|
-
|
|
394
|
+
<DatePickerUI value={birthdate} onChange={_handleChangeDate} name={'birthdate'}/>
|
|
396
395
|
)}
|
|
397
396
|
</InputPhoneNumberWrapper>
|
|
398
397
|
)}
|
|
399
|
-
{!!showInputPhoneNumber && showCustomerCellphone && ((requiredFields && requiredFields.includes('cellphone')) || !requiredFields) && (
|
|
398
|
+
{((!user?.guest_id && !!showInputPhoneNumber) || (user?.guest_id && requiredFields.includes('cellphone'))) && showCustomerCellphone && ((requiredFields && requiredFields.includes('cellphone')) || !requiredFields) && (
|
|
400
399
|
<InputPhoneNumberWrapper>
|
|
401
400
|
<p>{t('PHONE', 'Phone')}</p>
|
|
402
401
|
<InputPhoneNumber
|
|
@@ -498,7 +497,7 @@ export const UserFormDetailsUI = (props) => {
|
|
|
498
497
|
{formState.loading ? t('UPDATING', 'Updating...') : t('UPDATE', 'Update')}
|
|
499
498
|
</Button>
|
|
500
499
|
)}
|
|
501
|
-
{requiredFields &&
|
|
500
|
+
{requiredFields && (
|
|
502
501
|
<Button
|
|
503
502
|
id='form-btn'
|
|
504
503
|
color='primary'
|
|
@@ -509,26 +508,6 @@ export const UserFormDetailsUI = (props) => {
|
|
|
509
508
|
</Button>
|
|
510
509
|
)}
|
|
511
510
|
</ActionsForm>
|
|
512
|
-
{requiredFields && isCheckout && userSession?.guest_id && (
|
|
513
|
-
<>
|
|
514
|
-
<Button
|
|
515
|
-
id='form-btn'
|
|
516
|
-
color='primary'
|
|
517
|
-
type='button'
|
|
518
|
-
onClick={() => setModalIsOpen(true)}
|
|
519
|
-
disabled={formState.loading}
|
|
520
|
-
>
|
|
521
|
-
{formState.loading ? t('UPDATING', 'Updating...') : t('SIGN_UP_AND_PLACE_ORDER', 'Sign up and place order')}
|
|
522
|
-
</Button>
|
|
523
|
-
{isAllowGuest && (
|
|
524
|
-
<TextLinkWrapper>
|
|
525
|
-
<span onClick={() => handlePlaceOrderAsGuest()}>
|
|
526
|
-
{t('PLACE_ORDER_AS_GUEST', 'Place order as guest')}
|
|
527
|
-
</span>
|
|
528
|
-
</TextLinkWrapper>
|
|
529
|
-
)}
|
|
530
|
-
</>
|
|
531
|
-
)}
|
|
532
511
|
</>
|
|
533
512
|
) : (
|
|
534
513
|
<SkeletonForm>
|
|
@@ -208,19 +208,3 @@ export const SwitchWrapper = styled.div`
|
|
|
208
208
|
justify-content: space-between;
|
|
209
209
|
width: 100%;
|
|
210
210
|
`
|
|
211
|
-
|
|
212
|
-
export const TextLinkWrapper = styled.span`
|
|
213
|
-
width: 100%;
|
|
214
|
-
display: flex;
|
|
215
|
-
justify-content: center;
|
|
216
|
-
margin-top: 15px;
|
|
217
|
-
span {
|
|
218
|
-
font-size: 14px;
|
|
219
|
-
text-align: center;
|
|
220
|
-
cursor: pointer;
|
|
221
|
-
color: ${props => props.theme.colors.primary};
|
|
222
|
-
&:hover {
|
|
223
|
-
text-decoration: underline;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
`
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_11706_62033)">
|
|
3
|
+
<path d="M15.7498 17.0625C15.7498 17.1495 15.7844 17.233 15.8459 17.2945C15.9075 17.3561 15.9909 17.3906 16.078 17.3906H16.4061V18.1722L15.9313 18.4095L16.2246 18.9968L16.7342 18.7418L17.2438 18.9968L17.5371 18.4095L17.0623 18.1722V17.3906H17.3905C17.4775 17.3906 17.5609 17.3561 17.6225 17.2945C17.684 17.233 17.7186 17.1495 17.7186 17.0625C17.7346 16.6065 17.7934 16.153 17.8941 15.708C18.0001 15.508 18.0526 15.284 18.0464 15.0577C18.0402 14.8314 17.9756 14.6106 17.8589 14.4167C17.7422 14.2228 17.5773 14.0623 17.3803 13.9509C17.1832 13.8395 16.9607 13.781 16.7344 13.781C16.508 13.781 16.2855 13.8395 16.0885 13.9509C15.8914 14.0623 15.7265 14.2228 15.6098 14.4167C15.4931 14.6106 15.4285 14.8314 15.4224 15.0577C15.4162 15.284 15.4686 15.508 15.5746 15.708C15.6752 16.153 15.7339 16.6065 15.7498 17.0625ZM16.7342 14.4375C16.8498 14.4374 16.9634 14.4679 17.0634 14.5258C17.1634 14.5837 17.2464 14.667 17.3039 14.7672C17.3614 14.8675 17.3914 14.9812 17.3909 15.0968C17.3904 15.2124 17.3593 15.3258 17.3009 15.4255C17.2833 15.4551 17.2705 15.4873 17.2631 15.521C17.174 15.921 17.1122 16.3266 17.0784 16.735H16.3894C16.3555 16.3266 16.2938 15.921 16.2046 15.521C16.1974 15.4871 16.1846 15.4546 16.1669 15.4248C16.1086 15.3251 16.0777 15.2117 16.0773 15.0961C16.0768 14.9806 16.1069 14.867 16.1645 14.7668C16.2221 14.6666 16.3051 14.5834 16.4051 14.5256C16.5051 14.4678 16.6187 14.4374 16.7342 14.4375Z" fill="#2C7BE5"/>
|
|
4
|
+
<path d="M20.6391 12.6502L20.0156 11.4069V9.84375C20.0156 9.75673 19.9811 9.67327 19.9195 9.61173C19.858 9.55019 19.7745 9.51562 19.6875 9.51562H13.7813C13.6942 9.51562 13.6108 9.55019 13.5492 9.61173C13.4877 9.67327 13.4531 9.75673 13.4531 9.84375V11.4069L12.8297 12.6502H12.833C12.8095 12.6955 12.7971 12.7458 12.7969 12.7969V13.1631C12.697 13.1147 12.5938 13.0734 12.4881 13.0397L10.2096 12.3375C10.6731 11.9397 11.0524 11.4531 11.3251 10.9065C11.5978 10.3599 11.7584 9.76428 11.7974 9.15469C12.1687 9.08114 12.5031 8.8815 12.744 8.5896C12.9848 8.2977 13.1174 7.9315 13.1192 7.55304C13.121 7.17459 12.9918 6.80716 12.7537 6.51301C12.5156 6.21886 12.1831 6.0161 11.8125 5.93906V3.9375C11.8114 2.98058 11.4308 2.06318 10.7541 1.38653C10.0775 0.709889 9.16006 0.329254 8.20314 0.328125H6.23439C5.27747 0.329254 4.36007 0.709889 3.68342 1.38653C3.00678 2.06318 2.62614 2.98058 2.62502 3.9375V5.93906C2.25448 6.0161 1.92197 6.21886 1.68383 6.51301C1.44569 6.80716 1.31657 7.17459 1.31834 7.55304C1.32012 7.9315 1.45269 8.2977 1.69358 8.5896C1.93447 8.8815 2.26886 9.08114 2.64011 9.15469C2.67918 9.76428 2.83978 10.3599 3.11246 10.9065C3.38514 11.4531 3.7644 11.9396 4.22791 12.3375L1.94941 13.0397C1.47899 13.1827 1.06721 13.4736 0.775161 13.8691C0.483112 14.2647 0.326353 14.7438 0.32814 15.2355V20.3438C0.32814 20.4308 0.36271 20.5142 0.424246 20.5758C0.485781 20.6373 0.569241 20.6719 0.656265 20.6719H20.3438C20.4308 20.6719 20.5142 20.6373 20.5758 20.5758C20.6373 20.5142 20.6719 20.4308 20.6719 20.3438V12.7969C20.6724 12.7461 20.6612 12.6959 20.6391 12.6502ZM19.4847 11.8125L19.8129 12.4688H13.6559L13.984 11.8125H19.4847ZM19.3594 10.1719V11.1562H14.1094V10.1719H19.3594ZM4.90056 12.8185C5.60247 13.234 6.40313 13.4531 7.21877 13.4531C8.0344 13.4531 8.83506 13.234 9.53697 12.8185L9.56978 12.829C9.32524 13.2305 8.97909 13.5602 8.56628 13.7851C8.15348 14.0099 7.68865 14.1217 7.21877 14.1094C6.74878 14.122 6.28379 14.0103 5.8708 13.7856C5.45781 13.5609 5.11147 13.2311 4.86677 12.8297L4.90056 12.8185ZM10.9535 5.25L10.7159 5.7248C10.6889 5.77944 10.647 5.8254 10.5952 5.85747C10.5433 5.88955 10.4835 5.90645 10.4226 5.90625H4.01495C3.95398 5.90645 3.89418 5.88955 3.84233 5.85747C3.79048 5.8254 3.74866 5.77944 3.72161 5.7248L3.48405 5.25H10.9535ZM5.27955 4.59375C5.35667 4.1352 5.59379 3.71881 5.94881 3.41851C6.30382 3.11821 6.75377 2.95344 7.21877 2.95344C7.68376 2.95344 8.13371 3.11821 8.48872 3.41851C8.84374 3.71881 9.08086 4.1352 9.15798 4.59375H5.27955ZM3.28127 6.23438C3.37332 6.33795 3.48633 6.42076 3.61282 6.47733C3.73932 6.5339 3.87639 6.56293 4.01495 6.5625H10.4226C10.5611 6.56293 10.6982 6.5339 10.8247 6.47733C10.9512 6.42076 11.0642 6.33795 11.1563 6.23438V8.53125H9.42672C9.30814 8.53144 9.19051 8.5101 9.07956 8.46825L7.73786 7.96327C7.39672 7.85053 7.02815 7.85191 6.68786 7.9672L5.35797 8.46825C5.24702 8.5101 5.12939 8.53144 5.01081 8.53125H3.28127V6.23438ZM12.4661 7.54688C12.4656 7.74933 12.4025 7.94666 12.2855 8.11188C12.1685 8.2771 12.0033 8.40214 11.8125 8.46989V6.62386C12.0033 6.69161 12.1685 6.81665 12.2855 6.98187C12.4025 7.14709 12.4656 7.34442 12.4661 7.54688ZM3.28127 3.9375C3.28213 3.15455 3.59354 2.40391 4.14717 1.85028C4.7008 1.29665 5.45144 0.985243 6.23439 0.984375H8.20314C8.98609 0.985243 9.73673 1.29665 10.2904 1.85028C10.844 2.40391 11.1554 3.15455 11.1563 3.9375V4.59375H9.82112C9.74167 3.95959 9.4334 3.37626 8.9542 2.95336C8.47501 2.53045 7.85788 2.29708 7.21877 2.29708C6.57965 2.29708 5.96252 2.53045 5.48333 2.95336C5.00414 3.37626 4.69586 3.95959 4.61641 4.59375H3.28127V3.9375ZM1.96614 7.54688C1.96675 7.34351 2.03046 7.14535 2.14847 6.97973C2.26649 6.81411 2.43299 6.68919 2.62502 6.62222V8.47153C2.43299 8.40456 2.26649 8.27964 2.14847 8.11402C2.03046 7.9484 1.96675 7.75024 1.96614 7.54688ZM3.298 9.1875H5.01081C5.20842 9.18766 5.40442 9.15197 5.5893 9.08217L6.9077 8.58539C7.10567 8.51939 7.31947 8.51789 7.51834 8.58113L8.84791 9.08217C9.0329 9.15195 9.229 9.18763 9.42672 9.1875H11.1395C11.0589 10.172 10.6109 11.0902 9.88441 11.7596C9.15796 12.429 8.20627 12.8006 7.21844 12.8006C6.2306 12.8006 5.27891 12.429 4.55246 11.7596C3.82601 11.0902 3.37797 10.172 3.29734 9.1875H3.298ZM0.98439 15.2355C0.983047 14.8843 1.09498 14.542 1.30358 14.2595C1.51218 13.9769 1.80632 13.7692 2.14234 13.6671L4.22823 13.0266C4.51767 13.5642 4.95025 14.0112 5.47807 14.3181C6.00589 14.6251 6.60836 14.78 7.21877 14.7656C7.82917 14.78 8.43164 14.6251 8.95946 14.3181C9.48728 14.0112 9.91986 13.5642 10.2093 13.0266L12.2949 13.6677C12.4765 13.7267 12.6465 13.8171 12.7969 13.9348V20.0156H11.8125V16.4062H11.1563V20.0156H3.28127V16.4062H2.62502V20.0156H0.98439V15.2355ZM20.0156 20.0156H13.4531V13.125H20.0156V20.0156Z" fill="#2C7BE5"/>
|
|
5
|
+
</g>
|
|
6
|
+
<defs>
|
|
7
|
+
<clipPath id="clip0_11706_62033">
|
|
8
|
+
<rect width="21" height="21" fill="white"/>
|
|
9
|
+
</clipPath>
|
|
10
|
+
</defs>
|
|
11
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg width="19" height="16" viewBox="0 0 19 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_11706_62084)">
|
|
3
|
+
<path d="M12.9949 1C13.2959 1 13.5846 1.10536 13.7974 1.29289C14.0103 1.48043 14.1299 1.73478 14.1299 2V14C14.1299 14.2652 14.0103 14.5196 13.7974 14.7071C13.5846 14.8946 13.2959 15 12.9949 15H6.185C5.88399 15 5.5953 14.8946 5.38245 14.7071C5.1696 14.5196 5.05002 14.2652 5.05002 14V2C5.05002 1.73478 5.1696 1.48043 5.38245 1.29289C5.5953 1.10536 5.88399 1 6.185 1H12.9949ZM6.185 0C5.58297 0 5.0056 0.210714 4.5799 0.585786C4.15419 0.960859 3.91504 1.46957 3.91504 2V14C3.91504 14.5304 4.15419 15.0391 4.5799 15.4142C5.0056 15.7893 5.58297 16 6.185 16H12.9949C13.5969 16 14.1743 15.7893 14.6 15.4142C15.0257 15.0391 15.2648 14.5304 15.2648 14V2C15.2648 1.46957 15.0257 0.960859 14.6 0.585786C14.1743 0.210714 13.5969 0 12.9949 0L6.185 0Z" fill="#2C7BE5"/>
|
|
4
|
+
<path d="M9.59006 14C9.89107 14 10.1798 13.8946 10.3926 13.7071C10.6055 13.5196 10.725 13.2652 10.725 13C10.725 12.7348 10.6055 12.4804 10.3926 12.2929C10.1798 12.1054 9.89107 12 9.59006 12C9.28904 12 9.00036 12.1054 8.78751 12.2929C8.57466 12.4804 8.45508 12.7348 8.45508 13C8.45508 13.2652 8.57466 13.5196 8.78751 13.7071C9.00036 13.8946 9.28904 14 9.59006 14Z" fill="#2C7BE5"/>
|
|
5
|
+
</g>
|
|
6
|
+
<defs>
|
|
7
|
+
<clipPath id="clip0_11706_62084">
|
|
8
|
+
<rect width="18.1597" height="16" fill="white" transform="translate(0.509766)"/>
|
|
9
|
+
</clipPath>
|
|
10
|
+
</defs>
|
|
11
|
+
</svg>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<svg width="26" height="23" viewBox="0 0 26 23" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_11706_62040)">
|
|
3
|
+
<mask id="mask0_11706_62040" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="26" height="23">
|
|
4
|
+
<path d="M26 0H0V23H26V0Z" fill="white"/>
|
|
5
|
+
</mask>
|
|
6
|
+
<g mask="url(#mask0_11706_62040)">
|
|
7
|
+
<path d="M12.0216 15.7951V11.8317C12.0216 11.7437 11.9872 11.6593 11.9261 11.5971C11.8649 11.5349 11.7819 11.5 11.6954 11.5C9.70324 11.5 9.42394 14.9755 9.41302 15.1234C9.40818 15.1891 9.42265 15.2547 9.4546 15.3119C9.48655 15.3692 9.53452 15.4155 9.59242 15.4449L10.0645 15.6849V15.7952L9.81171 18.366C9.7981 18.5043 9.81315 18.644 9.85588 18.7761C9.89862 18.9081 9.96809 19.0296 10.0598 19.1326C10.1516 19.2357 10.2635 19.3181 10.3885 19.3745C10.5134 19.4309 10.6486 19.46 10.7854 19.46H11.3007C11.4374 19.46 11.5726 19.4309 11.6976 19.3745C11.8226 19.3181 11.9345 19.2357 12.0263 19.1326C12.118 19.0296 12.1875 18.9081 12.2302 18.7761C12.2729 18.644 12.288 18.5043 12.2744 18.366L12.0216 15.7951ZM10.0869 14.9547C10.1434 14.4896 10.244 14.0312 10.3872 13.5858C10.6379 12.8358 10.9672 12.3794 11.3693 12.2238V15.48H10.7168C10.7168 15.4184 10.7 15.358 10.6681 15.3057C10.6363 15.2533 10.5907 15.2109 10.5365 15.1834L10.0869 14.9547ZM11.5425 18.6876C11.512 18.7221 11.4748 18.7496 11.4331 18.7684C11.3914 18.7872 11.3463 18.7968 11.3007 18.7966H10.7854C10.7398 18.7966 10.6947 18.7868 10.653 18.768C10.6113 18.7492 10.574 18.7218 10.5434 18.6874C10.5128 18.653 10.4897 18.6125 10.4755 18.5685C10.4612 18.5244 10.4562 18.4778 10.4608 18.4317L10.6859 16.1432H11.4002L11.6253 18.4317C11.6301 18.4779 11.6252 18.5245 11.611 18.5686C11.5967 18.6127 11.5734 18.6532 11.5426 18.6875L11.5425 18.6876Z" fill="#2C7BE5"/>
|
|
8
|
+
<path d="M22.4596 1.21837H19.8498C19.807 1.21837 19.7646 1.22695 19.725 1.24362C19.6854 1.26028 19.6495 1.28472 19.6192 1.31551C19.5889 1.34631 19.5649 1.38288 19.5485 1.42312C19.5321 1.46336 19.5236 1.50649 19.5236 1.55004V1.88172H12.7138C12.4189 1.88192 12.1287 1.95714 11.8698 2.10051L8.67628 3.87178H4.84528C4.29658 3.87178 3.86675 4.45449 3.86675 5.19843C3.86675 5.89276 4.24115 6.44624 4.73728 6.51725L3.26667 11.5792C3.26537 11.5837 3.26412 11.5883 3.26298 11.5928C3.23069 11.7243 3.21436 11.8594 3.21436 11.995V21.45C3.21436 21.5379 3.24872 21.6223 3.3099 21.6845C3.37107 21.7467 3.45404 21.7816 3.54055 21.7816H18.2189C18.2617 21.7816 18.3042 21.7731 18.3437 21.7564C18.3833 21.7397 18.4193 21.7153 18.4496 21.6845C18.4798 21.6537 18.5039 21.6171 18.5203 21.5769C18.5367 21.5366 18.5451 21.4935 18.5451 21.45V12.0226C18.5451 11.8641 18.5228 11.7064 18.4787 11.5544L17.1197 6.85628C17.5623 6.85296 17.9875 6.68069 18.311 6.37362C18.6345 6.06654 18.8327 5.64707 18.8664 5.19837H19.5236V5.86167C19.5236 5.90523 19.5321 5.94836 19.5485 5.9886C19.5649 6.02884 19.5889 6.0654 19.6192 6.0962C19.6495 6.127 19.6854 6.15143 19.725 6.1681C19.7646 6.18477 19.807 6.19335 19.8498 6.19335H22.4596C22.5461 6.19335 22.629 6.1584 22.6902 6.0962C22.7514 6.034 22.7857 5.94964 22.7857 5.86167V1.55004C22.7857 1.46208 22.7514 1.37772 22.6902 1.31551C22.629 1.25331 22.5461 1.21837 22.4596 1.21837ZM4.51956 5.19837C4.51956 4.79347 4.71274 4.53502 4.84575 4.53502H14.1696L12.8648 5.86167H4.84528C4.71227 5.86167 4.51909 5.60328 4.51909 5.19837H4.51956ZM14.6799 11.5929C14.6477 11.7244 14.6313 11.8595 14.6313 11.9951V21.1183H3.86732V11.995C3.86734 11.9158 3.87663 11.8369 3.89498 11.76L5.41578 6.52502H12.2747C12.1043 6.81755 12.0396 7.16132 12.0917 7.49713C12.1438 7.83293 12.3094 8.13977 12.56 8.36479C12.8107 8.58981 13.1306 8.71894 13.4648 8.72993C13.7989 8.74093 14.1264 8.63311 14.3908 8.42504L15.9601 7.18388L14.6832 11.5794C14.6819 11.5838 14.6807 11.5884 14.6795 11.5928L14.6799 11.5929ZM16.5883 20.2607L17.4318 21.1183H15.7449L16.5883 20.2607ZM17.8533 11.7421C17.8797 11.8332 17.8931 11.9278 17.8931 12.0228V20.6494L16.9145 19.6544V12.4953C16.9145 12.4074 16.8802 12.323 16.819 12.2608C16.7578 12.1986 16.6749 12.1637 16.5883 12.1637C16.5018 12.1637 16.4189 12.1986 16.3577 12.2608C16.2965 12.323 16.2621 12.4074 16.2621 12.4953V19.6544L15.2832 20.6494V11.995C15.2833 11.9158 15.2926 11.8369 15.3109 11.76L16.5871 7.36619L17.8533 11.7421ZM19.5236 4.53502H18.7397C18.6016 4.53519 18.4692 4.59103 18.3716 4.6903C18.274 4.78957 18.2191 4.92416 18.2189 5.06455C18.2186 5.36382 18.1015 5.65074 17.8934 5.86236C17.6853 6.07398 17.4031 6.19301 17.1088 6.19335H16.3069C16.2052 6.19357 16.1065 6.22804 16.0261 6.29138L13.9902 7.90159C13.8328 8.02621 13.6345 8.08509 13.4359 8.06624C13.2372 8.04739 13.0531 7.95223 12.921 7.80014C12.789 7.64806 12.7189 7.4505 12.7252 7.24772C12.7314 7.04494 12.8134 6.85222 12.9546 6.70881L15.1877 4.43821C15.2333 4.39183 15.2644 4.33273 15.277 4.26837C15.2897 4.20401 15.2832 4.1373 15.2585 4.07667C15.2338 4.01604 15.192 3.96422 15.1383 3.92777C15.0847 3.89131 15.0216 3.87186 14.957 3.87188H10.0387L12.1822 2.68297C12.3453 2.59267 12.5281 2.5453 12.7138 2.54518H19.5236V4.53502ZM22.1331 5.53H20.176V1.88172H22.1332L22.1331 5.53Z" fill="#2C7BE5"/>
|
|
9
|
+
<path d="M9.08559 11.8317C9.08559 11.7437 9.05122 11.6593 8.99005 11.5971C8.92887 11.5349 8.8459 11.5 8.75939 11.5C8.67288 11.5 8.58991 11.5349 8.52873 11.5971C8.46756 11.6593 8.43319 11.7437 8.43319 11.8317V12.8267H7.78085V11.8317C7.78085 11.7881 7.77242 11.745 7.75602 11.7047C7.73963 11.6645 7.7156 11.6279 7.68531 11.5971C7.65502 11.5663 7.61906 11.5419 7.57949 11.5252C7.53991 11.5086 7.4975 11.5 7.45466 11.5C7.41182 11.5 7.3694 11.5086 7.32983 11.5252C7.29025 11.5419 7.25429 11.5663 7.224 11.5971C7.19371 11.6279 7.16969 11.6645 7.15329 11.7047C7.1369 11.745 7.12846 11.7881 7.12846 11.8317V12.8267H6.47612V11.8317C6.47612 11.7437 6.44176 11.6593 6.38058 11.5971C6.31941 11.5349 6.23644 11.5 6.14993 11.5C6.06341 11.5 5.98044 11.5349 5.91927 11.5971C5.8581 11.6593 5.82373 11.7437 5.82373 11.8317V13.1583H5.82435C5.82413 13.2098 5.83572 13.2606 5.85821 13.3067L6.47056 14.552L6.20068 18.3941C6.1911 18.5304 6.20924 18.6672 6.25395 18.7961C6.29867 18.9249 6.36901 19.043 6.46058 19.143C6.55216 19.243 6.66301 19.3228 6.78623 19.3773C6.90945 19.4318 7.04239 19.46 7.17677 19.46H7.7326C7.86698 19.46 7.99992 19.4318 8.12314 19.3773C8.24636 19.3228 8.35721 19.243 8.44879 19.143C8.54036 19.043 8.6107 18.9249 8.65542 18.7961C8.70013 18.6672 8.71827 18.5304 8.70869 18.3941L8.43881 14.552L9.05116 13.3067C9.07365 13.2606 9.08524 13.2098 9.08501 13.1583H9.08564L9.08559 11.8317ZM8.23164 13.49L7.90545 14.1534H7.00413L6.67793 13.49H8.23164ZM7.97133 18.6908C7.94093 18.7243 7.904 18.751 7.86289 18.7692C7.82178 18.7874 7.77739 18.7967 7.73255 18.7966H7.17677C7.13198 18.7966 7.08767 18.7872 7.0466 18.769C7.00553 18.7508 6.96858 18.7242 6.93806 18.6909C6.90754 18.6576 6.88409 18.6182 6.86918 18.5753C6.85427 18.5323 6.84822 18.4867 6.85141 18.4413L7.10621 14.8165H7.80342L8.05822 18.4413C8.06156 18.4867 8.05556 18.5324 8.0406 18.5753C8.02564 18.6183 8.00205 18.6576 7.97133 18.6908Z" fill="#2C7BE5"/>
|
|
10
|
+
</g>
|
|
11
|
+
</g>
|
|
12
|
+
<defs>
|
|
13
|
+
<clipPath id="clip0_11706_62040">
|
|
14
|
+
<rect width="26" height="23" fill="white"/>
|
|
15
|
+
</clipPath>
|
|
16
|
+
</defs>
|
|
17
|
+
</svg>
|
|
@@ -136,7 +136,8 @@ export const BusinessProductsList = (props) => {
|
|
|
136
136
|
'whatsapp_number',
|
|
137
137
|
'snapchat_profile',
|
|
138
138
|
'previously_products',
|
|
139
|
-
'configs'
|
|
139
|
+
'configs',
|
|
140
|
+
'previously_products'
|
|
140
141
|
],
|
|
141
142
|
handleSearchRedirect: () => {
|
|
142
143
|
events.emit('go_to_page', { page: 'search' })
|