delivapp-ordering 0.0.178 → 0.0.185
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/README.md +26 -26
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/types/components/BagesPaymentsOrderSummary/BagesPaymentsOrderSummary.d.ts +10 -10
- package/dist/cjs/types/components/BagesPaymentsOrderSummary/index.d.ts +1 -1
- package/dist/cjs/types/components/Checkbox/Checkbox.d.ts +8 -8
- package/dist/cjs/types/components/Checkbox/index.d.ts +1 -1
- package/dist/cjs/types/components/CheckoutFormItem/CheckoutFormItem.d.ts +10 -10
- package/dist/cjs/types/components/CheckoutFormItem/index.d.ts +1 -1
- package/dist/cjs/types/components/CounterButton/CounterButton.d.ts +12 -12
- package/dist/cjs/types/components/CounterButton/index.d.ts +1 -1
- package/dist/cjs/types/components/CutleryButton/CutleryButton.d.ts +8 -8
- package/dist/cjs/types/components/CutleryButton/index.d.ts +1 -1
- package/dist/cjs/types/components/DeliveryControl/DeliveryControl.d.ts +15 -15
- package/dist/cjs/types/components/DeliveryControl/index.d.ts +1 -1
- package/dist/cjs/types/components/Dropdown/Dropdown.d.ts +12 -12
- package/dist/cjs/types/components/GiftControl/GiftControl.d.ts +12 -12
- package/dist/cjs/types/components/GiftControl/index.d.ts +1 -1
- package/dist/cjs/types/components/HeaderCartButton/HeaderCartButton.d.ts +9 -9
- package/dist/cjs/types/components/HeaderCartButton/index.d.ts +1 -1
- package/dist/cjs/types/components/Icons/IconsPreview.d.ts +3 -3
- package/dist/cjs/types/components/Icons/index.d.ts +173 -173
- package/dist/cjs/types/components/IngredientsSelector/IngredientsSelector.d.ts +12 -12
- package/dist/cjs/types/components/IngredientsSelector/index.d.ts +1 -1
- package/dist/cjs/types/components/Input/Input.d.ts +9 -9
- package/dist/cjs/types/components/Input/index.d.ts +1 -1
- package/dist/cjs/types/components/Loader/Loader.d.ts +3 -3
- package/dist/cjs/types/components/Loader/index.d.ts +1 -1
- package/dist/cjs/types/components/Media/Image.d.ts +13 -13
- package/dist/cjs/types/components/Media/Media.d.ts +21 -21
- package/dist/cjs/types/components/Media/Video.d.ts +16 -16
- package/dist/cjs/types/components/Media/index.d.ts +1 -1
- package/dist/cjs/types/components/OrderSummary/OrderSummary.d.ts +59 -59
- package/dist/cjs/types/components/OrderSummary/index.d.ts +1 -1
- package/dist/cjs/types/components/OrderSummaryWithProducts/OrderSummaryWithProducts.d.ts +36 -36
- package/dist/cjs/types/components/OrderSummaryWithProducts/index.d.ts +1 -1
- package/dist/cjs/types/components/ProductCommentsSection/ProductCommentsSection.d.ts +9 -9
- package/dist/cjs/types/components/ProductCommentsSection/index.d.ts +1 -1
- package/dist/cjs/types/components/ProductConstructor/ProductConstructor.d.ts +48 -48
- package/dist/cjs/types/components/ProductConstructor/index.d.ts +1 -1
- package/dist/cjs/types/components/ProductConstructorFooter/ProductConstructorFooter.d.ts +16 -16
- package/dist/cjs/types/components/ProductConstructorFooter/index.d.ts +1 -1
- package/dist/cjs/types/components/ProductPreview/ProductPreview.d.ts +20 -20
- package/dist/cjs/types/components/ProductPreview/index.d.ts +1 -1
- package/dist/cjs/types/components/ProductPreviewList/ProductPreviewList.d.ts +12 -12
- package/dist/cjs/types/components/ProductPreviewList/index.d.ts +1 -1
- package/dist/cjs/types/components/ProductSummary/ProductSummary.d.ts +13 -13
- package/dist/cjs/types/components/ProductSummary/index.d.ts +1 -1
- package/dist/cjs/types/components/ProductTags/ProductTags.d.ts +10 -10
- package/dist/cjs/types/components/ProductTags/index.d.ts +1 -1
- package/dist/cjs/types/components/QuantityDescription/QuantityDescription.d.ts +7 -7
- package/dist/cjs/types/components/QuantityDescription/index.d.ts +1 -1
- package/dist/cjs/types/components/RestaurantBenefits/RestaurantBenefits.d.ts +17 -17
- package/dist/cjs/types/components/RestaurantBenefits/index.d.ts +1 -1
- package/dist/cjs/types/components/RestaurantHeader/RestaurantHeader.d.ts +16 -16
- package/dist/cjs/types/components/RestaurantHeader/index.d.ts +1 -1
- package/dist/cjs/types/components/RestaurantTags/RestaurantTags.d.ts +8 -8
- package/dist/cjs/types/components/RestaurantTags/index.d.ts +1 -1
- package/dist/cjs/types/components/Stepper/Stepper.d.ts +14 -14
- package/dist/cjs/types/components/Stepper/index.d.ts +1 -1
- package/dist/cjs/types/components/SuboptionPrice/SuboptionPrice.d.ts +9 -9
- package/dist/cjs/types/components/SuboptionPrice/index.d.ts +1 -1
- package/dist/cjs/types/components/SuboptionSelector/IOption.d.ts +25 -25
- package/dist/cjs/types/components/SuboptionSelector/ISuboption.d.ts +17 -17
- package/dist/cjs/types/components/SuboptionSelector/SuboptionCheckboxSelector/SuboptionCheckboxSelector.d.ts +14 -14
- package/dist/cjs/types/components/SuboptionSelector/SuboptionCheckboxSelector/index.d.ts +1 -1
- package/dist/cjs/types/components/SuboptionSelector/SuboptionMultiSelector/SuboptionMultiSelector.d.ts +14 -14
- package/dist/cjs/types/components/SuboptionSelector/SuboptionMultiSelector/index.d.ts +1 -1
- package/dist/cjs/types/components/SuboptionSelector/SuboptionPizzaSelector/SuboptionPizzaSelector.d.ts +12 -12
- package/dist/cjs/types/components/SuboptionSelector/SuboptionPizzaSelector/index.d.ts +1 -1
- package/dist/cjs/types/components/SuboptionSelector/SuboptionRadioSelector/SuboptionRadioSelector.d.ts +13 -13
- package/dist/cjs/types/components/SuboptionSelector/SuboptionRadioSelector/index.d.ts +1 -1
- package/dist/cjs/types/components/SuboptionSelector/index.d.ts +4 -4
- package/dist/cjs/types/components/SuboptionSummary/SuboptionSummary.d.ts +4 -4
- package/dist/cjs/types/components/SuboptionSummary/index.d.ts +1 -1
- package/dist/cjs/types/components/TabsControl/TabsControl.d.ts +14 -14
- package/dist/cjs/types/components/TabsControl/index.d.ts +1 -1
- package/dist/cjs/types/components/Tag/Tag.d.ts +8 -8
- package/dist/cjs/types/components/Tag/index.d.ts +1 -1
- package/dist/cjs/types/components/Warning/Warning.d.ts +6 -6
- package/dist/cjs/types/components/Warning/index.d.ts +1 -1
- package/dist/cjs/types/components/index.d.ts +24 -24
- package/dist/cjs/types/enums/enums.d.ts +58 -58
- package/dist/cjs/types/helpers/context.d.ts +11 -11
- package/dist/cjs/types/helpers/defaultTranslation.d.ts +97 -97
- package/dist/cjs/types/helpers/index.d.ts +2 -2
- package/dist/cjs/types/helpers/mediaUrl.d.ts +28 -28
- package/dist/cjs/types/helpers/productConstructor.d.ts +86 -86
- package/dist/cjs/types/helpers/utils.d.ts +3 -3
- package/dist/cjs/types/index.d.ts +5 -5
- package/dist/esm/index.js +1 -1
- package/dist/esm/types/components/BagesPaymentsOrderSummary/BagesPaymentsOrderSummary.d.ts +10 -10
- package/dist/esm/types/components/BagesPaymentsOrderSummary/index.d.ts +1 -1
- package/dist/esm/types/components/Checkbox/Checkbox.d.ts +8 -8
- package/dist/esm/types/components/Checkbox/index.d.ts +1 -1
- package/dist/esm/types/components/CheckoutFormItem/CheckoutFormItem.d.ts +10 -10
- package/dist/esm/types/components/CheckoutFormItem/index.d.ts +1 -1
- package/dist/esm/types/components/CounterButton/CounterButton.d.ts +12 -12
- package/dist/esm/types/components/CounterButton/index.d.ts +1 -1
- package/dist/esm/types/components/CutleryButton/CutleryButton.d.ts +8 -8
- package/dist/esm/types/components/CutleryButton/index.d.ts +1 -1
- package/dist/esm/types/components/DeliveryControl/DeliveryControl.d.ts +15 -15
- package/dist/esm/types/components/DeliveryControl/index.d.ts +1 -1
- package/dist/esm/types/components/Dropdown/Dropdown.d.ts +12 -12
- package/dist/esm/types/components/GiftControl/GiftControl.d.ts +12 -12
- package/dist/esm/types/components/GiftControl/index.d.ts +1 -1
- package/dist/esm/types/components/HeaderCartButton/HeaderCartButton.d.ts +9 -9
- package/dist/esm/types/components/HeaderCartButton/index.d.ts +1 -1
- package/dist/esm/types/components/Icons/IconsPreview.d.ts +3 -3
- package/dist/esm/types/components/Icons/index.d.ts +173 -173
- package/dist/esm/types/components/IngredientsSelector/IngredientsSelector.d.ts +12 -12
- package/dist/esm/types/components/IngredientsSelector/index.d.ts +1 -1
- package/dist/esm/types/components/Input/Input.d.ts +9 -9
- package/dist/esm/types/components/Input/index.d.ts +1 -1
- package/dist/esm/types/components/Loader/Loader.d.ts +3 -3
- package/dist/esm/types/components/Loader/index.d.ts +1 -1
- package/dist/esm/types/components/Media/Image.d.ts +13 -13
- package/dist/esm/types/components/Media/Media.d.ts +21 -21
- package/dist/esm/types/components/Media/Video.d.ts +16 -16
- package/dist/esm/types/components/Media/index.d.ts +1 -1
- package/dist/esm/types/components/OrderSummary/OrderSummary.d.ts +59 -59
- package/dist/esm/types/components/OrderSummary/index.d.ts +1 -1
- package/dist/esm/types/components/OrderSummaryWithProducts/OrderSummaryWithProducts.d.ts +36 -36
- package/dist/esm/types/components/OrderSummaryWithProducts/index.d.ts +1 -1
- package/dist/esm/types/components/ProductCommentsSection/ProductCommentsSection.d.ts +9 -9
- package/dist/esm/types/components/ProductCommentsSection/index.d.ts +1 -1
- package/dist/esm/types/components/ProductConstructor/ProductConstructor.d.ts +48 -48
- package/dist/esm/types/components/ProductConstructor/index.d.ts +1 -1
- package/dist/esm/types/components/ProductConstructorFooter/ProductConstructorFooter.d.ts +16 -16
- package/dist/esm/types/components/ProductConstructorFooter/index.d.ts +1 -1
- package/dist/esm/types/components/ProductPreview/ProductPreview.d.ts +20 -20
- package/dist/esm/types/components/ProductPreview/index.d.ts +1 -1
- package/dist/esm/types/components/ProductPreviewList/ProductPreviewList.d.ts +12 -12
- package/dist/esm/types/components/ProductPreviewList/index.d.ts +1 -1
- package/dist/esm/types/components/ProductSummary/ProductSummary.d.ts +13 -13
- package/dist/esm/types/components/ProductSummary/index.d.ts +1 -1
- package/dist/esm/types/components/ProductTags/ProductTags.d.ts +10 -10
- package/dist/esm/types/components/ProductTags/index.d.ts +1 -1
- package/dist/esm/types/components/QuantityDescription/QuantityDescription.d.ts +7 -7
- package/dist/esm/types/components/QuantityDescription/index.d.ts +1 -1
- package/dist/esm/types/components/RestaurantBenefits/RestaurantBenefits.d.ts +17 -17
- package/dist/esm/types/components/RestaurantBenefits/index.d.ts +1 -1
- package/dist/esm/types/components/RestaurantHeader/RestaurantHeader.d.ts +16 -16
- package/dist/esm/types/components/RestaurantHeader/index.d.ts +1 -1
- package/dist/esm/types/components/RestaurantTags/RestaurantTags.d.ts +8 -8
- package/dist/esm/types/components/RestaurantTags/index.d.ts +1 -1
- package/dist/esm/types/components/Stepper/Stepper.d.ts +14 -14
- package/dist/esm/types/components/Stepper/index.d.ts +1 -1
- package/dist/esm/types/components/SuboptionPrice/SuboptionPrice.d.ts +9 -9
- package/dist/esm/types/components/SuboptionPrice/index.d.ts +1 -1
- package/dist/esm/types/components/SuboptionSelector/IOption.d.ts +25 -25
- package/dist/esm/types/components/SuboptionSelector/ISuboption.d.ts +17 -17
- package/dist/esm/types/components/SuboptionSelector/SuboptionCheckboxSelector/SuboptionCheckboxSelector.d.ts +14 -14
- package/dist/esm/types/components/SuboptionSelector/SuboptionCheckboxSelector/index.d.ts +1 -1
- package/dist/esm/types/components/SuboptionSelector/SuboptionMultiSelector/SuboptionMultiSelector.d.ts +14 -14
- package/dist/esm/types/components/SuboptionSelector/SuboptionMultiSelector/index.d.ts +1 -1
- package/dist/esm/types/components/SuboptionSelector/SuboptionPizzaSelector/SuboptionPizzaSelector.d.ts +12 -12
- package/dist/esm/types/components/SuboptionSelector/SuboptionPizzaSelector/index.d.ts +1 -1
- package/dist/esm/types/components/SuboptionSelector/SuboptionRadioSelector/SuboptionRadioSelector.d.ts +13 -13
- package/dist/esm/types/components/SuboptionSelector/SuboptionRadioSelector/index.d.ts +1 -1
- package/dist/esm/types/components/SuboptionSelector/index.d.ts +4 -4
- package/dist/esm/types/components/SuboptionSummary/SuboptionSummary.d.ts +4 -4
- package/dist/esm/types/components/SuboptionSummary/index.d.ts +1 -1
- package/dist/esm/types/components/TabsControl/TabsControl.d.ts +14 -14
- package/dist/esm/types/components/TabsControl/index.d.ts +1 -1
- package/dist/esm/types/components/Tag/Tag.d.ts +8 -8
- package/dist/esm/types/components/Tag/index.d.ts +1 -1
- package/dist/esm/types/components/Warning/Warning.d.ts +6 -6
- package/dist/esm/types/components/Warning/index.d.ts +1 -1
- package/dist/esm/types/components/index.d.ts +24 -24
- package/dist/esm/types/enums/enums.d.ts +58 -58
- package/dist/esm/types/helpers/context.d.ts +11 -11
- package/dist/esm/types/helpers/defaultTranslation.d.ts +97 -97
- package/dist/esm/types/helpers/index.d.ts +2 -2
- package/dist/esm/types/helpers/mediaUrl.d.ts +28 -28
- package/dist/esm/types/helpers/productConstructor.d.ts +86 -86
- package/dist/esm/types/helpers/utils.d.ts +3 -3
- package/dist/esm/types/index.d.ts +5 -5
- package/dist/index.d.ts +670 -670
- package/package.json +77 -77
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
import { CURRENCY } from '../../enums/enums';
|
|
4
|
-
export interface RestaurantBenefitsProps {
|
|
5
|
-
dontHide?: boolean;
|
|
6
|
-
minimum?: number;
|
|
7
|
-
isPickUp?: boolean;
|
|
8
|
-
withTitle?: boolean;
|
|
9
|
-
estimationRangeMin?: number;
|
|
10
|
-
estimationRangeMax?: number;
|
|
11
|
-
estimationTime?: string;
|
|
12
|
-
distance?: boolean;
|
|
13
|
-
deliveryPrice?: number;
|
|
14
|
-
currency?: CURRENCY;
|
|
15
|
-
deliveryToLocation?: number;
|
|
16
|
-
}
|
|
17
|
-
export declare const RestaurantBenefits: FC<RestaurantBenefitsProps>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
import { CURRENCY } from '../../enums/enums';
|
|
4
|
+
export interface RestaurantBenefitsProps {
|
|
5
|
+
dontHide?: boolean;
|
|
6
|
+
minimum?: number;
|
|
7
|
+
isPickUp?: boolean;
|
|
8
|
+
withTitle?: boolean;
|
|
9
|
+
estimationRangeMin?: number;
|
|
10
|
+
estimationRangeMax?: number;
|
|
11
|
+
estimationTime?: string;
|
|
12
|
+
distance?: boolean;
|
|
13
|
+
deliveryPrice?: number;
|
|
14
|
+
currency?: CURRENCY;
|
|
15
|
+
deliveryToLocation?: number;
|
|
16
|
+
}
|
|
17
|
+
export declare const RestaurantBenefits: FC<RestaurantBenefitsProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { RestaurantBenefits, type RestaurantBenefitsProps } from './RestaurantBenefits';
|
|
1
|
+
export { RestaurantBenefits, type RestaurantBenefitsProps } from './RestaurantBenefits';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ChangeEvent, FC } from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
import { RestaurantTagsProps } from '../RestaurantTags/RestaurantTags';
|
|
4
|
-
import { CURRENCY } from '../../enums/enums';
|
|
5
|
-
import { RestaurantBenefitsProps } from '../RestaurantBenefits';
|
|
6
|
-
export interface RestaurantHeaderProps extends RestaurantTagsProps, RestaurantBenefitsProps {
|
|
7
|
-
name: string;
|
|
8
|
-
isFavorite: boolean;
|
|
9
|
-
cartAmount?: number;
|
|
10
|
-
currency?: CURRENCY;
|
|
11
|
-
alternativeView?: boolean;
|
|
12
|
-
searchValue?: string;
|
|
13
|
-
onSearch?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
14
|
-
onCartClick?: () => void;
|
|
15
|
-
}
|
|
16
|
-
export declare const RestaurantHeader: FC<RestaurantHeaderProps>;
|
|
1
|
+
import { ChangeEvent, FC } from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
import { RestaurantTagsProps } from '../RestaurantTags/RestaurantTags';
|
|
4
|
+
import { CURRENCY } from '../../enums/enums';
|
|
5
|
+
import { RestaurantBenefitsProps } from '../RestaurantBenefits';
|
|
6
|
+
export interface RestaurantHeaderProps extends RestaurantTagsProps, RestaurantBenefitsProps {
|
|
7
|
+
name: string;
|
|
8
|
+
isFavorite: boolean;
|
|
9
|
+
cartAmount?: number;
|
|
10
|
+
currency?: CURRENCY;
|
|
11
|
+
alternativeView?: boolean;
|
|
12
|
+
searchValue?: string;
|
|
13
|
+
onSearch?: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
14
|
+
onCartClick?: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const RestaurantHeader: FC<RestaurantHeaderProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { RestaurantHeader, type RestaurantHeaderProps } from './RestaurantHeader';
|
|
1
|
+
export { RestaurantHeader, type RestaurantHeaderProps } from './RestaurantHeader';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
export interface RestaurantTagsProps {
|
|
4
|
-
score?: number;
|
|
5
|
-
isNew?: boolean;
|
|
6
|
-
kosher?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const RestaurantTags: FC<RestaurantTagsProps>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
export interface RestaurantTagsProps {
|
|
4
|
+
score?: number;
|
|
5
|
+
isNew?: boolean;
|
|
6
|
+
kosher?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const RestaurantTags: FC<RestaurantTagsProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {} from './RestaurantTags';
|
|
1
|
+
export {} from './RestaurantTags';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
interface StepProps {
|
|
4
|
-
name: string;
|
|
5
|
-
component: ReactNode;
|
|
6
|
-
shouldHideHeader?: boolean;
|
|
7
|
-
stepDescription: ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export interface StepperProps {
|
|
10
|
-
steps: StepProps[];
|
|
11
|
-
currentStep: number;
|
|
12
|
-
}
|
|
13
|
-
export declare const Stepper: ({ steps, currentStep }: StepperProps) => React.JSX.Element;
|
|
14
|
-
export {};
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
interface StepProps {
|
|
4
|
+
name: string;
|
|
5
|
+
component: ReactNode;
|
|
6
|
+
shouldHideHeader?: boolean;
|
|
7
|
+
stepDescription: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export interface StepperProps {
|
|
10
|
+
steps: StepProps[];
|
|
11
|
+
currentStep: number;
|
|
12
|
+
}
|
|
13
|
+
export declare const Stepper: ({ steps, currentStep }: StepperProps) => React.JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Stepper, type StepperProps } from './Stepper';
|
|
1
|
+
export { Stepper, type StepperProps } from './Stepper';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CURRENCY } from '../../enums/enums';
|
|
3
|
-
export interface SuboptionPriceProps {
|
|
4
|
-
free: boolean;
|
|
5
|
-
amount: number | null;
|
|
6
|
-
freeLabel: string;
|
|
7
|
-
currency: CURRENCY;
|
|
8
|
-
}
|
|
9
|
-
export declare const SuboptionPrice: ({ free, amount, currency, freeLabel }: SuboptionPriceProps) => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CURRENCY } from '../../enums/enums';
|
|
3
|
+
export interface SuboptionPriceProps {
|
|
4
|
+
free: boolean;
|
|
5
|
+
amount: number | null;
|
|
6
|
+
freeLabel: string;
|
|
7
|
+
currency: CURRENCY;
|
|
8
|
+
}
|
|
9
|
+
export declare const SuboptionPrice: ({ free, amount, currency, freeLabel }: SuboptionPriceProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { SuboptionPrice, type SuboptionPriceProps } from './SuboptionPrice';
|
|
1
|
+
export { SuboptionPrice, type SuboptionPriceProps } from './SuboptionPrice';
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { ISuboption } from './ISuboption';
|
|
2
|
-
import { HALF_OPTION } from '../../helpers/productConstructor';
|
|
3
|
-
export interface IConstructorOrder {
|
|
4
|
-
extraOrder: number;
|
|
5
|
-
extraIndex: number;
|
|
6
|
-
optionOrder: number;
|
|
7
|
-
optionIndex: number;
|
|
8
|
-
}
|
|
9
|
-
export interface IOption {
|
|
10
|
-
name?: string;
|
|
11
|
-
min: number;
|
|
12
|
-
max: number;
|
|
13
|
-
freeBudget: number;
|
|
14
|
-
respectTo: string | null;
|
|
15
|
-
withHalfOption: boolean;
|
|
16
|
-
id: string;
|
|
17
|
-
enabled: boolean;
|
|
18
|
-
limitSuboptionsByMax: boolean;
|
|
19
|
-
allowSuboptionQuantity: boolean;
|
|
20
|
-
half: HALF_OPTION;
|
|
21
|
-
pizzaOption: boolean;
|
|
22
|
-
suboptions: ISuboption[];
|
|
23
|
-
description?: string;
|
|
24
|
-
constructorOrder?: IConstructorOrder;
|
|
25
|
-
}
|
|
1
|
+
import { ISuboption } from './ISuboption';
|
|
2
|
+
import { HALF_OPTION } from '../../helpers/productConstructor';
|
|
3
|
+
export interface IConstructorOrder {
|
|
4
|
+
extraOrder: number;
|
|
5
|
+
extraIndex: number;
|
|
6
|
+
optionOrder: number;
|
|
7
|
+
optionIndex: number;
|
|
8
|
+
}
|
|
9
|
+
export interface IOption {
|
|
10
|
+
name?: string;
|
|
11
|
+
min: number;
|
|
12
|
+
max: number;
|
|
13
|
+
freeBudget: number;
|
|
14
|
+
respectTo: string | null;
|
|
15
|
+
withHalfOption: boolean;
|
|
16
|
+
id: string;
|
|
17
|
+
enabled: boolean;
|
|
18
|
+
limitSuboptionsByMax: boolean;
|
|
19
|
+
allowSuboptionQuantity: boolean;
|
|
20
|
+
half: HALF_OPTION;
|
|
21
|
+
pizzaOption: boolean;
|
|
22
|
+
suboptions: ISuboption[];
|
|
23
|
+
description?: string;
|
|
24
|
+
constructorOrder?: IConstructorOrder;
|
|
25
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type { MediaSettings } from "../Media/Media";
|
|
2
|
-
import { HALF_OPTION } from "../../helpers";
|
|
3
|
-
export interface ISuboption {
|
|
4
|
-
name: string;
|
|
5
|
-
max: number;
|
|
6
|
-
id: string;
|
|
7
|
-
enabled: boolean;
|
|
8
|
-
quantity?: number;
|
|
9
|
-
price?: number;
|
|
10
|
-
description?: string;
|
|
11
|
-
fullPrice?: number;
|
|
12
|
-
full_price?: number;
|
|
13
|
-
halfOption?: HALF_OPTION;
|
|
14
|
-
image?: string;
|
|
15
|
-
image_settings?: MediaSettings;
|
|
16
|
-
image_scale?: number;
|
|
17
|
-
}
|
|
1
|
+
import type { MediaSettings } from "../Media/Media";
|
|
2
|
+
import { HALF_OPTION } from "../../helpers";
|
|
3
|
+
export interface ISuboption {
|
|
4
|
+
name: string;
|
|
5
|
+
max: number;
|
|
6
|
+
id: string;
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
quantity?: number;
|
|
9
|
+
price?: number;
|
|
10
|
+
description?: string;
|
|
11
|
+
fullPrice?: number;
|
|
12
|
+
full_price?: number;
|
|
13
|
+
halfOption?: HALF_OPTION;
|
|
14
|
+
image?: string;
|
|
15
|
+
image_settings?: MediaSettings;
|
|
16
|
+
image_scale?: number;
|
|
17
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
import { CURRENCY } from '../../../enums/enums';
|
|
4
|
-
import { ISuboption } from '../ISuboption';
|
|
5
|
-
export interface SuboptionCheckboxSelectorProps {
|
|
6
|
-
currency: CURRENCY;
|
|
7
|
-
freeBudget: number;
|
|
8
|
-
totalQuantity: number;
|
|
9
|
-
freeLabel: string;
|
|
10
|
-
max: number;
|
|
11
|
-
suboptions: ISuboption[];
|
|
12
|
-
onSelect: (id: string, quantity: number) => void;
|
|
13
|
-
}
|
|
14
|
-
export declare const SuboptionCheckboxSelector: ({ suboptions, max, onSelect, currency, freeBudget, freeLabel }: SuboptionCheckboxSelectorProps) => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
import { CURRENCY } from '../../../enums/enums';
|
|
4
|
+
import { ISuboption } from '../ISuboption';
|
|
5
|
+
export interface SuboptionCheckboxSelectorProps {
|
|
6
|
+
currency: CURRENCY;
|
|
7
|
+
freeBudget: number;
|
|
8
|
+
totalQuantity: number;
|
|
9
|
+
freeLabel: string;
|
|
10
|
+
max: number;
|
|
11
|
+
suboptions: ISuboption[];
|
|
12
|
+
onSelect: (id: string, quantity: number) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const SuboptionCheckboxSelector: ({ suboptions, max, onSelect, currency, freeBudget, freeLabel }: SuboptionCheckboxSelectorProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { type SuboptionCheckboxSelectorProps, SuboptionCheckboxSelector } from './SuboptionCheckboxSelector';
|
|
1
|
+
export { type SuboptionCheckboxSelectorProps, SuboptionCheckboxSelector } from './SuboptionCheckboxSelector';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
import { ISuboption } from '../ISuboption';
|
|
4
|
-
import { CURRENCY } from '../../../enums/enums';
|
|
5
|
-
export interface SuboptionMultiSelectorProps {
|
|
6
|
-
currency: CURRENCY;
|
|
7
|
-
limitByMax: boolean;
|
|
8
|
-
freeBudget: number;
|
|
9
|
-
freeLabel: string;
|
|
10
|
-
max: number;
|
|
11
|
-
suboptions: ISuboption[];
|
|
12
|
-
onChangeQuantity: (id: string, operation: number) => void;
|
|
13
|
-
}
|
|
14
|
-
export declare const SuboptionMultiSelector: ({ suboptions, onChangeQuantity, currency, limitByMax, freeLabel, max, freeBudget, }: SuboptionMultiSelectorProps) => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
import { ISuboption } from '../ISuboption';
|
|
4
|
+
import { CURRENCY } from '../../../enums/enums';
|
|
5
|
+
export interface SuboptionMultiSelectorProps {
|
|
6
|
+
currency: CURRENCY;
|
|
7
|
+
limitByMax: boolean;
|
|
8
|
+
freeBudget: number;
|
|
9
|
+
freeLabel: string;
|
|
10
|
+
max: number;
|
|
11
|
+
suboptions: ISuboption[];
|
|
12
|
+
onChangeQuantity: (id: string, operation: number) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const SuboptionMultiSelector: ({ suboptions, onChangeQuantity, currency, limitByMax, freeLabel, max, freeBudget, }: SuboptionMultiSelectorProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { SuboptionMultiSelector, type SuboptionMultiSelectorProps } from './SuboptionMultiSelector';
|
|
1
|
+
export { SuboptionMultiSelector, type SuboptionMultiSelectorProps } from './SuboptionMultiSelector';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CURRENCY } from '../../../enums/enums';
|
|
3
|
-
import { ISuboption } from '../index';
|
|
4
|
-
import './style.scss';
|
|
5
|
-
export interface SuboptionPizzaSelectorProps {
|
|
6
|
-
currency: CURRENCY;
|
|
7
|
-
suboptions: ISuboption[];
|
|
8
|
-
max: number;
|
|
9
|
-
freeBudget: number | null;
|
|
10
|
-
onChangeOption: (id: any, quantity: any, option?: ISuboption) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const SuboptionPizzaSelector: ({ currency, max, freeBudget, suboptions, onChangeOption }: SuboptionPizzaSelectorProps) => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CURRENCY } from '../../../enums/enums';
|
|
3
|
+
import { ISuboption } from '../index';
|
|
4
|
+
import './style.scss';
|
|
5
|
+
export interface SuboptionPizzaSelectorProps {
|
|
6
|
+
currency: CURRENCY;
|
|
7
|
+
suboptions: ISuboption[];
|
|
8
|
+
max: number;
|
|
9
|
+
freeBudget: number | null;
|
|
10
|
+
onChangeOption: (id: any, quantity: any, option?: ISuboption) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const SuboptionPizzaSelector: ({ currency, max, freeBudget, suboptions, onChangeOption }: SuboptionPizzaSelectorProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { SuboptionPizzaSelector } from './SuboptionPizzaSelector';
|
|
1
|
+
export { SuboptionPizzaSelector } from './SuboptionPizzaSelector';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
import { CURRENCY } from '../../../enums/enums';
|
|
4
|
-
import { ISuboption } from '../ISuboption';
|
|
5
|
-
export interface SuboptionRadioSelectorProps {
|
|
6
|
-
currency: CURRENCY;
|
|
7
|
-
freeLabel: string;
|
|
8
|
-
ingredients: ISuboption[];
|
|
9
|
-
freeBudget: number | null;
|
|
10
|
-
max: number;
|
|
11
|
-
onSelect: (id: string, quantity: number) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const SuboptionRadioSelector: ({ max, freeLabel, ingredients, onSelect, currency, freeBudget }: SuboptionRadioSelectorProps) => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
import { CURRENCY } from '../../../enums/enums';
|
|
4
|
+
import { ISuboption } from '../ISuboption';
|
|
5
|
+
export interface SuboptionRadioSelectorProps {
|
|
6
|
+
currency: CURRENCY;
|
|
7
|
+
freeLabel: string;
|
|
8
|
+
ingredients: ISuboption[];
|
|
9
|
+
freeBudget: number | null;
|
|
10
|
+
max: number;
|
|
11
|
+
onSelect: (id: string, quantity: number) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const SuboptionRadioSelector: ({ max, freeLabel, ingredients, onSelect, currency, freeBudget }: SuboptionRadioSelectorProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { type SuboptionRadioSelectorProps, SuboptionRadioSelector } from './SuboptionRadioSelector';
|
|
1
|
+
export { type SuboptionRadioSelectorProps, SuboptionRadioSelector } from './SuboptionRadioSelector';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './SuboptionMultiSelector';
|
|
2
|
-
export * from './SuboptionRadioSelector';
|
|
3
|
-
export { type IOption } from './IOption';
|
|
4
|
-
export { type ISuboption } from './ISuboption';
|
|
1
|
+
export * from './SuboptionMultiSelector';
|
|
2
|
+
export * from './SuboptionRadioSelector';
|
|
3
|
+
export { type IOption } from './IOption';
|
|
4
|
+
export { type ISuboption } from './ISuboption';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ISuboption } from '../SuboptionSelector';
|
|
3
|
-
import { CURRENCY } from 'enums/enums';
|
|
4
|
-
export declare const SuboptionSummary: (suboptions: ISuboption[], withHalfOption: boolean, currency: CURRENCY) => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ISuboption } from '../SuboptionSelector';
|
|
3
|
+
import { CURRENCY } from 'enums/enums';
|
|
4
|
+
export declare const SuboptionSummary: (suboptions: ISuboption[], withHalfOption: boolean, currency: CURRENCY) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { SuboptionSummary } from './SuboptionSummary';
|
|
1
|
+
export { SuboptionSummary } from './SuboptionSummary';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
export interface TabsControlProps<T> {
|
|
4
|
-
type: T;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
items: {
|
|
7
|
-
type: T;
|
|
8
|
-
disabled: boolean;
|
|
9
|
-
text: string;
|
|
10
|
-
icon?: any;
|
|
11
|
-
}[];
|
|
12
|
-
onChange: (v: T) => void;
|
|
13
|
-
}
|
|
14
|
-
export declare const TabsControl: ({ type, onChange, disabled, items }: TabsControlProps<string | number | boolean>) => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
export interface TabsControlProps<T> {
|
|
4
|
+
type: T;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
items: {
|
|
7
|
+
type: T;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
text: string;
|
|
10
|
+
icon?: any;
|
|
11
|
+
}[];
|
|
12
|
+
onChange: (v: T) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const TabsControl: ({ type, onChange, disabled, items }: TabsControlProps<string | number | boolean>) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { type TabsControlProps, TabsControl } from './TabsControl';
|
|
1
|
+
export { type TabsControlProps, TabsControl } from './TabsControl';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FC, ReactElement } from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
export interface TagProps {
|
|
4
|
-
label: string | number;
|
|
5
|
-
className?: string;
|
|
6
|
-
icon?: ReactElement;
|
|
7
|
-
}
|
|
8
|
-
export declare const Tag: FC<TagProps>;
|
|
1
|
+
import { FC, ReactElement } from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
export interface TagProps {
|
|
4
|
+
label: string | number;
|
|
5
|
+
className?: string;
|
|
6
|
+
icon?: ReactElement;
|
|
7
|
+
}
|
|
8
|
+
export declare const Tag: FC<TagProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Tag, type TagProps } from './Tag';
|
|
1
|
+
export { Tag, type TagProps } from './Tag';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
export interface WarningProps {
|
|
4
|
-
message: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const Warning: ({ message }: WarningProps) => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
export interface WarningProps {
|
|
4
|
+
message: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const Warning: ({ message }: WarningProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { type WarningProps, Warning } from './Warning';
|
|
1
|
+
export { type WarningProps, Warning } from './Warning';
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export * from './BagesPaymentsOrderSummary';
|
|
2
|
-
export * from './OrderSummary';
|
|
3
|
-
export * from './CheckoutFormItem';
|
|
4
|
-
export * from './CounterButton';
|
|
5
|
-
export * from './CutleryButton';
|
|
6
|
-
export * from './DeliveryControl';
|
|
7
|
-
export * from './Icons';
|
|
8
|
-
export * from './IngredientsSelector';
|
|
9
|
-
export * from './Input';
|
|
10
|
-
export * from './Media';
|
|
11
|
-
export * from './ProductConstructor';
|
|
12
|
-
export * from './ProductPreview';
|
|
13
|
-
export * from './ProductPreviewList';
|
|
14
|
-
export * from './ProductTags';
|
|
15
|
-
export * from './RestaurantHeader';
|
|
16
|
-
export * from './RestaurantTags';
|
|
17
|
-
export * from './Stepper';
|
|
18
|
-
export * from './SuboptionSelector';
|
|
19
|
-
export * from './Warning';
|
|
20
|
-
export * from './GiftControl';
|
|
21
|
-
export * from './OrderSummaryWithProducts';
|
|
22
|
-
export * from './TabsControl';
|
|
23
|
-
export * from './Checkbox';
|
|
24
|
-
export * from './QuantityDescription';
|
|
1
|
+
export * from './BagesPaymentsOrderSummary';
|
|
2
|
+
export * from './OrderSummary';
|
|
3
|
+
export * from './CheckoutFormItem';
|
|
4
|
+
export * from './CounterButton';
|
|
5
|
+
export * from './CutleryButton';
|
|
6
|
+
export * from './DeliveryControl';
|
|
7
|
+
export * from './Icons';
|
|
8
|
+
export * from './IngredientsSelector';
|
|
9
|
+
export * from './Input';
|
|
10
|
+
export * from './Media';
|
|
11
|
+
export * from './ProductConstructor';
|
|
12
|
+
export * from './ProductPreview';
|
|
13
|
+
export * from './ProductPreviewList';
|
|
14
|
+
export * from './ProductTags';
|
|
15
|
+
export * from './RestaurantHeader';
|
|
16
|
+
export * from './RestaurantTags';
|
|
17
|
+
export * from './Stepper';
|
|
18
|
+
export * from './SuboptionSelector';
|
|
19
|
+
export * from './Warning';
|
|
20
|
+
export * from './GiftControl';
|
|
21
|
+
export * from './OrderSummaryWithProducts';
|
|
22
|
+
export * from './TabsControl';
|
|
23
|
+
export * from './Checkbox';
|
|
24
|
+
export * from './QuantityDescription';
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
export declare enum CROP_MODE {
|
|
2
|
-
'fill' = 0,
|
|
3
|
-
'pad' = 1,
|
|
4
|
-
'fit' = 2,
|
|
5
|
-
'mfit' = 3,
|
|
6
|
-
'scale' = 4,
|
|
7
|
-
'limit' = 5,
|
|
8
|
-
'lpad' = 6,
|
|
9
|
-
'mpad' = 7,
|
|
10
|
-
'crop' = 8,
|
|
11
|
-
'fill_pad' = 9,
|
|
12
|
-
'thumb' = 10
|
|
13
|
-
}
|
|
14
|
-
export declare enum GRAVITY_MODE {
|
|
15
|
-
'center' = 0,
|
|
16
|
-
'north_east' = 1,
|
|
17
|
-
'north' = 2,
|
|
18
|
-
'north_west' = 3,
|
|
19
|
-
'west' = 4,
|
|
20
|
-
'south_west' = 5,
|
|
21
|
-
'south' = 6,
|
|
22
|
-
'south_east' = 7,
|
|
23
|
-
'east' = 8,
|
|
24
|
-
'liquid' = 9,
|
|
25
|
-
'auto' = 10
|
|
26
|
-
}
|
|
27
|
-
export declare enum QUALITY_MODE {
|
|
28
|
-
best = 1,
|
|
29
|
-
good = 2,
|
|
30
|
-
eco = 3,
|
|
31
|
-
low = 4,
|
|
32
|
-
custom = 5
|
|
33
|
-
}
|
|
34
|
-
export declare enum CURRENCY {
|
|
35
|
-
'USD' = "$",
|
|
36
|
-
'EUR' = "\u20AC",
|
|
37
|
-
'GBP' = "\u00A3",
|
|
38
|
-
'UAH' = "\u20B4",
|
|
39
|
-
'AED' = "\u062F.",
|
|
40
|
-
'ILS' = "\u20AA",
|
|
41
|
-
'JPY' = "\u00A5",
|
|
42
|
-
'KZT' = "\u20B8",
|
|
43
|
-
'RUB' = "\u20BD"
|
|
44
|
-
}
|
|
45
|
-
export declare enum DISCOUNT_TYPE {
|
|
46
|
-
common = 0,
|
|
47
|
-
bonus = 1
|
|
48
|
-
}
|
|
49
|
-
export declare enum DELIVERY_TYPE {
|
|
50
|
-
delivery = 1,
|
|
51
|
-
takeAway = 2,
|
|
52
|
-
virtualVenue = 3,
|
|
53
|
-
dinein = 4
|
|
54
|
-
}
|
|
55
|
-
export declare enum DISCOUNT_TARGET {
|
|
56
|
-
products = 0,
|
|
57
|
-
delivery = 1
|
|
58
|
-
}
|
|
1
|
+
export declare enum CROP_MODE {
|
|
2
|
+
'fill' = 0,
|
|
3
|
+
'pad' = 1,
|
|
4
|
+
'fit' = 2,
|
|
5
|
+
'mfit' = 3,
|
|
6
|
+
'scale' = 4,
|
|
7
|
+
'limit' = 5,
|
|
8
|
+
'lpad' = 6,
|
|
9
|
+
'mpad' = 7,
|
|
10
|
+
'crop' = 8,
|
|
11
|
+
'fill_pad' = 9,
|
|
12
|
+
'thumb' = 10
|
|
13
|
+
}
|
|
14
|
+
export declare enum GRAVITY_MODE {
|
|
15
|
+
'center' = 0,
|
|
16
|
+
'north_east' = 1,
|
|
17
|
+
'north' = 2,
|
|
18
|
+
'north_west' = 3,
|
|
19
|
+
'west' = 4,
|
|
20
|
+
'south_west' = 5,
|
|
21
|
+
'south' = 6,
|
|
22
|
+
'south_east' = 7,
|
|
23
|
+
'east' = 8,
|
|
24
|
+
'liquid' = 9,
|
|
25
|
+
'auto' = 10
|
|
26
|
+
}
|
|
27
|
+
export declare enum QUALITY_MODE {
|
|
28
|
+
best = 1,
|
|
29
|
+
good = 2,
|
|
30
|
+
eco = 3,
|
|
31
|
+
low = 4,
|
|
32
|
+
custom = 5
|
|
33
|
+
}
|
|
34
|
+
export declare enum CURRENCY {
|
|
35
|
+
'USD' = "$",
|
|
36
|
+
'EUR' = "\u20AC",
|
|
37
|
+
'GBP' = "\u00A3",
|
|
38
|
+
'UAH' = "\u20B4",
|
|
39
|
+
'AED' = "\u062F.",
|
|
40
|
+
'ILS' = "\u20AA",
|
|
41
|
+
'JPY' = "\u00A5",
|
|
42
|
+
'KZT' = "\u20B8",
|
|
43
|
+
'RUB' = "\u20BD"
|
|
44
|
+
}
|
|
45
|
+
export declare enum DISCOUNT_TYPE {
|
|
46
|
+
common = 0,
|
|
47
|
+
bonus = 1
|
|
48
|
+
}
|
|
49
|
+
export declare enum DELIVERY_TYPE {
|
|
50
|
+
delivery = 1,
|
|
51
|
+
takeAway = 2,
|
|
52
|
+
virtualVenue = 3,
|
|
53
|
+
dinein = 4
|
|
54
|
+
}
|
|
55
|
+
export declare enum DISCOUNT_TARGET {
|
|
56
|
+
products = 0,
|
|
57
|
+
delivery = 1
|
|
58
|
+
}
|