@orderingstack/ordering-types 1.0.12 → 1.0.13
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/dist/cjs/kiosk.d.ts +11 -1
- package/dist/esm/kiosk.d.ts +11 -1
- package/package.json +1 -1
package/dist/cjs/kiosk.d.ts
CHANGED
|
@@ -85,6 +85,7 @@ export interface IMenuCategorySectionProps {
|
|
|
85
85
|
export interface IProductConfiguratorProps {
|
|
86
86
|
product: IProduct;
|
|
87
87
|
components: IProductConfiguratorComponents;
|
|
88
|
+
currency: string;
|
|
88
89
|
isOpen?: boolean;
|
|
89
90
|
showDebugState?: boolean;
|
|
90
91
|
lang?: string;
|
|
@@ -93,7 +94,7 @@ export interface IProductConfiguratorProps {
|
|
|
93
94
|
handleClose?: () => void;
|
|
94
95
|
}
|
|
95
96
|
export interface IAddToCartData {
|
|
96
|
-
price:
|
|
97
|
+
price: number;
|
|
97
98
|
quantity: number;
|
|
98
99
|
selected: IProductStateSelected;
|
|
99
100
|
filter: IProductStateFilter;
|
|
@@ -107,10 +108,17 @@ export interface IProductConfiguratorComponents {
|
|
|
107
108
|
export interface IMenuProductRootUIProps {
|
|
108
109
|
product: IProduct;
|
|
109
110
|
countedProductPrice: number;
|
|
111
|
+
countedProductTotalPrice: number;
|
|
110
112
|
productQuantity: number;
|
|
111
113
|
showDebugState?: boolean;
|
|
112
114
|
children: ReactElement;
|
|
115
|
+
validationMap: {
|
|
116
|
+
[selCtx: string]: {
|
|
117
|
+
isValid: boolean;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
113
120
|
isOpen?: boolean;
|
|
121
|
+
currency: string;
|
|
114
122
|
increaseProductQuantity: () => void;
|
|
115
123
|
decreaseProductQuantity: () => void;
|
|
116
124
|
handleOnSubmit: () => void;
|
|
@@ -124,6 +132,7 @@ export interface IMenuOptionsUIProps {
|
|
|
124
132
|
isOnSubmitted: boolean;
|
|
125
133
|
actualQtyCnt: number;
|
|
126
134
|
actualSelCnt: number;
|
|
135
|
+
currency: string;
|
|
127
136
|
children: ReactElement;
|
|
128
137
|
}
|
|
129
138
|
export interface IMenuProductUIProps {
|
|
@@ -142,6 +151,7 @@ export interface IMenuProductUIProps {
|
|
|
142
151
|
counterValue: number;
|
|
143
152
|
handleCounterIncrementQty: () => void;
|
|
144
153
|
handleCounterDecrementQty: () => void;
|
|
154
|
+
currency: string;
|
|
145
155
|
children: ReactElement;
|
|
146
156
|
}
|
|
147
157
|
export interface IMenuItemsUIProps {
|
package/dist/esm/kiosk.d.ts
CHANGED
|
@@ -85,6 +85,7 @@ export interface IMenuCategorySectionProps {
|
|
|
85
85
|
export interface IProductConfiguratorProps {
|
|
86
86
|
product: IProduct;
|
|
87
87
|
components: IProductConfiguratorComponents;
|
|
88
|
+
currency: string;
|
|
88
89
|
isOpen?: boolean;
|
|
89
90
|
showDebugState?: boolean;
|
|
90
91
|
lang?: string;
|
|
@@ -93,7 +94,7 @@ export interface IProductConfiguratorProps {
|
|
|
93
94
|
handleClose?: () => void;
|
|
94
95
|
}
|
|
95
96
|
export interface IAddToCartData {
|
|
96
|
-
price:
|
|
97
|
+
price: number;
|
|
97
98
|
quantity: number;
|
|
98
99
|
selected: IProductStateSelected;
|
|
99
100
|
filter: IProductStateFilter;
|
|
@@ -107,10 +108,17 @@ export interface IProductConfiguratorComponents {
|
|
|
107
108
|
export interface IMenuProductRootUIProps {
|
|
108
109
|
product: IProduct;
|
|
109
110
|
countedProductPrice: number;
|
|
111
|
+
countedProductTotalPrice: number;
|
|
110
112
|
productQuantity: number;
|
|
111
113
|
showDebugState?: boolean;
|
|
112
114
|
children: ReactElement;
|
|
115
|
+
validationMap: {
|
|
116
|
+
[selCtx: string]: {
|
|
117
|
+
isValid: boolean;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
113
120
|
isOpen?: boolean;
|
|
121
|
+
currency: string;
|
|
114
122
|
increaseProductQuantity: () => void;
|
|
115
123
|
decreaseProductQuantity: () => void;
|
|
116
124
|
handleOnSubmit: () => void;
|
|
@@ -124,6 +132,7 @@ export interface IMenuOptionsUIProps {
|
|
|
124
132
|
isOnSubmitted: boolean;
|
|
125
133
|
actualQtyCnt: number;
|
|
126
134
|
actualSelCnt: number;
|
|
135
|
+
currency: string;
|
|
127
136
|
children: ReactElement;
|
|
128
137
|
}
|
|
129
138
|
export interface IMenuProductUIProps {
|
|
@@ -142,6 +151,7 @@ export interface IMenuProductUIProps {
|
|
|
142
151
|
counterValue: number;
|
|
143
152
|
handleCounterIncrementQty: () => void;
|
|
144
153
|
handleCounterDecrementQty: () => void;
|
|
154
|
+
currency: string;
|
|
145
155
|
children: ReactElement;
|
|
146
156
|
}
|
|
147
157
|
export interface IMenuItemsUIProps {
|