ng-miam 9.3.19 → 9.3.20
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/bundles/ng-miam.umd.js +19 -1
- package/bundles/ng-miam.umd.js.map +1 -1
- package/bundles/ng-miam.umd.min.js +1 -1
- package/bundles/ng-miam.umd.min.js.map +1 -1
- package/esm2015/lib/_services/context.service.js +19 -1
- package/esm2015/lib/environments/version.js +2 -2
- package/fesm2015/ng-miam.js +19 -1
- package/fesm2015/ng-miam.js.map +1 -1
- package/lib/_services/context.service.d.ts +2 -0
- package/lib/_services/context.service.d.ts.map +1 -1
- package/lib/environments/version.d.ts +1 -1
- package/package.json +1 -1
package/bundles/ng-miam.umd.js
CHANGED
|
@@ -3652,7 +3652,7 @@
|
|
|
3652
3652
|
EventJourney["EMPTY"] = "";
|
|
3653
3653
|
})(EventJourney || (EventJourney = {}));
|
|
3654
3654
|
|
|
3655
|
-
var VERSION = "9.3.
|
|
3655
|
+
var VERSION = "9.3.20"; // TODO: replace by ##VERSION## and update it in the CI/CD
|
|
3656
3656
|
|
|
3657
3657
|
var ContextRegistryService = /** @class */ (function () {
|
|
3658
3658
|
function ContextRegistryService() {
|
|
@@ -9033,11 +9033,29 @@
|
|
|
9033
9033
|
}), operators.switchMap(function () { return _this.userService.setUserInfo(forbidProfiling); }));
|
|
9034
9034
|
};
|
|
9035
9035
|
ContextService.prototype.loadStoreLocatorPackage = function () {
|
|
9036
|
+
this.loadStoreLocatorScript();
|
|
9037
|
+
this.loadStoreLocatorCss();
|
|
9038
|
+
};
|
|
9039
|
+
ContextService.prototype.loadStoreLocatorScript = function () {
|
|
9036
9040
|
var storeLocatorScript = document.createElement('script');
|
|
9037
9041
|
storeLocatorScript.setAttribute('type', 'module');
|
|
9042
|
+
storeLocatorScript.setAttribute('id', 'mealz-store-locator-script');
|
|
9038
9043
|
storeLocatorScript.setAttribute('src', environment$1.mealzComponents + "/store-locator/store-locator.min.js");
|
|
9044
|
+
if (document.getElementById('mealz-store-locator-script')) {
|
|
9045
|
+
return;
|
|
9046
|
+
}
|
|
9039
9047
|
document.head.appendChild(storeLocatorScript);
|
|
9040
9048
|
};
|
|
9049
|
+
ContextService.prototype.loadStoreLocatorCss = function () {
|
|
9050
|
+
var storeLocatorCss = document.createElement('link');
|
|
9051
|
+
storeLocatorCss.setAttribute('rel', 'stylesheet');
|
|
9052
|
+
storeLocatorCss.setAttribute('id', 'mealz-store-locator-css');
|
|
9053
|
+
storeLocatorCss.setAttribute('href', environment$1.mealzComponents + "/store-locator/store-locator.css");
|
|
9054
|
+
if (document.getElementById('mealz-store-locator-css')) {
|
|
9055
|
+
return;
|
|
9056
|
+
}
|
|
9057
|
+
document.head.appendChild(storeLocatorCss);
|
|
9058
|
+
};
|
|
9041
9059
|
ContextService.prototype.generateAuthlessIdIfNecessary = function () {
|
|
9042
9060
|
var _this = this;
|
|
9043
9061
|
return this.userService.generatingAuthlessId$.pipe(operators.debounceTime(800), operators.take(1), operators.switchMap(function (isGenerating) {
|