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,3 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
export declare const Loader: () => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
export declare const Loader: () => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Loader } from './Loader';
|
|
1
|
+
export { Loader } from './Loader';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
export interface ImageProp {
|
|
3
|
-
id?: string;
|
|
4
|
-
/** The delivery URL as it arrived. Its host is kept as-is. */
|
|
5
|
-
src: string;
|
|
6
|
-
alt?: string;
|
|
7
|
-
width?: number;
|
|
8
|
-
height?: number;
|
|
9
|
-
gravity?: string;
|
|
10
|
-
quality?: string;
|
|
11
|
-
crop?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const Image: FC<ImageProp>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface ImageProp {
|
|
3
|
+
id?: string;
|
|
4
|
+
/** The delivery URL as it arrived. Its host is kept as-is. */
|
|
5
|
+
src: string;
|
|
6
|
+
alt?: string;
|
|
7
|
+
width?: number;
|
|
8
|
+
height?: number;
|
|
9
|
+
gravity?: string;
|
|
10
|
+
quality?: string;
|
|
11
|
+
crop?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const Image: FC<ImageProp>;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { CROP_MODE, GRAVITY_MODE, QUALITY_MODE } from '../../enums/enums';
|
|
3
|
-
import './index.scss';
|
|
4
|
-
export interface MediaSettings {
|
|
5
|
-
quality_mode: QUALITY_MODE;
|
|
6
|
-
gravity_mode: GRAVITY_MODE;
|
|
7
|
-
crop_mode: CROP_MODE;
|
|
8
|
-
quality: number;
|
|
9
|
-
}
|
|
10
|
-
export interface MediaProp {
|
|
11
|
-
settings?: MediaSettings;
|
|
12
|
-
src?: string;
|
|
13
|
-
alt?: string;
|
|
14
|
-
id?: string;
|
|
15
|
-
scale?: number;
|
|
16
|
-
controls?: boolean;
|
|
17
|
-
autoPlay?: boolean;
|
|
18
|
-
onEnd?: () => void;
|
|
19
|
-
onStart?: () => void;
|
|
20
|
-
}
|
|
21
|
-
export declare const Media: FC<MediaProp>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { CROP_MODE, GRAVITY_MODE, QUALITY_MODE } from '../../enums/enums';
|
|
3
|
+
import './index.scss';
|
|
4
|
+
export interface MediaSettings {
|
|
5
|
+
quality_mode: QUALITY_MODE;
|
|
6
|
+
gravity_mode: GRAVITY_MODE;
|
|
7
|
+
crop_mode: CROP_MODE;
|
|
8
|
+
quality: number;
|
|
9
|
+
}
|
|
10
|
+
export interface MediaProp {
|
|
11
|
+
settings?: MediaSettings;
|
|
12
|
+
src?: string;
|
|
13
|
+
alt?: string;
|
|
14
|
+
id?: string;
|
|
15
|
+
scale?: number;
|
|
16
|
+
controls?: boolean;
|
|
17
|
+
autoPlay?: boolean;
|
|
18
|
+
onEnd?: () => void;
|
|
19
|
+
onStart?: () => void;
|
|
20
|
+
}
|
|
21
|
+
export declare const Media: FC<MediaProp>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
export interface VideoProp {
|
|
4
|
-
id?: string;
|
|
5
|
-
src: string;
|
|
6
|
-
width?: number;
|
|
7
|
-
height?: number;
|
|
8
|
-
gravity?: string;
|
|
9
|
-
quality?: string;
|
|
10
|
-
crop?: string;
|
|
11
|
-
controls?: boolean;
|
|
12
|
-
autoPlay?: boolean;
|
|
13
|
-
onEnd?: () => void;
|
|
14
|
-
onStart?: () => void;
|
|
15
|
-
}
|
|
16
|
-
export declare const Video: FC<VideoProp>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import './index.scss';
|
|
3
|
+
export interface VideoProp {
|
|
4
|
+
id?: string;
|
|
5
|
+
src: string;
|
|
6
|
+
width?: number;
|
|
7
|
+
height?: number;
|
|
8
|
+
gravity?: string;
|
|
9
|
+
quality?: string;
|
|
10
|
+
crop?: string;
|
|
11
|
+
controls?: boolean;
|
|
12
|
+
autoPlay?: boolean;
|
|
13
|
+
onEnd?: () => void;
|
|
14
|
+
onStart?: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const Video: FC<VideoProp>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Media, type MediaProp } from "./Media";
|
|
1
|
+
export { Media, type MediaProp } from "./Media";
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
import { BagesPaymentsOrderSummaryProps } from '../BagesPaymentsOrderSummary';
|
|
4
|
-
import { CURRENCY, DELIVERY_TYPE, DISCOUNT_TYPE } from '../../enums/enums';
|
|
5
|
-
export interface OrderSummaryProps extends BagesPaymentsOrderSummaryProps {
|
|
6
|
-
customConfirmButton?: string;
|
|
7
|
-
discountType?: DISCOUNT_TYPE;
|
|
8
|
-
offerType: number;
|
|
9
|
-
offerName: string;
|
|
10
|
-
coupon: string;
|
|
11
|
-
finalPrice: number;
|
|
12
|
-
disabledConfirm: boolean;
|
|
13
|
-
fullPrice: number;
|
|
14
|
-
deliveryPrice: number;
|
|
15
|
-
serviceFee: number;
|
|
16
|
-
topupToMinimum: number;
|
|
17
|
-
minimum: number;
|
|
18
|
-
driverTip: number;
|
|
19
|
-
hideCoupon: boolean;
|
|
20
|
-
finalCharge: number;
|
|
21
|
-
discounts: {
|
|
22
|
-
discount_type: DISCOUNT_TYPE;
|
|
23
|
-
offer_type: number;
|
|
24
|
-
discount: number;
|
|
25
|
-
offer_name: string;
|
|
26
|
-
coupon: string | null;
|
|
27
|
-
offer_id: string;
|
|
28
|
-
[key: string]: string | number;
|
|
29
|
-
}[];
|
|
30
|
-
weightAdjustmentPriceBuffer: number;
|
|
31
|
-
canceledOfferIds?: string[];
|
|
32
|
-
customFields: {
|
|
33
|
-
label: string;
|
|
34
|
-
value: string | number;
|
|
35
|
-
}[];
|
|
36
|
-
paymentBalance: number | null;
|
|
37
|
-
deliveryType: DELIVERY_TYPE;
|
|
38
|
-
onConfirm: () => void;
|
|
39
|
-
setCoupon: (s: string) => void;
|
|
40
|
-
customDiscount: boolean;
|
|
41
|
-
customDiscountValue: string | number;
|
|
42
|
-
setCustomDiscountValue: (v: string) => void;
|
|
43
|
-
toggleOffer: (v: string) => void;
|
|
44
|
-
recalculateDiscounts: boolean;
|
|
45
|
-
showRecalculateDiscounts: boolean;
|
|
46
|
-
disableRecalculateDiscounts: boolean;
|
|
47
|
-
onChangeRecalculateDiscounts: (v: boolean) => void;
|
|
48
|
-
canManageDiscount: boolean;
|
|
49
|
-
debounce: number;
|
|
50
|
-
autofocus?: boolean;
|
|
51
|
-
bonusCard?: {
|
|
52
|
-
bonus: number;
|
|
53
|
-
name: string;
|
|
54
|
-
expiration: Date;
|
|
55
|
-
checkoutLimitPercent: number;
|
|
56
|
-
currency: CURRENCY;
|
|
57
|
-
} | null;
|
|
58
|
-
}
|
|
59
|
-
export declare const OrderSummary: ({ customConfirmButton, accumulatedPurchaseBonus, discount, minimum, finalDeliveryPrice, currency, offerType, coupon, fullPrice, discounts, deliveryType, deliveryPrice, serviceFee, topupToMinimum, driverTip, hideCoupon, paymentBalance, weightAdjustmentPriceBuffer, finalPrice, setCoupon, disabledConfirm, onConfirm, customDiscount, customDiscountValue, setCustomDiscountValue, customFields, finalCharge, canceledOfferIds, toggleOffer, recalculateDiscounts, disableRecalculateDiscounts, showRecalculateDiscounts, onChangeRecalculateDiscounts, canManageDiscount, autofocus, bonusCard, }: OrderSummaryProps) => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
import { BagesPaymentsOrderSummaryProps } from '../BagesPaymentsOrderSummary';
|
|
4
|
+
import { CURRENCY, DELIVERY_TYPE, DISCOUNT_TYPE } from '../../enums/enums';
|
|
5
|
+
export interface OrderSummaryProps extends BagesPaymentsOrderSummaryProps {
|
|
6
|
+
customConfirmButton?: string;
|
|
7
|
+
discountType?: DISCOUNT_TYPE;
|
|
8
|
+
offerType: number;
|
|
9
|
+
offerName: string;
|
|
10
|
+
coupon: string;
|
|
11
|
+
finalPrice: number;
|
|
12
|
+
disabledConfirm: boolean;
|
|
13
|
+
fullPrice: number;
|
|
14
|
+
deliveryPrice: number;
|
|
15
|
+
serviceFee: number;
|
|
16
|
+
topupToMinimum: number;
|
|
17
|
+
minimum: number;
|
|
18
|
+
driverTip: number;
|
|
19
|
+
hideCoupon: boolean;
|
|
20
|
+
finalCharge: number;
|
|
21
|
+
discounts: {
|
|
22
|
+
discount_type: DISCOUNT_TYPE;
|
|
23
|
+
offer_type: number;
|
|
24
|
+
discount: number;
|
|
25
|
+
offer_name: string;
|
|
26
|
+
coupon: string | null;
|
|
27
|
+
offer_id: string;
|
|
28
|
+
[key: string]: string | number;
|
|
29
|
+
}[];
|
|
30
|
+
weightAdjustmentPriceBuffer: number;
|
|
31
|
+
canceledOfferIds?: string[];
|
|
32
|
+
customFields: {
|
|
33
|
+
label: string;
|
|
34
|
+
value: string | number;
|
|
35
|
+
}[];
|
|
36
|
+
paymentBalance: number | null;
|
|
37
|
+
deliveryType: DELIVERY_TYPE;
|
|
38
|
+
onConfirm: () => void;
|
|
39
|
+
setCoupon: (s: string) => void;
|
|
40
|
+
customDiscount: boolean;
|
|
41
|
+
customDiscountValue: string | number;
|
|
42
|
+
setCustomDiscountValue: (v: string) => void;
|
|
43
|
+
toggleOffer: (v: string) => void;
|
|
44
|
+
recalculateDiscounts: boolean;
|
|
45
|
+
showRecalculateDiscounts: boolean;
|
|
46
|
+
disableRecalculateDiscounts: boolean;
|
|
47
|
+
onChangeRecalculateDiscounts: (v: boolean) => void;
|
|
48
|
+
canManageDiscount: boolean;
|
|
49
|
+
debounce: number;
|
|
50
|
+
autofocus?: boolean;
|
|
51
|
+
bonusCard?: {
|
|
52
|
+
bonus: number;
|
|
53
|
+
name: string;
|
|
54
|
+
expiration: Date;
|
|
55
|
+
checkoutLimitPercent: number;
|
|
56
|
+
currency: CURRENCY;
|
|
57
|
+
} | null;
|
|
58
|
+
}
|
|
59
|
+
export declare const OrderSummary: ({ customConfirmButton, accumulatedPurchaseBonus, discount, minimum, finalDeliveryPrice, currency, offerType, coupon, fullPrice, discounts, deliveryType, deliveryPrice, serviceFee, topupToMinimum, driverTip, hideCoupon, paymentBalance, weightAdjustmentPriceBuffer, finalPrice, setCoupon, disabledConfirm, onConfirm, customDiscount, customDiscountValue, setCustomDiscountValue, customFields, finalCharge, canceledOfferIds, toggleOffer, recalculateDiscounts, disableRecalculateDiscounts, showRecalculateDiscounts, onChangeRecalculateDiscounts, canManageDiscount, autofocus, bonusCard, }: OrderSummaryProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { type OrderSummaryProps, OrderSummary } from './OrderSummary';
|
|
1
|
+
export { type OrderSummaryProps, OrderSummary } from './OrderSummary';
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
import { OrderSummaryProps } from '../OrderSummary';
|
|
4
|
-
import { MediaProp } from '../Media';
|
|
5
|
-
interface Product {
|
|
6
|
-
id: string;
|
|
7
|
-
quantity: number;
|
|
8
|
-
price: number;
|
|
9
|
-
name: string;
|
|
10
|
-
full_price: number;
|
|
11
|
-
description: string;
|
|
12
|
-
min: number;
|
|
13
|
-
max: number;
|
|
14
|
-
image?: MediaProp;
|
|
15
|
-
}
|
|
16
|
-
interface OrderSummaryWithProductsBaseProps extends OrderSummaryProps {
|
|
17
|
-
products: Product[];
|
|
18
|
-
onChangeQuantity: (v: number, product: Product, index: number) => void;
|
|
19
|
-
onClickProduct: (index: number) => void;
|
|
20
|
-
onRemove: (v: number) => void;
|
|
21
|
-
header: string;
|
|
22
|
-
disableQuantityControls?: boolean;
|
|
23
|
-
isKiosk?: boolean;
|
|
24
|
-
}
|
|
25
|
-
interface OrderSummaryWithProductsVissibleShareProps extends OrderSummaryWithProductsBaseProps {
|
|
26
|
-
showShareControls: true;
|
|
27
|
-
onShare: () => void;
|
|
28
|
-
onClearCart: () => void;
|
|
29
|
-
useCopyIcon?: boolean;
|
|
30
|
-
}
|
|
31
|
-
interface OrderSummaryWithProductsHiddenShareProps extends OrderSummaryWithProductsBaseProps {
|
|
32
|
-
showShareControls: false;
|
|
33
|
-
}
|
|
34
|
-
export type OrderSummaryWithProductsProps = OrderSummaryWithProductsVissibleShareProps | OrderSummaryWithProductsHiddenShareProps;
|
|
35
|
-
export declare const OrderSummaryWithProducts: (props: OrderSummaryWithProductsProps) => React.JSX.Element;
|
|
36
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
import { OrderSummaryProps } from '../OrderSummary';
|
|
4
|
+
import { MediaProp } from '../Media';
|
|
5
|
+
interface Product {
|
|
6
|
+
id: string;
|
|
7
|
+
quantity: number;
|
|
8
|
+
price: number;
|
|
9
|
+
name: string;
|
|
10
|
+
full_price: number;
|
|
11
|
+
description: string;
|
|
12
|
+
min: number;
|
|
13
|
+
max: number;
|
|
14
|
+
image?: MediaProp;
|
|
15
|
+
}
|
|
16
|
+
interface OrderSummaryWithProductsBaseProps extends OrderSummaryProps {
|
|
17
|
+
products: Product[];
|
|
18
|
+
onChangeQuantity: (v: number, product: Product, index: number) => void;
|
|
19
|
+
onClickProduct: (index: number) => void;
|
|
20
|
+
onRemove: (v: number) => void;
|
|
21
|
+
header: string;
|
|
22
|
+
disableQuantityControls?: boolean;
|
|
23
|
+
isKiosk?: boolean;
|
|
24
|
+
}
|
|
25
|
+
interface OrderSummaryWithProductsVissibleShareProps extends OrderSummaryWithProductsBaseProps {
|
|
26
|
+
showShareControls: true;
|
|
27
|
+
onShare: () => void;
|
|
28
|
+
onClearCart: () => void;
|
|
29
|
+
useCopyIcon?: boolean;
|
|
30
|
+
}
|
|
31
|
+
interface OrderSummaryWithProductsHiddenShareProps extends OrderSummaryWithProductsBaseProps {
|
|
32
|
+
showShareControls: false;
|
|
33
|
+
}
|
|
34
|
+
export type OrderSummaryWithProductsProps = OrderSummaryWithProductsVissibleShareProps | OrderSummaryWithProductsHiddenShareProps;
|
|
35
|
+
export declare const OrderSummaryWithProducts: (props: OrderSummaryWithProductsProps) => React.JSX.Element;
|
|
36
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { type OrderSummaryWithProductsProps, OrderSummaryWithProducts } from './OrderSummaryWithProducts';
|
|
1
|
+
export { type OrderSummaryWithProductsProps, OrderSummaryWithProducts } from './OrderSummaryWithProducts';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
export interface ProductCommentsSectionProps {
|
|
4
|
-
name: string;
|
|
5
|
-
comment: string;
|
|
6
|
-
onNameChange: (name: string) => void;
|
|
7
|
-
onCommentChange: (name: string) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const ProductCommentsSection: ({ name, comment, onCommentChange, onNameChange, }: ProductCommentsSectionProps) => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
export interface ProductCommentsSectionProps {
|
|
4
|
+
name: string;
|
|
5
|
+
comment: string;
|
|
6
|
+
onNameChange: (name: string) => void;
|
|
7
|
+
onCommentChange: (name: string) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const ProductCommentsSection: ({ name, comment, onCommentChange, onNameChange, }: ProductCommentsSectionProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ProductCommentsSection, type ProductCommentsSectionProps } from './ProductCommentsSection';
|
|
1
|
+
export { ProductCommentsSection, type ProductCommentsSectionProps } from './ProductCommentsSection';
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
import { MediaProp } from '../Media';
|
|
4
|
-
import { CURRENCY } from '../../enums/enums';
|
|
5
|
-
import { Ingredient } from '../IngredientsSelector/IngredientsSelector';
|
|
6
|
-
import { IOption, ISuboption } from '../SuboptionSelector/';
|
|
7
|
-
import { HALF_OPTION, IProductSaved } from '../../helpers/productConstructor';
|
|
8
|
-
export interface ProductConstructorProps {
|
|
9
|
-
tag?: string;
|
|
10
|
-
disableAutoScroll: boolean;
|
|
11
|
-
savedProduct: IProductSaved;
|
|
12
|
-
id: string;
|
|
13
|
-
name?: string;
|
|
14
|
-
media?: MediaProp;
|
|
15
|
-
currency: CURRENCY;
|
|
16
|
-
price: number;
|
|
17
|
-
oldPrice: number;
|
|
18
|
-
totalPrice: number;
|
|
19
|
-
description?: string;
|
|
20
|
-
max?: number;
|
|
21
|
-
quantity?: number;
|
|
22
|
-
weighed: boolean;
|
|
23
|
-
unit_weight: number;
|
|
24
|
-
weight_range: number;
|
|
25
|
-
amountDiff: number;
|
|
26
|
-
allowComments: boolean;
|
|
27
|
-
isHalf: boolean;
|
|
28
|
-
isLoading: boolean;
|
|
29
|
-
nameOnBox: string;
|
|
30
|
-
comments: string;
|
|
31
|
-
summaryOpen: boolean;
|
|
32
|
-
ingredients: Ingredient[];
|
|
33
|
-
options: IOption[];
|
|
34
|
-
optionsHalf: IOption[];
|
|
35
|
-
onClose?: () => void;
|
|
36
|
-
onChangeIngredients: (id: number) => void;
|
|
37
|
-
onChangeQuantity: (quantity: number) => void;
|
|
38
|
-
onChangeOption: (parentId: string, id: string, quantity: number, suboption: ISuboption) => void;
|
|
39
|
-
onChangeOptionHalf: (parentId: string, id: string, half: HALF_OPTION, quantity: number) => void;
|
|
40
|
-
onChangeNameOnBox: (v: string) => void;
|
|
41
|
-
onChangeComment: (v: string) => void;
|
|
42
|
-
onAdd: () => void;
|
|
43
|
-
onRemove: () => void;
|
|
44
|
-
onAddToCart: () => void;
|
|
45
|
-
onChangeIsHalf: (v: boolean) => void;
|
|
46
|
-
updateOptionOfActualData: (option: IOption) => IOption;
|
|
47
|
-
}
|
|
48
|
-
export declare const ProductConstructor: FC<ProductConstructorProps>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
import { MediaProp } from '../Media';
|
|
4
|
+
import { CURRENCY } from '../../enums/enums';
|
|
5
|
+
import { Ingredient } from '../IngredientsSelector/IngredientsSelector';
|
|
6
|
+
import { IOption, ISuboption } from '../SuboptionSelector/';
|
|
7
|
+
import { HALF_OPTION, IProductSaved } from '../../helpers/productConstructor';
|
|
8
|
+
export interface ProductConstructorProps {
|
|
9
|
+
tag?: string;
|
|
10
|
+
disableAutoScroll: boolean;
|
|
11
|
+
savedProduct: IProductSaved;
|
|
12
|
+
id: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
media?: MediaProp;
|
|
15
|
+
currency: CURRENCY;
|
|
16
|
+
price: number;
|
|
17
|
+
oldPrice: number;
|
|
18
|
+
totalPrice: number;
|
|
19
|
+
description?: string;
|
|
20
|
+
max?: number;
|
|
21
|
+
quantity?: number;
|
|
22
|
+
weighed: boolean;
|
|
23
|
+
unit_weight: number;
|
|
24
|
+
weight_range: number;
|
|
25
|
+
amountDiff: number;
|
|
26
|
+
allowComments: boolean;
|
|
27
|
+
isHalf: boolean;
|
|
28
|
+
isLoading: boolean;
|
|
29
|
+
nameOnBox: string;
|
|
30
|
+
comments: string;
|
|
31
|
+
summaryOpen: boolean;
|
|
32
|
+
ingredients: Ingredient[];
|
|
33
|
+
options: IOption[];
|
|
34
|
+
optionsHalf: IOption[];
|
|
35
|
+
onClose?: () => void;
|
|
36
|
+
onChangeIngredients: (id: number) => void;
|
|
37
|
+
onChangeQuantity: (quantity: number) => void;
|
|
38
|
+
onChangeOption: (parentId: string, id: string, quantity: number, suboption: ISuboption) => void;
|
|
39
|
+
onChangeOptionHalf: (parentId: string, id: string, half: HALF_OPTION, quantity: number) => void;
|
|
40
|
+
onChangeNameOnBox: (v: string) => void;
|
|
41
|
+
onChangeComment: (v: string) => void;
|
|
42
|
+
onAdd: () => void;
|
|
43
|
+
onRemove: () => void;
|
|
44
|
+
onAddToCart: () => void;
|
|
45
|
+
onChangeIsHalf: (v: boolean) => void;
|
|
46
|
+
updateOptionOfActualData: (option: IOption) => IOption;
|
|
47
|
+
}
|
|
48
|
+
export declare const ProductConstructor: FC<ProductConstructorProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ProductConstructor, type ProductConstructorProps } from './ProductConstructor';
|
|
1
|
+
export { ProductConstructor, type ProductConstructorProps } from './ProductConstructor';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
import { CURRENCY } from '../../enums/enums';
|
|
4
|
-
import { CounterButtonProps } from '../CounterButton';
|
|
5
|
-
export interface ProductConstructorFooterProps extends CounterButtonProps {
|
|
6
|
-
isSummary: boolean;
|
|
7
|
-
isDisableNext: boolean;
|
|
8
|
-
isDisablePrev: boolean;
|
|
9
|
-
currency: CURRENCY;
|
|
10
|
-
amount: number;
|
|
11
|
-
isLoading: boolean;
|
|
12
|
-
onAddToCart: () => void;
|
|
13
|
-
onNext: () => void;
|
|
14
|
-
onPrev: () => void;
|
|
15
|
-
}
|
|
16
|
-
export declare const ProductConstructorFooter: ({ isSummary, isLoading, isDisableNext, isDisablePrev, amount, currency, onPrev, onNext, count, isAddDisable, isRemoveDisable, onAdd, onRemove, onAddToCart, onChangeQuantity, }: ProductConstructorFooterProps) => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
import { CURRENCY } from '../../enums/enums';
|
|
4
|
+
import { CounterButtonProps } from '../CounterButton';
|
|
5
|
+
export interface ProductConstructorFooterProps extends CounterButtonProps {
|
|
6
|
+
isSummary: boolean;
|
|
7
|
+
isDisableNext: boolean;
|
|
8
|
+
isDisablePrev: boolean;
|
|
9
|
+
currency: CURRENCY;
|
|
10
|
+
amount: number;
|
|
11
|
+
isLoading: boolean;
|
|
12
|
+
onAddToCart: () => void;
|
|
13
|
+
onNext: () => void;
|
|
14
|
+
onPrev: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const ProductConstructorFooter: ({ isSummary, isLoading, isDisableNext, isDisablePrev, amount, currency, onPrev, onNext, count, isAddDisable, isRemoveDisable, onAdd, onRemove, onAddToCart, onChangeQuantity, }: ProductConstructorFooterProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ProductConstructorFooter } from './ProductConstructorFooter';
|
|
1
|
+
export { ProductConstructorFooter } from './ProductConstructorFooter';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { type FC } from 'react';
|
|
2
|
-
import { type MediaProp } from '../Media';
|
|
3
|
-
import './style.scss';
|
|
4
|
-
import { type CURRENCY } from '../../enums/enums';
|
|
5
|
-
import { type ProductTagsProps } from '../ProductTags';
|
|
6
|
-
export interface ProductPreviewProp extends ProductTagsProps {
|
|
7
|
-
name: string;
|
|
8
|
-
id: string;
|
|
9
|
-
description: string;
|
|
10
|
-
price: number;
|
|
11
|
-
oldPrice?: number;
|
|
12
|
-
image?: MediaProp;
|
|
13
|
-
currency: CURRENCY;
|
|
14
|
-
trashIcon?: boolean;
|
|
15
|
-
quantity?: number;
|
|
16
|
-
weight?: number;
|
|
17
|
-
onClick?: (id: string) => void;
|
|
18
|
-
onClickTrash?: (id: string) => void;
|
|
19
|
-
}
|
|
20
|
-
export declare const ProductPreview: FC<ProductPreviewProp>;
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import { type MediaProp } from '../Media';
|
|
3
|
+
import './style.scss';
|
|
4
|
+
import { type CURRENCY } from '../../enums/enums';
|
|
5
|
+
import { type ProductTagsProps } from '../ProductTags';
|
|
6
|
+
export interface ProductPreviewProp extends ProductTagsProps {
|
|
7
|
+
name: string;
|
|
8
|
+
id: string;
|
|
9
|
+
description: string;
|
|
10
|
+
price: number;
|
|
11
|
+
oldPrice?: number;
|
|
12
|
+
image?: MediaProp;
|
|
13
|
+
currency: CURRENCY;
|
|
14
|
+
trashIcon?: boolean;
|
|
15
|
+
quantity?: number;
|
|
16
|
+
weight?: number;
|
|
17
|
+
onClick?: (id: string) => void;
|
|
18
|
+
onClickTrash?: (id: string) => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const ProductPreview: FC<ProductPreviewProp>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ProductPreview, type ProductPreviewProp } from './ProductPreview';
|
|
1
|
+
export { ProductPreview, type ProductPreviewProp } from './ProductPreview';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
import { ProductPreviewProp } from '../ProductPreview/ProductPreview';
|
|
4
|
-
export interface ProductPreviewListProps {
|
|
5
|
-
categories: {
|
|
6
|
-
name: string;
|
|
7
|
-
id: string;
|
|
8
|
-
products: ProductPreviewProp[];
|
|
9
|
-
}[];
|
|
10
|
-
onClickProduct?: (categoryId: string, productId: string) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const ProductPreviewList: FC<ProductPreviewListProps>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
import { ProductPreviewProp } from '../ProductPreview/ProductPreview';
|
|
4
|
+
export interface ProductPreviewListProps {
|
|
5
|
+
categories: {
|
|
6
|
+
name: string;
|
|
7
|
+
id: string;
|
|
8
|
+
products: ProductPreviewProp[];
|
|
9
|
+
}[];
|
|
10
|
+
onClickProduct?: (categoryId: string, productId: string) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const ProductPreviewList: FC<ProductPreviewListProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { type ProductPreviewListProps, ProductPreviewList } from './ProductPreviewList';
|
|
1
|
+
export { type ProductPreviewListProps, ProductPreviewList } from './ProductPreviewList';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
export interface ProductSummaryProps {
|
|
4
|
-
summary: {
|
|
5
|
-
name: string;
|
|
6
|
-
value: string | any;
|
|
7
|
-
index: number;
|
|
8
|
-
weightProduct?: boolean;
|
|
9
|
-
tooltip?: string;
|
|
10
|
-
}[];
|
|
11
|
-
onClickChange: (index: number) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const ProductSummary: ({ summary, onClickChange }: ProductSummaryProps) => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
export interface ProductSummaryProps {
|
|
4
|
+
summary: {
|
|
5
|
+
name: string;
|
|
6
|
+
value: string | any;
|
|
7
|
+
index: number;
|
|
8
|
+
weightProduct?: boolean;
|
|
9
|
+
tooltip?: string;
|
|
10
|
+
}[];
|
|
11
|
+
onClickChange: (index: number) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const ProductSummary: ({ summary, onClickChange }: ProductSummaryProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { type ProductSummaryProps, ProductSummary } from './ProductSummary';
|
|
1
|
+
export { type ProductSummaryProps, ProductSummary } from './ProductSummary';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
export interface ProductTagsProps {
|
|
4
|
-
vegan?: boolean;
|
|
5
|
-
vegetarian?: boolean;
|
|
6
|
-
isNew?: boolean;
|
|
7
|
-
spicy?: number;
|
|
8
|
-
glutenFree?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const ProductTags: FC<ProductTagsProps>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
export interface ProductTagsProps {
|
|
4
|
+
vegan?: boolean;
|
|
5
|
+
vegetarian?: boolean;
|
|
6
|
+
isNew?: boolean;
|
|
7
|
+
spicy?: number;
|
|
8
|
+
glutenFree?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const ProductTags: FC<ProductTagsProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ProductTags, type ProductTagsProps } from './ProductTags';
|
|
1
|
+
export { ProductTags, type ProductTagsProps } from './ProductTags';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './style.scss';
|
|
3
|
-
export interface QuantityDescriptionProps {
|
|
4
|
-
max: number;
|
|
5
|
-
free_budget: number;
|
|
6
|
-
}
|
|
7
|
-
export declare const QuantityDescription: ({ free_budget, max }: QuantityDescriptionProps) => React.JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
export interface QuantityDescriptionProps {
|
|
4
|
+
max: number;
|
|
5
|
+
free_budget: number;
|
|
6
|
+
}
|
|
7
|
+
export declare const QuantityDescription: ({ free_budget, max }: QuantityDescriptionProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { QuantityDescription, type QuantityDescriptionProps } from './QuantityDescription';
|
|
1
|
+
export { QuantityDescription, type QuantityDescriptionProps } from './QuantityDescription';
|