ng-miam 8.8.14 → 8.8.15

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.
@@ -25998,10 +25998,11 @@
25998
25998
  }
25999
25999
  var NoSupplierOnboardingComponent = /** @class */ (function (_super) {
26000
26000
  __extends(NoSupplierOnboardingComponent, _super);
26001
- function NoSupplierOnboardingComponent(storeLocatoreService, cdr, analyticsService) {
26001
+ function NoSupplierOnboardingComponent(storeLocatoreService, cdr, elRef, analyticsService) {
26002
26002
  var _this = _super.call(this, analyticsService) || this;
26003
26003
  _this.storeLocatoreService = storeLocatoreService;
26004
26004
  _this.cdr = cdr;
26005
+ _this.elRef = elRef;
26005
26006
  _this.analyticsService = analyticsService;
26006
26007
  _this.display = false;
26007
26008
  _this.step = 1;
@@ -26035,6 +26036,13 @@
26035
26036
  this.sendEvent(this.analyticsService.EVENT_ONBOARDING_ACTION);
26036
26037
  this.confirm();
26037
26038
  };
26039
+ NoSupplierOnboardingComponent.prototype.onConfirmButtonClick = function () {
26040
+ this.elRef.nativeElement.dispatchEvent(new CustomEvent('mealz-onboarding-confirm-select-store', {
26041
+ bubbles: true,
26042
+ composed: true
26043
+ }));
26044
+ this.onConfirm();
26045
+ };
26038
26046
  NoSupplierOnboardingComponent.prototype.onClose = function () {
26039
26047
  this.sendEvent(this.analyticsService.EVENT_ONBOARDING_CLOSE);
26040
26048
  this.onConfirm();
@@ -26055,7 +26063,7 @@
26055
26063
  };
26056
26064
  return NoSupplierOnboardingComponent;
26057
26065
  }(EventTracerComponent));
26058
- NoSupplierOnboardingComponent.ɵfac = function NoSupplierOnboardingComponent_Factory(t) { return new (t || NoSupplierOnboardingComponent)(i0__namespace.ɵɵdirectiveInject(StoreLocatorService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(AnalyticsService)); };
26066
+ NoSupplierOnboardingComponent.ɵfac = function NoSupplierOnboardingComponent_Factory(t) { return new (t || NoSupplierOnboardingComponent)(i0__namespace.ɵɵdirectiveInject(StoreLocatorService), i0__namespace.ɵɵdirectiveInject(i0__namespace.ChangeDetectorRef), i0__namespace.ɵɵdirectiveInject(i0__namespace.ElementRef), i0__namespace.ɵɵdirectiveInject(AnalyticsService)); };
26059
26067
  NoSupplierOnboardingComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: NoSupplierOnboardingComponent, selectors: [["ng-miam-no-supplier-onboarding"]], features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 25, vars: 27, consts: function () {
26060
26068
  var i18n_0;
26061
26069
  if (typeof ngI18nClosureMode !== "undefined" && ngI18nClosureMode) {
@@ -26157,7 +26165,7 @@
26157
26165
  }, template: function NoSupplierOnboardingComponent_Template(rf, ctx) {
26158
26166
  if (rf & 1) {
26159
26167
  i0__namespace.ɵɵelementStart(0, "ng-miam-modal", 0);
26160
- i0__namespace.ɵɵlistener("confirm", function NoSupplierOnboardingComponent_Template_ng_miam_modal_confirm_0_listener() { return ctx.onConfirm(); })("close", function NoSupplierOnboardingComponent_Template_ng_miam_modal_close_0_listener() { return ctx.onClose(); });
26168
+ i0__namespace.ɵɵlistener("confirm", function NoSupplierOnboardingComponent_Template_ng_miam_modal_confirm_0_listener() { return ctx.onConfirmButtonClick(); })("close", function NoSupplierOnboardingComponent_Template_ng_miam_modal_close_0_listener() { return ctx.onClose(); });
26161
26169
  i0__namespace.ɵɵelementStart(1, "div", 1);
26162
26170
  i0__namespace.ɵɵelementStart(2, "div", 2);
26163
26171
  i0__namespace.ɵɵelementStart(3, "span", 3);
@@ -26242,7 +26250,7 @@
26242
26250
  encapsulation: i0.ViewEncapsulation.None,
26243
26251
  changeDetection: i0.ChangeDetectionStrategy.OnPush
26244
26252
  }]
26245
- }], function () { return [{ type: StoreLocatorService }, { type: i0__namespace.ChangeDetectorRef }, { type: AnalyticsService }]; }, null);
26253
+ }], function () { return [{ type: StoreLocatorService }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.ElementRef }, { type: AnalyticsService }]; }, null);
26246
26254
  })();
26247
26255
  var templateObject_1$1, templateObject_2$1, templateObject_3$1, templateObject_4$1, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12;
26248
26256