ordering-ui-react-native 0.21.12 → 0.21.14
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
CHANGED
|
@@ -118,7 +118,7 @@ export const Otp = (props: otpParams) => {
|
|
|
118
118
|
</OText>
|
|
119
119
|
<OtpInputs
|
|
120
120
|
ref={inputRef}
|
|
121
|
-
autofillFromClipboard
|
|
121
|
+
autofillFromClipboard={false}
|
|
122
122
|
numberOfInputs={pinCount || 6}
|
|
123
123
|
style={loginStyle.container}
|
|
124
124
|
inputStyles={loginStyle.underlineStyleBase}
|
|
@@ -107,8 +107,12 @@ export const OrderHistory = (props: any) => {
|
|
|
107
107
|
ellipsizeMode='tail'
|
|
108
108
|
>
|
|
109
109
|
{t('ORDER_PLACED', 'Order placed')} {' '}
|
|
110
|
-
{
|
|
111
|
-
|
|
110
|
+
{!props.hideViaText && (
|
|
111
|
+
<>
|
|
112
|
+
{t('VIA', 'Via')}{' '}
|
|
113
|
+
{order.app_id ? t(order.app_id.toUpperCase(), order.app_id) : t('OTHER', 'Other')}
|
|
114
|
+
</>
|
|
115
|
+
)}
|
|
112
116
|
</OText>
|
|
113
117
|
<OText size={12}>{parseDate(order?.created_at, { outputFormat: 'MMM DD, hh:mm A' })}</OText>
|
|
114
118
|
</View>
|
|
@@ -437,6 +437,7 @@ export interface OrderDetailsParams {
|
|
|
437
437
|
onNavigationRedirect?: any,
|
|
438
438
|
reorderState?: any,
|
|
439
439
|
handleReorder?: any,
|
|
440
|
+
hideViaText?: boolean,
|
|
440
441
|
}
|
|
441
442
|
export interface ProductItemAccordionParams {
|
|
442
443
|
key?: any;
|
|
@@ -581,7 +582,7 @@ export interface BusinessPreorderParams {
|
|
|
581
582
|
handleBusinessClick: (value: any) => {};
|
|
582
583
|
getActualSchedule?: any;
|
|
583
584
|
cateringPreorder?: boolean;
|
|
584
|
-
preorderLeadTime?: number
|
|
585
|
+
preorderLeadTime?: number
|
|
585
586
|
}
|
|
586
587
|
export interface BusinessMenuListParams {
|
|
587
588
|
menu: any;
|