ordering-ui-react-native 0.17.33 → 0.17.34-release
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/package.json +8 -7
- package/src/DeliveryApp.tsx +43 -1
- package/src/components/BusinessesListing/index.tsx +1 -1
- package/src/components/OrderCreating/index.tsx +1 -21
- package/src/components/PaymentOptionsWebView/index.tsx +119 -120
- package/src/components/StripeMethodForm/index.tsx +108 -79
- package/src/components/VerifyPhone/styles.tsx +1 -2
- package/src/components/shared/OToast.tsx +4 -4
- package/src/types/index.tsx +5 -0
- package/src/utils/index.tsx +7 -1
- package/themes/business/index.tsx +2 -0
- package/themes/business/src/components/AcceptOrRejectOrder/index.tsx +265 -240
- package/themes/business/src/components/AcceptOrRejectOrder/styles.tsx +6 -4
- package/themes/business/src/components/BusinessController/index.tsx +0 -1
- package/themes/business/src/components/Chat/index.tsx +118 -107
- package/themes/business/src/components/DriverMap/index.tsx +17 -6
- package/themes/business/src/components/GoogleMap/index.tsx +58 -57
- package/themes/business/src/components/LoginForm/Otp/index.tsx +120 -0
- package/themes/business/src/components/LoginForm/Otp/styles.tsx +7 -0
- package/themes/business/src/components/LoginForm/index.tsx +238 -80
- package/themes/business/src/components/LoginForm/styles.tsx +10 -0
- package/themes/business/src/components/MapView/index.tsx +10 -10
- package/themes/business/src/components/NewOrderNotification/index.tsx +43 -50
- package/themes/business/src/components/OrderDetails/Delivery.tsx +4 -3
- package/themes/business/src/components/OrderDetails/OrderContentComponent.tsx +90 -47
- package/themes/business/src/components/OrderDetails/OrderHeaderComponent.tsx +59 -62
- package/themes/business/src/components/OrderDetailsLogistic/index.tsx +195 -0
- package/themes/business/src/components/OrderDetailsLogistic/styles.tsx +5 -0
- package/themes/business/src/components/OrderMessage/index.tsx +18 -17
- package/themes/business/src/components/OrderSummary/index.tsx +113 -121
- package/themes/business/src/components/OrdersOption/index.tsx +32 -75
- package/themes/business/src/components/PreviousOrders/OrderItem.tsx +250 -0
- package/themes/business/src/components/PreviousOrders/OrdersGroupedItem.tsx +115 -0
- package/themes/business/src/components/PreviousOrders/index.tsx +445 -243
- package/themes/business/src/components/PreviousOrders/styles.tsx +31 -3
- package/themes/business/src/components/ProductItemAccordion/index.tsx +27 -3
- package/themes/business/src/components/ReviewCustomer/index.tsx +41 -24
- package/themes/business/src/components/StoresList/index.tsx +2 -2
- package/themes/business/src/components/shared/OLink.tsx +33 -13
- package/themes/business/src/components/shared/OModal.tsx +16 -9
- package/themes/business/src/components/shared/OText.tsx +8 -2
- package/themes/business/src/types/index.tsx +32 -2
- package/themes/business/src/utils/index.tsx +44 -1
- package/themes/doordash/src/components/BusinessesListing/index.tsx +1 -1
- package/themes/doordash/src/components/LoginForm/index.tsx +1 -2
- package/themes/instacart/src/components/BusinessesListing/index.tsx +1 -1
- package/themes/kiosk/src/components/BusinessesListing/index.tsx +2 -1
- package/themes/kiosk/src/components/Checkout/index.tsx +6 -0
- package/themes/kiosk/src/components/LoginForm/Otp/index.tsx +92 -0
- package/themes/kiosk/src/components/LoginForm/Otp/styles.tsx +7 -0
- package/themes/kiosk/src/components/LoginForm/index.tsx +473 -151
- package/themes/kiosk/src/components/LoginForm/styles.tsx +14 -1
- package/themes/kiosk/src/components/NavBar/index.tsx +14 -14
- package/themes/kiosk/src/components/OptionCard/index.tsx +1 -1
- package/themes/kiosk/src/components/OrderTypeCardSelector/index.tsx +8 -10
- package/themes/kiosk/src/components/PhoneInputNumber/index.tsx +3 -2
- package/themes/kiosk/src/components/PhoneInputNumber/styles.tsx +1 -3
- package/themes/kiosk/src/components/ProductForm/index.tsx +1 -14
- package/themes/kiosk/src/components/shared/OButton.tsx +5 -18
- package/themes/kiosk/src/components/shared/OModal.tsx +14 -11
- package/themes/kiosk/src/layouts/Container.tsx +7 -1
- package/themes/kiosk/src/types/index.d.ts +13 -0
- package/themes/kiosk/src/utils/index.tsx +15 -0
- package/themes/original/index.tsx +6 -0
- package/themes/original/src/components/AddressDetails/index.tsx +29 -11
- package/themes/original/src/components/AddressForm/index.tsx +85 -49
- package/themes/original/src/components/AddressList/index.tsx +26 -21
- package/themes/original/src/components/AddressList/styles.tsx +4 -2
- package/themes/original/src/components/AnalyticsSegment/index.tsx +193 -10
- package/themes/original/src/components/AppleLogin/index.tsx +4 -4
- package/themes/original/src/components/BusinessBasicInformation/index.tsx +159 -90
- package/themes/original/src/components/BusinessBasicInformation/styles.tsx +9 -7
- package/themes/original/src/components/BusinessController/index.tsx +154 -68
- package/themes/original/src/components/BusinessController/styles.tsx +22 -9
- package/themes/original/src/components/BusinessFeaturedController/index.tsx +21 -54
- package/themes/original/src/components/BusinessFeaturedController/styles.tsx +8 -0
- package/themes/original/src/components/BusinessInformation/index.tsx +10 -31
- package/themes/original/src/components/BusinessItemAccordion/index.tsx +23 -22
- package/themes/original/src/components/BusinessListingSearch/index.tsx +350 -323
- package/themes/original/src/components/BusinessPreorder/index.tsx +97 -16
- package/themes/original/src/components/BusinessProductsList/index.tsx +20 -11
- package/themes/original/src/components/BusinessProductsList/styles.tsx +8 -3
- package/themes/original/src/components/BusinessProductsListing/UpsellingRedirect.tsx +1 -1
- package/themes/original/src/components/BusinessProductsListing/index.tsx +684 -524
- package/themes/original/src/components/BusinessProductsListing/styles.tsx +4 -6
- package/themes/original/src/components/BusinessReviews/index.tsx +3 -1
- package/themes/original/src/components/BusinessesListing/Layout/Appointment/index.tsx +1 -1
- package/themes/original/src/components/BusinessesListing/Layout/Original/index.tsx +105 -78
- package/themes/original/src/components/BusinessesListing/Layout/Original/styles.tsx +1 -9
- package/themes/original/src/components/BusinessesListing/index.tsx +0 -1
- package/themes/original/src/components/Cart/index.tsx +102 -69
- package/themes/original/src/components/CartContent/index.tsx +115 -19
- package/themes/original/src/components/CartContent/styles.tsx +15 -1
- package/themes/original/src/components/Checkout/index.tsx +331 -177
- package/themes/original/src/components/Checkout/styles.tsx +4 -2
- package/themes/original/src/components/CitiesControl/index.tsx +89 -0
- package/themes/original/src/components/CitiesControl/styles.tsx +17 -0
- package/themes/original/src/components/CouponControl/index.tsx +10 -3
- package/themes/original/src/components/DriverTips/index.tsx +52 -34
- package/themes/original/src/components/Favorite/index.tsx +7 -4
- package/themes/original/src/components/Favorite/styles.tsx +1 -1
- package/themes/original/src/components/FavoriteList/index.tsx +51 -80
- package/themes/original/src/components/FloatingButton/index.tsx +1 -2
- package/themes/original/src/components/FloatingButton/styles.tsx +1 -1
- package/themes/original/src/components/GPSButton/index.tsx +6 -4
- package/themes/original/src/components/GPSButton/styles.ts +3 -3
- package/themes/original/src/components/GiftCard/GiftCardUI/index.tsx +96 -0
- package/themes/original/src/components/GiftCard/GiftCardUI/styles.tsx +5 -0
- package/themes/original/src/components/GiftCard/PurchaseGiftCard/index.tsx +100 -0
- package/themes/original/src/components/GiftCard/PurchaseGiftCard/styles.tsx +8 -0
- package/themes/original/src/components/GiftCard/RedeemGiftCard/index.tsx +191 -0
- package/themes/original/src/components/GiftCard/RedeemGiftCard/styles.tsx +8 -0
- package/themes/original/src/components/GiftCard/SendGiftCard/index.tsx +165 -0
- package/themes/original/src/components/GiftCard/SendGiftCard/styles.tsx +9 -0
- package/themes/original/src/components/GoogleMap/index.tsx +15 -4
- package/themes/original/src/components/Help/index.tsx +8 -8
- package/themes/original/src/components/HelpAccountAndPayment/index.tsx +11 -22
- package/themes/original/src/components/HelpAccountAndPayment/styles.tsx +6 -0
- package/themes/original/src/components/HelpGuide/index.tsx +12 -16
- package/themes/original/src/components/HelpGuide/styles.tsx +6 -0
- package/themes/original/src/components/HelpOrder/index.tsx +12 -25
- package/themes/original/src/components/HelpOrder/styles.tsx +8 -1
- package/themes/original/src/components/Home/index.tsx +13 -4
- package/themes/original/src/components/LastOrder/index.tsx +1 -34
- package/themes/original/src/components/LoginForm/Otp/index.tsx +139 -75
- package/themes/original/src/components/LoginForm/Otp/styles.tsx +0 -1
- package/themes/original/src/components/LoginForm/index.tsx +71 -28
- package/themes/original/src/components/LottieAnimation/index.tsx +78 -0
- package/themes/original/src/components/MessageListing/index.tsx +16 -42
- package/themes/original/src/components/Messages/index.tsx +32 -10
- package/themes/original/src/components/MomentOption/index.tsx +195 -88
- package/themes/original/src/components/MultiCart/index.tsx +50 -0
- package/themes/original/src/components/MultiCartsPaymethodsAndWallets/index.tsx +197 -116
- package/themes/original/src/components/MultiCheckout/index.tsx +298 -88
- package/themes/original/src/components/MultiCheckout/styles.tsx +3 -1
- package/themes/original/src/components/MultiOrdersDetails/SingleOrderCard.tsx +37 -224
- package/themes/original/src/components/MultiOrdersDetails/index.tsx +68 -21
- package/themes/original/src/components/MultiOrdersDetails/styles.tsx +1 -1
- package/themes/original/src/components/MyOrders/index.tsx +55 -51
- package/themes/original/src/components/NavBar/index.tsx +18 -18
- package/themes/original/src/components/Notifications/index.tsx +46 -50
- package/themes/original/src/components/Notifications/styles.tsx +6 -3
- package/themes/original/src/components/OrderDetails/OrderEta.tsx +76 -0
- package/themes/original/src/components/OrderDetails/OrderHistory.tsx +15 -3
- package/themes/original/src/components/OrderDetails/index.tsx +199 -359
- package/themes/original/src/components/OrderDetails/styles.tsx +0 -1
- package/themes/original/src/components/OrderItAgain/index.tsx +3 -1
- package/themes/original/src/components/OrderProgress/index.tsx +93 -114
- package/themes/original/src/components/OrderProgress/styles.tsx +5 -0
- package/themes/original/src/components/OrderSummary/index.tsx +87 -59
- package/themes/original/src/components/OrderTypeSelector/index.tsx +1 -1
- package/themes/original/src/components/OrdersOption/PreviousBusinessOrdered/index.tsx +24 -19
- package/themes/original/src/components/OrdersOption/index.tsx +63 -56
- package/themes/original/src/components/PageBanner/index.tsx +171 -0
- package/themes/original/src/components/PageBanner/styles.tsx +11 -0
- package/themes/original/src/components/PaymentOptionStripe/styles.tsx +1 -1
- package/themes/original/src/components/PaymentOptionWallet/index.tsx +56 -56
- package/themes/original/src/components/PaymentOptions/index.tsx +34 -6
- package/themes/original/src/components/PhoneInputNumber/index.tsx +3 -3
- package/themes/original/src/components/PlaceSpot/index.tsx +12 -6
- package/themes/original/src/components/ProductForm/index.tsx +223 -232
- package/themes/original/src/components/ProductForm/styles.tsx +5 -8
- package/themes/original/src/components/ProductItemAccordion/index.tsx +59 -29
- package/themes/original/src/components/ProductOptionSubOption/index.tsx +19 -11
- package/themes/original/src/components/ProductOptionSubOption/styles.tsx +1 -2
- package/themes/original/src/components/ProfessionalFilter/SingleProfessionalCard/index.tsx +108 -0
- package/themes/original/src/components/ProfessionalFilter/index.tsx +20 -50
- package/themes/original/src/components/ProfessionalProfile/index.tsx +36 -7
- package/themes/original/src/components/Promotions/index.tsx +234 -220
- package/themes/original/src/components/Promotions/styles.tsx +10 -3
- package/themes/original/src/components/ReviewDriver/index.tsx +3 -3
- package/themes/original/src/components/ReviewOrder/index.tsx +26 -9
- package/themes/original/src/components/ReviewOrder/styles.tsx +7 -0
- package/themes/original/src/components/ReviewProducts/index.tsx +23 -11
- package/themes/original/src/components/ReviewTrigger/index.tsx +27 -9
- package/themes/original/src/components/ReviewTrigger/styles.tsx +8 -1
- package/themes/original/src/components/ScheduleAccordion/index.tsx +68 -0
- package/themes/original/src/components/ScheduleAccordion/styles.tsx +14 -0
- package/themes/original/src/components/ServiceForm/index.tsx +74 -19
- package/themes/original/src/components/Sessions/index.tsx +11 -8
- package/themes/original/src/components/Sessions/styles.tsx +5 -0
- package/themes/original/src/components/SignupForm/index.tsx +42 -19
- package/themes/original/src/components/SingleOrderCard/index.tsx +156 -65
- package/themes/original/src/components/SingleOrderCard/styles.tsx +11 -9
- package/themes/original/src/components/SingleProductCard/index.tsx +100 -56
- package/themes/original/src/components/SingleProductCard/styles.tsx +22 -13
- package/themes/original/src/components/SingleProductReview/styles.tsx +1 -1
- package/themes/original/src/components/StripeCardsList/index.tsx +13 -3
- package/themes/original/src/components/StripeElementsForm/index.tsx +28 -15
- package/themes/original/src/components/UpsellingProducts/index.tsx +238 -224
- package/themes/original/src/components/UpsellingProducts/styles.tsx +12 -1
- package/themes/original/src/components/UserDetails/index.tsx +8 -4
- package/themes/original/src/components/UserFormDetails/index.tsx +47 -7
- package/themes/original/src/components/UserProfile/index.tsx +9 -14
- package/themes/original/src/components/UserProfileForm/index.tsx +25 -28
- package/themes/original/src/components/UserProfileForm/styles.tsx +7 -0
- package/themes/original/src/components/WalletTransactionItem/index.tsx +2 -2
- package/themes/original/src/components/WalletTransactions/index.tsx +3 -3
- package/themes/original/src/components/Wallets/index.tsx +79 -36
- package/themes/original/src/components/Wallets/styles.tsx +5 -4
- package/themes/original/src/components/shared/CardAnimation.tsx +47 -0
- package/themes/original/src/components/shared/HeaderTitle.tsx +8 -3
- package/themes/original/src/components/shared/OBottomPopup.tsx +1 -1
- package/themes/original/src/components/shared/OButton.tsx +6 -2
- package/themes/original/src/components/shared/OIcon.tsx +8 -1
- package/themes/original/src/components/shared/OInput.tsx +16 -2
- package/themes/original/src/components/shared/OModal.tsx +3 -3
- package/themes/original/src/layouts/Container.tsx +13 -9
- package/themes/original/src/types/index.tsx +37 -9
- package/themes/original/src/utils/index.tsx +364 -58
- package/themes/uber-eats/src/components/BusinessesListing/index.tsx +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
2
|
+
import { useSafeAreaInsets } from 'react-native-safe-area-context'
|
|
3
|
+
import styled, { css, useTheme } from 'styled-components/native';
|
|
4
|
+
import { Platform, View } from 'react-native';
|
|
4
5
|
|
|
5
6
|
const ContainerStyled = styled.ScrollView`
|
|
6
7
|
flex: 1;
|
|
@@ -10,17 +11,20 @@ const ContainerStyled = styled.ScrollView`
|
|
|
10
11
|
background-color: ${(props: any) => props.theme.colors.backgroundPage};
|
|
11
12
|
`;
|
|
12
13
|
|
|
13
|
-
const SafeAreaStyled = styled.SafeAreaView`
|
|
14
|
-
flex: 1;
|
|
15
|
-
background-color: ${(props: any) => props.theme.colors.backgroundPage};
|
|
16
|
-
`;
|
|
17
|
-
|
|
18
14
|
export const Container = (props: any) => {
|
|
15
|
+
const theme = useTheme()
|
|
16
|
+
const insets = useSafeAreaInsets()
|
|
19
17
|
return (
|
|
20
|
-
<
|
|
18
|
+
<View
|
|
19
|
+
style={{
|
|
20
|
+
flex: 1,
|
|
21
|
+
paddingTop: props.pt ?? insets.top,
|
|
22
|
+
backgroundColor: theme.colors.backgroundPage
|
|
23
|
+
}}
|
|
24
|
+
>
|
|
21
25
|
<ContainerStyled {...props} ref={props?.forwardRef} keyboardShouldPersistTaps='handled' style={{...props.style}}>
|
|
22
26
|
{props.children}
|
|
23
27
|
</ContainerStyled>
|
|
24
|
-
</
|
|
28
|
+
</View>
|
|
25
29
|
)
|
|
26
30
|
}
|
|
@@ -19,6 +19,7 @@ export interface LoginParams {
|
|
|
19
19
|
notificationState?: any;
|
|
20
20
|
handleReCaptcha?: any;
|
|
21
21
|
enableReCaptcha?: any;
|
|
22
|
+
isGuest?: any;
|
|
22
23
|
otpType?: string,
|
|
23
24
|
setOtpType: (type: string) => void,
|
|
24
25
|
generateOtpCode: (values?: any) => void,
|
|
@@ -91,7 +92,8 @@ export interface AddressFormParams {
|
|
|
91
92
|
hasAddressDefault?: any,
|
|
92
93
|
isFromCheckout?: boolean
|
|
93
94
|
afterSignup?: boolean
|
|
94
|
-
isGuestFromStore?: boolean
|
|
95
|
+
isGuestFromStore?: boolean,
|
|
96
|
+
businessSlug?: number | string
|
|
95
97
|
}
|
|
96
98
|
export interface SignupParams {
|
|
97
99
|
navigation?: any;
|
|
@@ -118,6 +120,7 @@ export interface SignupParams {
|
|
|
118
120
|
useSignUpOtpEmail?: boolean;
|
|
119
121
|
useSignUpOtpCellphone?: boolean;
|
|
120
122
|
willVerifyOtpState?: boolean;
|
|
123
|
+
isGuest?: any;
|
|
121
124
|
numOtpInputs?: number;
|
|
122
125
|
handleChangePromotions: () => void;
|
|
123
126
|
handleChangeInput?: (in1: any, in2: any) => void;
|
|
@@ -173,6 +176,9 @@ export interface BusinessesListingParams {
|
|
|
173
176
|
handleChangePriceLevel?: any;
|
|
174
177
|
businessTypeSelected?: any;
|
|
175
178
|
logosLayout?: boolean;
|
|
179
|
+
isCustomLayout?: boolean;
|
|
180
|
+
citiesState?: any;
|
|
181
|
+
actualSlug?: any;
|
|
176
182
|
}
|
|
177
183
|
export interface HighestRatedBusinessesParams {
|
|
178
184
|
businessesList: { businesses: Array<any>, loading: boolean, error: null | string };
|
|
@@ -218,6 +224,8 @@ export interface BusinessControllerParams {
|
|
|
218
224
|
setFavoriteIds?: any;
|
|
219
225
|
handleUpdateBusinessList?: any;
|
|
220
226
|
enableIntersection?: boolean;
|
|
227
|
+
isCustomLayout?: boolean;
|
|
228
|
+
getBusinessOffer?: any;
|
|
221
229
|
handleCustomUpdate?: (businessId: number, changes: any) => {};
|
|
222
230
|
}
|
|
223
231
|
export interface BusinessProductsListingParams {
|
|
@@ -244,6 +252,10 @@ export interface BusinessProductsListingParams {
|
|
|
244
252
|
handleUpdateProducts?: any;
|
|
245
253
|
professionalSelected?: any;
|
|
246
254
|
handleChangeProfessionalSelected?: any;
|
|
255
|
+
handleUpdateProfessionals?: any;
|
|
256
|
+
onBusinessClick?: any;
|
|
257
|
+
onNavigationRedirect?: any;
|
|
258
|
+
businessSingleId?: number | string
|
|
247
259
|
}
|
|
248
260
|
export interface BusinessBasicInformationParams {
|
|
249
261
|
navigation?: any;
|
|
@@ -295,6 +307,7 @@ export interface BusinessProductsListParams {
|
|
|
295
307
|
handleUpdateProducts?: any,
|
|
296
308
|
navigation?: any;
|
|
297
309
|
previouslyProducts?: any;
|
|
310
|
+
businessSingleId?: number | string
|
|
298
311
|
}
|
|
299
312
|
export interface SingleProductCardParams {
|
|
300
313
|
businessId: any;
|
|
@@ -310,6 +323,8 @@ export interface SingleProductCardParams {
|
|
|
310
323
|
navigation?: any;
|
|
311
324
|
isPreviously?: any;
|
|
312
325
|
isProductId?: any;
|
|
326
|
+
viewString?: string;
|
|
327
|
+
businessSingleId?: number
|
|
313
328
|
}
|
|
314
329
|
export interface BusinessInformationParams {
|
|
315
330
|
navigation?: any,
|
|
@@ -429,7 +444,8 @@ export interface ProductItemAccordionParams {
|
|
|
429
444
|
onDeleteProduct?: (product: any) => void,
|
|
430
445
|
onEditProduct?: (product: any) => void,
|
|
431
446
|
offsetDisabled?: any,
|
|
432
|
-
isFromCheckout?: any
|
|
447
|
+
isFromCheckout?: any,
|
|
448
|
+
isDisabledEdit?: any
|
|
433
449
|
}
|
|
434
450
|
export interface ReviewOrderParams {
|
|
435
451
|
order?: { id: number, business_id: number, logo: string, driver: any, products: Array<any>, review: any, user_review: any };
|
|
@@ -528,6 +544,7 @@ export interface FloatingButtonParams {
|
|
|
528
544
|
}
|
|
529
545
|
export interface MomentOptionParams {
|
|
530
546
|
navigation: any;
|
|
547
|
+
isCart?: any;
|
|
531
548
|
nopadding?: boolean;
|
|
532
549
|
datesList: Array<any>;
|
|
533
550
|
hoursList: Array<any>;
|
|
@@ -574,7 +591,7 @@ export interface UpsellingProductsParams {
|
|
|
574
591
|
business?: any;
|
|
575
592
|
businessId?: number;
|
|
576
593
|
cartProducts?: Array<any>;
|
|
577
|
-
handleUpsellingPage: () => void;
|
|
594
|
+
handleUpsellingPage: (cart ?: any) => void;
|
|
578
595
|
openUpselling: boolean;
|
|
579
596
|
canOpenUpselling?: boolean;
|
|
580
597
|
setCanOpenUpselling?: (value: any) => void;
|
|
@@ -585,6 +602,8 @@ export interface UpsellingProductsParams {
|
|
|
585
602
|
products?: any;
|
|
586
603
|
onNavigationRedirect?: any;
|
|
587
604
|
onGoBack?: any;
|
|
605
|
+
singleBusiness?: any;
|
|
606
|
+
isFranchiseApp?: any;
|
|
588
607
|
}
|
|
589
608
|
|
|
590
609
|
export interface GoogleMapsParams {
|
|
@@ -598,7 +617,8 @@ export interface GoogleMapsParams {
|
|
|
598
617
|
isSetInputs?: boolean,
|
|
599
618
|
locations?: Array<any>,
|
|
600
619
|
setSaveLocation?: (val: boolean) => void,
|
|
601
|
-
handleToggleMap?: () => void
|
|
620
|
+
handleToggleMap?: () => void,
|
|
621
|
+
isIntGeoCoder: boolean
|
|
602
622
|
}
|
|
603
623
|
|
|
604
624
|
export interface HelpParams {
|
|
@@ -645,6 +665,7 @@ export interface BusinessSearchParams {
|
|
|
645
665
|
onNavigationRedirect?: any,
|
|
646
666
|
handleUpdateProducts: any,
|
|
647
667
|
handleUpdateBusinessList?: any;
|
|
668
|
+
brandId?: number
|
|
648
669
|
}
|
|
649
670
|
|
|
650
671
|
export interface NoNetworkParams {
|
|
@@ -666,6 +687,7 @@ export interface PlaceSpotParams {
|
|
|
666
687
|
vehicle?: any,
|
|
667
688
|
setVehicle?: any,
|
|
668
689
|
handleChangeSpot?: any
|
|
690
|
+
setPlaceSpotNumber?: any
|
|
669
691
|
}
|
|
670
692
|
|
|
671
693
|
export interface PromotionParams {
|
|
@@ -692,6 +714,8 @@ export interface otpParams {
|
|
|
692
714
|
handleLoginOtp: (code: string) => void,
|
|
693
715
|
setAlertState: any;
|
|
694
716
|
pinCount: number;
|
|
717
|
+
otpError: any,
|
|
718
|
+
setOtpError: any
|
|
695
719
|
}
|
|
696
720
|
|
|
697
721
|
export interface FavoriteParams {
|
|
@@ -718,7 +742,7 @@ export interface SingleOrderCardParams {
|
|
|
718
742
|
pastOrders: any,
|
|
719
743
|
isMessageView?: any,
|
|
720
744
|
handleClickOrder: (value: any) => {},
|
|
721
|
-
handleRemoveCart: () => {},
|
|
745
|
+
handleRemoveCart: (value: any) => {},
|
|
722
746
|
cartState: any
|
|
723
747
|
}
|
|
724
748
|
|
|
@@ -731,7 +755,7 @@ export interface PreviousBusinessOrderedParams {
|
|
|
731
755
|
isBusinessesSearchList?: any,
|
|
732
756
|
businessLoading?: boolean,
|
|
733
757
|
businesses?: any
|
|
734
|
-
|
|
758
|
+
handleUpdateBusinesses?: (businessId: number, changes: any) => {},
|
|
735
759
|
}
|
|
736
760
|
|
|
737
761
|
export interface ServiceFormParams {
|
|
@@ -747,13 +771,16 @@ export interface ServiceFormParams {
|
|
|
747
771
|
professionalList: any,
|
|
748
772
|
productObject?: any,
|
|
749
773
|
professionalListState?: any,
|
|
750
|
-
isCartProduct?: any
|
|
774
|
+
isCartProduct?: any,
|
|
775
|
+
actionStatus?: any,
|
|
776
|
+
handleCreateGuestUser?: any
|
|
751
777
|
}
|
|
752
778
|
|
|
753
779
|
export interface ProfessionalFilterParams {
|
|
754
780
|
professionals?: any,
|
|
755
781
|
professionalSelected?: any,
|
|
756
|
-
handleChangeProfessionalSelected: any
|
|
782
|
+
handleChangeProfessionalSelected: any,
|
|
783
|
+
handleUpdateProfessionals?: any
|
|
757
784
|
}
|
|
758
785
|
|
|
759
786
|
export interface ProfessionalProfileParams {
|
|
@@ -770,7 +797,8 @@ export interface OrderItAgainParams {
|
|
|
770
797
|
currentCart: any,
|
|
771
798
|
handleUpdateProducts: any,
|
|
772
799
|
navigation: any,
|
|
773
|
-
searchValue?: string
|
|
800
|
+
searchValue?: string,
|
|
801
|
+
businessSingleId?: number | string
|
|
774
802
|
}
|
|
775
803
|
|
|
776
804
|
export interface PreviousProductsOrderedParams {
|