webc-miam 10.8.0 → 10.10.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-interface.ts +6 -0
- package/interfaces/mealz-internal-interface.ts +4 -0
- 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
|
@@ -182,6 +182,12 @@ export interface MealzInterface {
|
|
|
182
182
|
* @deprecated Not used anymore
|
|
183
183
|
*/
|
|
184
184
|
collapseUnavailableProductsByDefault: () => void;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Enable or disable the advertising disclosure modal opened by clicking the "Sponsorisé" badge on product cards.
|
|
188
|
+
* Defaults to disabled; call with `true` for retailers who must display this interaction.
|
|
189
|
+
*/
|
|
190
|
+
enableSponsoredBadgeModal: (enabled: boolean) => void;
|
|
185
191
|
};
|
|
186
192
|
|
|
187
193
|
// ---------------------------------------------------------------------------------------------------
|
|
@@ -127,6 +127,10 @@ export interface MealzInternalInterface {
|
|
|
127
127
|
|
|
128
128
|
config: {
|
|
129
129
|
logLevel: Observable<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Emits whether the sponsored badge opens the advertising disclosure modal (set by `features.enableSponsoredBadgeModal`)
|
|
132
|
+
*/
|
|
133
|
+
sponsoredBadgeModalEnabled$: BehaviorSubject<boolean>;
|
|
130
134
|
};
|
|
131
135
|
|
|
132
136
|
// ---------------------------------------------------------------------------------------------------
|