webc-miam 9.3.0 → 10.0.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/3rdpartylicenses.txt +0 -3
- package/interfaces/mealz-interface.ts +4 -15
- package/interfaces/mealz-internal-interface.ts +574 -28
- package/main-es2015.js +1 -1
- package/main-es5.js +1 -1
- package/miam-style.css +1 -1
- package/package.json +1 -1
- package/polyfills-es5.js +1 -1
- package/runtime-es2015.js +1 -1
- package/runtime-es5.js +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
package/3rdpartylicenses.txt
CHANGED
|
@@ -57,8 +57,10 @@ export interface MealzInterface {
|
|
|
57
57
|
recipeCount: () => Observable<number>;
|
|
58
58
|
/**
|
|
59
59
|
* Opens the preview by calling the `openBasket` method of the `recipesService`.
|
|
60
|
+
* @param analyticsPath The path to the analytics event
|
|
61
|
+
* @param selectedTab The tab to select in the preview
|
|
60
62
|
*/
|
|
61
|
-
openPreview: (analyticsPath?: string) => void;
|
|
63
|
+
openPreview: (analyticsPath?: string, selectedTab?: number) => void;
|
|
62
64
|
/**
|
|
63
65
|
* /!\ Debug only: If no-supplier mode is activated, override the base of the transfer url with an other url
|
|
64
66
|
* ex: if transfer url is 'https://test.com/recipes?param1=x,param2=y'
|
|
@@ -124,10 +126,6 @@ export interface MealzInterface {
|
|
|
124
126
|
* Call to enable recipes to display a video instead of their picture, if there is a video for the recipe
|
|
125
127
|
*/
|
|
126
128
|
enableVideoRecipes: () => void;
|
|
127
|
-
/**
|
|
128
|
-
* Call to enable the catalog to display articles, if their are packages that contain any articles
|
|
129
|
-
*/
|
|
130
|
-
enableArticlesInCatalog: () => void;
|
|
131
129
|
/**
|
|
132
130
|
* Call to authorize Mealz to ask for user preferences the first time users view the recipe catalog
|
|
133
131
|
*/
|
|
@@ -147,11 +145,7 @@ export interface MealzInterface {
|
|
|
147
145
|
/**
|
|
148
146
|
* Call to enable SEO (Title and meta tags on recipe display)
|
|
149
147
|
*/
|
|
150
|
-
enableSeo: () => void
|
|
151
|
-
/**
|
|
152
|
-
* Call to enable guests input on my-meals cards
|
|
153
|
-
*/
|
|
154
|
-
enableGuestsInputOnMyMeals: () => void;
|
|
148
|
+
enableSeo: () => void;
|
|
155
149
|
|
|
156
150
|
/**
|
|
157
151
|
* Call to enable collapsing of unavailable products by default
|
|
@@ -203,11 +197,6 @@ export interface MealzInterface {
|
|
|
203
197
|
*/
|
|
204
198
|
getByCoordinates: (latitude: number, longitude: number, radius: number, suppliers: string[]) => Observable<DocumentCollection<PointOfSale>>;
|
|
205
199
|
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* Opens the no supplier onboarding popup
|
|
209
|
-
*/
|
|
210
|
-
openNoSupplierOnboarding: () => void;
|
|
211
200
|
};
|
|
212
201
|
|
|
213
202
|
// ---------------------------------------------------------------------------------------------------
|