webc-miam 10.1.0 → 10.2.0
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/interfaces/mealz-internal-interface.ts +26 -4
- package/main-es2015.js +1 -1
- package/main-es5.js +1 -1
- package/package.json +1 -1
- package/webc-miam-de.js +1 -1
- package/webc-miam-en.js +1 -1
- package/webc-miam-es.js +1 -1
- package/webc-miam-fr.js +1 -1
- package/webc-miam-it.js +1 -1
- package/webc-miam-nl.js +1 -1
- package/webc-miam-pt.js +1 -1
- package/webc-miam-ro.js +1 -1
|
@@ -77,21 +77,43 @@ export interface MealzInternalInterface {
|
|
|
77
77
|
entries$: () => Observable<BasketEntry[]>;
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
80
|
+
* Refresh the current basket state and emit updated basket
|
|
81
81
|
*/
|
|
82
|
+
refreshCurrentBasket: () => Observable<Basket>;
|
|
82
83
|
|
|
83
|
-
|
|
84
|
+
/**
|
|
85
|
+
* if false, don't show the product section in the basket preview
|
|
86
|
+
*/
|
|
87
|
+
|
|
88
|
+
displayProductsInBasket: () => boolean;
|
|
84
89
|
|
|
85
90
|
/**
|
|
86
91
|
* Emits the list of basket-entries to add to retailer cart
|
|
87
92
|
*/
|
|
88
93
|
updateRetailerBasketFromPlanner: () => void;
|
|
94
|
+
};
|
|
89
95
|
|
|
96
|
+
basketTransfer: {
|
|
90
97
|
/**
|
|
91
|
-
*
|
|
98
|
+
* Exposes the transfer-in-progress state
|
|
92
99
|
*/
|
|
100
|
+
basketIsBeingTransferred: BehaviorSubject<boolean>;
|
|
93
101
|
|
|
94
|
-
|
|
102
|
+
/**
|
|
103
|
+
* Abort the transfer (reloads basket)
|
|
104
|
+
*/
|
|
105
|
+
abortTransfer: () => Observable<void>;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Navigate to the transfer URL stored in session
|
|
109
|
+
*/
|
|
110
|
+
navigateToTransferUrl: () => void;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* transfer basket to supplier
|
|
114
|
+
*/
|
|
115
|
+
|
|
116
|
+
transfer: () => void;
|
|
95
117
|
};
|
|
96
118
|
|
|
97
119
|
// ---------------------------------------------------------------------------------------------------
|