ng-miam 9.3.0 → 9.3.1

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.
@@ -3503,7 +3503,7 @@
3503
3503
  EventJourney["EMPTY"] = "";
3504
3504
  })(EventJourney || (EventJourney = {}));
3505
3505
 
3506
- var VERSION = "9.3.0"; // TODO: replace by ##VERSION## and update it in the CI/CD
3506
+ var VERSION = "9.3.1"; // TODO: replace by ##VERSION## and update it in the CI/CD
3507
3507
 
3508
3508
  var ContextRegistryService = /** @class */ (function () {
3509
3509
  function ContextRegistryService() {
@@ -3598,7 +3598,7 @@
3598
3598
  }
3599
3599
  this.alreadyInitialized$.next(true);
3600
3600
  };
3601
- AnalyticsService.prototype.sendEvent = function (name, path, props) {
3601
+ AnalyticsService.prototype.sendEvent = function (name, path, props, journey) {
3602
3602
  if (this.contextRegistryService.disabledAnalytics && this.contextRegistryService.forbidProfiling) {
3603
3603
  return;
3604
3604
  }
@@ -3606,8 +3606,10 @@
3606
3606
  if (environment$1.env === 'dev' && environment$1.analyticsEnabled === false) {
3607
3607
  return;
3608
3608
  }
3609
+ if (!journey) {
3610
+ journey = this.isMealzPage ? EventJourney.MEALZ : EventJourney.EMPTY;
3611
+ }
3609
3612
  // Currently no way to know if it is search or shelves
3610
- var journey = this.isMealzPage ? EventJourney.MEALZ : EventJourney.EMPTY;
3611
3613
  this.callMethodOrAddToQueue(function () { return mealzSharedAnalytics.sendEvent(name, url(path), journey, props); });
3612
3614
  };
3613
3615
  /** ************************************************* SEND EVENT FOR BASKET ACTIONS ************************************************* **/
@@ -8460,7 +8462,7 @@
8460
8462
  };
8461
8463
  this.mealzInternal = {
8462
8464
  analytics: {
8463
- sendEvent: function (name, path, props) { return _this.analyticsService.sendEvent(name, path, props); },
8465
+ sendEvent: function (name, path, props, journey) { return _this.analyticsService.sendEvent(name, path, props, journey); },
8464
8466
  setIsMealzPage: function (isMealzPage) {
8465
8467
  _this.analyticsService.isMealzPage = isMealzPage;
8466
8468
  }
@@ -26833,7 +26835,7 @@
26833
26835
  i0__namespace.ɵɵadvance(1);
26834
26836
  i0__namespace.ɵɵproperty("ngForOf", ctx.sponsorBlocks);
26835
26837
  }
26836
- }, directives: [i2__namespace.NgForOf, SponsorBlockContainerComponent, i2__namespace.NgStyle], styles: [".sponsor-storytelling{border-radius:8px;width:100%;height:-moz-fit-content;height:fit-content;display:grid;grid-template-columns:repeat(10,1fr);grid-template-rows:auto;gap:24px}"], encapsulation: 2, changeDetection: 0 });
26838
+ }, directives: [i2__namespace.NgForOf, SponsorBlockContainerComponent, i2__namespace.NgStyle], styles: [".sponsor-storytelling{border-radius:8px;width:100%;height:-moz-fit-content;height:fit-content;display:grid;grid-template-columns:repeat(10,1fr);grid-template-rows:auto;gap:0 24px}"], encapsulation: 2, changeDetection: 0 });
26837
26839
  (function () {
26838
26840
  (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(SponsorStorytellingComponent, [{
26839
26841
  type: i0.Component,