webc-miam 8.1.2 → 8.1.4
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/miam-interface.ts +7 -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
|
@@ -131,6 +131,7 @@ export interface MiamInterface {
|
|
|
131
131
|
* or to show your point of sale picker if the user has not chosen one
|
|
132
132
|
*/
|
|
133
133
|
setHookCallback: (callback: (isLogged, isPosValid) => boolean) => void;
|
|
134
|
+
setForcePosCallback: (callback: (posExtId: string) => boolean) => void;
|
|
134
135
|
};
|
|
135
136
|
|
|
136
137
|
// ---------------------------------------------------------------------------------------------------
|
|
@@ -261,4 +262,10 @@ export interface MiamInterface {
|
|
|
261
262
|
* @param url of the new icon
|
|
262
263
|
*/
|
|
263
264
|
overrideIcon: (icon, url: string) => void;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Pass a callback that returns the default scroll container of the page so mealz modal can block the scroll when opened
|
|
268
|
+
* Default callback returns document.body
|
|
269
|
+
*/
|
|
270
|
+
setDefaultScrollElementGetter: (callback: () => HTMLElement) => void;
|
|
264
271
|
}
|