@indigina/kendo 2.0.15 → 2.0.17

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.
@@ -2854,8 +2854,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
2854
2854
  }] });
2855
2855
 
2856
2856
  class ConfirmDialogComponent {
2857
- constructor(dialogService) {
2857
+ constructor(dialogService, viewContainerRef) {
2858
2858
  this.dialogService = dialogService;
2859
+ this.viewContainerRef = viewContainerRef;
2859
2860
  }
2860
2861
  cancel() {
2861
2862
  this.dialog.close();
@@ -2870,15 +2871,16 @@ class ConfirmDialogComponent {
2870
2871
  this.dialog = this.dialogService.open({
2871
2872
  content,
2872
2873
  actions: this.dialogActions,
2874
+ appendTo: this.viewContainerRef,
2873
2875
  });
2874
2876
  }
2875
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ConfirmDialogComponent, deps: [{ token: i2$3.DialogService }], target: i0.ɵɵFactoryTarget.Component }); }
2877
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ConfirmDialogComponent, deps: [{ token: i2$3.DialogService }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component }); }
2876
2878
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: ConfirmDialogComponent, isStandalone: false, selector: "confirm-dialog", viewQueries: [{ propertyName: "dialogActions", first: true, predicate: ["dialogActions"], descendants: true, static: true }], ngImport: i0, template: "<ng-template #dialogActions>\n <button kendoButton (click)=\"cancel()\" translate=\"Cancel\"></button>\n <button kendoButton (click)=\"confirm()\" translate=\"Confirm\"></button>\n</ng-template>\n<div kendoDialogContainer></div>\n", dependencies: [{ kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "directive", type: i2$3.DialogContainerDirective, selector: "[kendoDialogContainer]" }] }); }
2877
2879
  }
2878
2880
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ConfirmDialogComponent, decorators: [{
2879
2881
  type: Component,
2880
2882
  args: [{ selector: 'confirm-dialog', standalone: false, template: "<ng-template #dialogActions>\n <button kendoButton (click)=\"cancel()\" translate=\"Cancel\"></button>\n <button kendoButton (click)=\"confirm()\" translate=\"Confirm\"></button>\n</ng-template>\n<div kendoDialogContainer></div>\n" }]
2881
- }], ctorParameters: () => [{ type: i2$3.DialogService }], propDecorators: { dialogActions: [{
2883
+ }], ctorParameters: () => [{ type: i2$3.DialogService }, { type: i0.ViewContainerRef }], propDecorators: { dialogActions: [{
2882
2884
  type: ViewChild,
2883
2885
  args: ['dialogActions', { static: true }]
2884
2886
  }] } });