delivapp-ordering 0.0.111 → 0.0.113

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.
@@ -3,39 +3,155 @@ import './style.scss';
3
3
  export type IconProps = Omit<Partial<HTMLProps<SVGElement>>, 'size'> & {
4
4
  size?: 'big' | 'small' | 'default' | number | string;
5
5
  };
6
- export declare const IconTrash: (props: IconProps) => React.JSX.Element;
7
- export declare const IconStar: (props: IconProps) => React.JSX.Element;
8
- export declare const IconStarBorder: (props: IconProps) => React.JSX.Element;
9
- export declare const IconVegan: (props: IconProps) => React.JSX.Element;
10
- export declare const IconSpicy: (props: IconProps) => React.JSX.Element;
11
- export declare const IconNoGluten: (props: IconProps) => React.JSX.Element;
12
- export declare const IconSearch: (props: IconProps) => React.JSX.Element;
13
- export declare const IconCart: (props: IconProps) => React.JSX.Element;
14
- export declare const IconBicycle: (props: IconProps) => React.JSX.Element;
15
- export declare const IconClockAfternoon: (props: IconProps) => React.JSX.Element;
16
- export declare const IconClose: (props: IconProps) => React.JSX.Element;
17
- export declare const IconMapPin: (props: IconProps) => React.JSX.Element;
18
- export declare const IconPersonSimpleWalk: (props: IconProps) => React.JSX.Element;
19
- export declare const IconSparkle: (props: IconProps) => React.JSX.Element;
20
- export declare const IconPlay: (props: IconProps) => React.JSX.Element;
21
- export declare const IconPause: (props: IconProps) => React.JSX.Element;
22
- export declare const IconMute: (props: IconProps) => React.JSX.Element;
23
- export declare const IconUnmute: (props: IconProps) => React.JSX.Element;
24
- export declare const IconPlus: (props: IconProps) => React.JSX.Element;
25
- export declare const IconMinus: (props: IconProps) => React.JSX.Element;
26
- export declare const IconWarning: (props: IconProps) => React.JSX.Element;
27
- export declare const IconGift: (props: IconProps) => React.JSX.Element;
28
- export declare const IconPercent: (props: IconProps) => React.JSX.Element;
29
- export declare const IconMoto: (props: IconProps) => React.JSX.Element;
30
- export declare const IconDone: (props: IconProps) => React.JSX.Element;
31
- export declare const IconCutlery: (props: IconProps) => React.JSX.Element;
32
- export declare const IconEditPen: (props: IconProps) => React.JSX.Element;
33
- export declare const IconWeighted: (props: IconProps) => React.JSX.Element;
34
- export declare const IconImportant: (props: IconProps) => React.JSX.Element;
35
- export declare const IconDinein: (props: IconProps) => React.JSX.Element;
36
- export declare const IconLeftOption: (props: IconProps) => React.JSX.Element;
37
- export declare const IconRightOption: (props: IconProps) => React.JSX.Element;
38
- export declare const IconWholeOption: (props: IconProps) => React.JSX.Element;
39
- export declare const IconGiftCard: (props: IconProps) => React.JSX.Element;
40
- export declare const IconMan: (props: IconProps) => React.JSX.Element;
41
- export declare const IconCarbonScooter: (props: IconProps) => React.JSX.Element;
6
+ export declare const IconTrash: {
7
+ (props: IconProps): React.JSX.Element;
8
+ displayName: string;
9
+ };
10
+ export declare const IconStar: {
11
+ (props: IconProps): React.JSX.Element;
12
+ displayName: string;
13
+ };
14
+ export declare const IconStarBorder: {
15
+ (props: IconProps): React.JSX.Element;
16
+ displayName: string;
17
+ };
18
+ export declare const IconVegan: {
19
+ (props: IconProps): React.JSX.Element;
20
+ displayName: string;
21
+ };
22
+ export declare const IconSpicy: {
23
+ (props: IconProps): React.JSX.Element;
24
+ displayName: string;
25
+ };
26
+ export declare const IconNoGluten: {
27
+ (props: IconProps): React.JSX.Element;
28
+ displayName: string;
29
+ };
30
+ export declare const IconSearch: {
31
+ (props: IconProps): React.JSX.Element;
32
+ displayName: string;
33
+ };
34
+ export declare const IconCart: {
35
+ (props: IconProps): React.JSX.Element;
36
+ displayName: string;
37
+ };
38
+ export declare const IconBicycle: {
39
+ (props: IconProps): React.JSX.Element;
40
+ displayName: string;
41
+ };
42
+ export declare const IconClockAfternoon: {
43
+ (props: IconProps): React.JSX.Element;
44
+ displayName: string;
45
+ };
46
+ export declare const IconClose: {
47
+ (props: IconProps): React.JSX.Element;
48
+ displayName: string;
49
+ };
50
+ export declare const IconMapPin: {
51
+ (props: IconProps): React.JSX.Element;
52
+ displayName: string;
53
+ };
54
+ export declare const IconPersonSimpleWalk: {
55
+ (props: IconProps): React.JSX.Element;
56
+ displayName: string;
57
+ };
58
+ export declare const IconSparkle: {
59
+ (props: IconProps): React.JSX.Element;
60
+ displayName: string;
61
+ };
62
+ export declare const IconPlay: {
63
+ (props: IconProps): React.JSX.Element;
64
+ displayName: string;
65
+ };
66
+ export declare const IconPause: {
67
+ (props: IconProps): React.JSX.Element;
68
+ displayName: string;
69
+ };
70
+ export declare const IconMute: {
71
+ (props: IconProps): React.JSX.Element;
72
+ displayName: string;
73
+ };
74
+ export declare const IconUnmute: {
75
+ (props: IconProps): React.JSX.Element;
76
+ displayName: string;
77
+ };
78
+ export declare const IconPlus: {
79
+ (props: IconProps): React.JSX.Element;
80
+ displayName: string;
81
+ };
82
+ export declare const IconMinus: {
83
+ (props: IconProps): React.JSX.Element;
84
+ displayName: string;
85
+ };
86
+ export declare const IconWarning: {
87
+ (props: IconProps): React.JSX.Element;
88
+ displayName: string;
89
+ };
90
+ export declare const IconGift: {
91
+ (props: IconProps): React.JSX.Element;
92
+ displayName: string;
93
+ };
94
+ export declare const IconPercent: {
95
+ (props: IconProps): React.JSX.Element;
96
+ displayName: string;
97
+ };
98
+ export declare const IconMoto: {
99
+ (props: IconProps): React.JSX.Element;
100
+ displayName: string;
101
+ };
102
+ export declare const IconDone: {
103
+ (props: IconProps): React.JSX.Element;
104
+ displayName: string;
105
+ };
106
+ export declare const IconCutlery: {
107
+ (props: IconProps): React.JSX.Element;
108
+ displayName: string;
109
+ };
110
+ export declare const IconEditPen: {
111
+ (props: IconProps): React.JSX.Element;
112
+ displayName: string;
113
+ };
114
+ export declare const IconWeighted: {
115
+ (props: IconProps): React.JSX.Element;
116
+ displayName: string;
117
+ };
118
+ export declare const IconImportant: {
119
+ (props: IconProps): React.JSX.Element;
120
+ displayName: string;
121
+ };
122
+ export declare const IconDinein: {
123
+ (props: IconProps): React.JSX.Element;
124
+ displayName: string;
125
+ };
126
+ export declare const IconLeftOption: {
127
+ (props: IconProps): React.JSX.Element;
128
+ displayName: string;
129
+ };
130
+ export declare const IconRightOption: {
131
+ (props: IconProps): React.JSX.Element;
132
+ displayName: string;
133
+ };
134
+ export declare const IconWholeOption: {
135
+ (props: IconProps): React.JSX.Element;
136
+ displayName: string;
137
+ };
138
+ export declare const IconGiftCard: {
139
+ (props: IconProps): React.JSX.Element;
140
+ displayName: string;
141
+ };
142
+ export declare const IconMan: {
143
+ (props: IconProps): React.JSX.Element;
144
+ displayName: string;
145
+ };
146
+ export declare const IconCarbonScooter: {
147
+ (props: IconProps): React.JSX.Element;
148
+ displayName: string;
149
+ };
150
+ export declare const IconShare: {
151
+ (props: IconProps): React.JSX.Element;
152
+ displayName: string;
153
+ };
154
+ export declare const IconClearCart: {
155
+ (props: IconProps): React.JSX.Element;
156
+ displayName: string;
157
+ };
@@ -18,6 +18,8 @@ export interface OrderSummaryWithProductsProps extends OrderSummaryProps {
18
18
  onChangeQuantity: (v: number, product: Product, index: number) => void;
19
19
  onClickProduct: (index: number) => void;
20
20
  onRemove: (v: number) => void;
21
+ onShare: () => void;
22
+ onClearCart: () => void;
21
23
  }
22
24
  export declare const OrderSummaryWithProducts: (props: OrderSummaryWithProductsProps) => React.JSX.Element;
23
25
  export {};
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
2
  import { ISuboption } from '../SuboptionSelector';
3
- export declare const SuboptionSummary: (suboptions: ISuboption[]) => React.JSX.Element;
3
+ import { CURRENCY } from 'enums/enums';
4
+ export declare const SuboptionSummary: (suboptions: ISuboption[], withHalfOption: boolean, currency: CURRENCY) => React.JSX.Element;
@@ -24,7 +24,7 @@ export declare const getSummaryProduct: (ingredient: IOption, options: IOption[]
24
24
  quantity: number;
25
25
  amountDiff: number;
26
26
  currency: CURRENCY;
27
- } | null, translations: ITranslation) => {
27
+ }, currency: CURRENCY, translations: ITranslation) => {
28
28
  name: string;
29
29
  value: string | any;
30
30
  index: number;