@covalent/core 11.0.0-beta.2 → 11.0.0-beta.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.
@@ -1,19 +1,19 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, Component, ContentChildren, ElementRef, ViewChild, Injectable, Inject, EventEmitter, ChangeDetectionStrategy, Output, Input, NgModule } from '@angular/core';
3
- import * as i2 from '@angular/common';
2
+ import { Directive, Component, ContentChildren, inject, NgZone, ElementRef, ViewChild, RendererFactory2, Injectable, EventEmitter, ChangeDetectionStrategy, Output, Input, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
4
  import { CommonModule, DOCUMENT } from '@angular/common';
5
- import * as i1 from '@angular/material/dialog';
6
- import { MatDialogModule, MatDialogConfig } from '@angular/material/dialog';
7
- import * as i3 from '@angular/material/button';
5
+ import * as i2 from '@angular/material/dialog';
6
+ import { MatDialogModule, MatDialogRef, MatDialog, MatDialogConfig } from '@angular/material/dialog';
7
+ import * as i2$1 from '@angular/material/button';
8
8
  import { MatButtonModule, MatButton, MatIconButton } from '@angular/material/button';
9
9
  import { RIGHT_ARROW, LEFT_ARROW } from '@angular/cdk/keycodes';
10
10
  import { Subject, fromEvent, takeUntil, merge } from 'rxjs';
11
- import * as i3$1 from '@angular/forms';
11
+ import * as i2$2 from '@angular/forms';
12
12
  import { FormsModule } from '@angular/forms';
13
13
  import { MatFormField } from '@angular/material/form-field';
14
14
  import { MatInput } from '@angular/material/input';
15
15
  import { MatIcon } from '@angular/material/icon';
16
- import * as i2$1 from '@angular/cdk/drag-drop';
16
+ import { DragDrop } from '@angular/cdk/drag-drop';
17
17
  import { MatToolbar, MatToolbarRow } from '@angular/material/toolbar';
18
18
  import { MatTooltip } from '@angular/material/tooltip';
19
19
 
@@ -117,7 +117,7 @@ class TdDialogComponent {
117
117
  i0.ɵɵproperty("ngIf", ctx.dialogContent.length > 0);
118
118
  i0.ɵɵadvance();
119
119
  i0.ɵɵproperty("ngIf", ctx.dialogActions.length > 0);
120
- } }, dependencies: [CommonModule, i2.NgIf, MatDialogModule, i1.MatDialogTitle, i1.MatDialogActions, i1.MatDialogContent], styles: [".td-dialog[_ngcontent-%COMP%]{width:100%}.td-dialog-wrapper[_ngcontent-%COMP%]{display:flex}.td-dialog-actions[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex}.td-dialog-actions[_ngcontent-%COMP%] .td-dialog-spacer[_ngcontent-%COMP%]{flex:1}.td-dialog-actions[_ngcontent-%COMP%] button{text-transform:uppercase;margin-left:8px;padding-left:8px;padding-right:8px;min-width:64px}[dir=rtl][_ngcontent-%COMP%] .td-dialog-actions[_ngcontent-%COMP%] button{margin-right:8px;margin-left:inherit}.td-dialog-actions[_ngcontent-%COMP%] .td-status-dialog___button{padding:9px 16px}@media screen and (max-width: 480px){.td-dialog-wrapper[_ngcontent-%COMP%]{flex-direction:column}}"] });
120
+ } }, dependencies: [CommonModule, i1.NgIf, MatDialogModule, i2.MatDialogTitle, i2.MatDialogActions, i2.MatDialogContent], styles: [".td-dialog[_ngcontent-%COMP%]{width:100%}.td-dialog-wrapper[_ngcontent-%COMP%]{display:flex}.td-dialog-actions[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex}.td-dialog-actions[_ngcontent-%COMP%] .td-dialog-spacer[_ngcontent-%COMP%]{flex:1}.td-dialog-actions[_ngcontent-%COMP%] button{text-transform:uppercase;margin-left:8px;padding-left:8px;padding-right:8px;min-width:64px}[dir=rtl][_ngcontent-%COMP%] .td-dialog-actions[_ngcontent-%COMP%] button{margin-right:8px;margin-left:inherit}.td-dialog-actions[_ngcontent-%COMP%] .td-status-dialog___button{padding:9px 16px}@media screen and (max-width: 480px){.td-dialog-wrapper[_ngcontent-%COMP%]{flex-direction:column}}"] });
121
121
  }
122
122
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdDialogComponent, [{
123
123
  type: Component,
@@ -147,17 +147,14 @@ function TdAlertDialogComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
147
147
  i0.ɵɵtextInterpolate(ctx_r0.title);
148
148
  } }
149
149
  class TdAlertDialogComponent {
150
- _dialogRef;
150
+ _dialogRef = inject(MatDialogRef);
151
151
  title;
152
152
  message;
153
153
  closeButton = 'CLOSE';
154
- constructor(_dialogRef) {
155
- this._dialogRef = _dialogRef;
156
- }
157
154
  close() {
158
155
  this._dialogRef.close();
159
156
  }
160
- static ɵfac = function TdAlertDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdAlertDialogComponent)(i0.ɵɵdirectiveInject(i1.MatDialogRef)); };
157
+ static ɵfac = function TdAlertDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdAlertDialogComponent)(); };
161
158
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdAlertDialogComponent, selectors: [["td-alert-dialog"]], decls: 8, vars: 3, consts: [["tdDialogTitle", "", 4, "ngIf"], ["tdDialogContent", ""], [1, "td-dialog-message"], ["tdDialogActions", ""], ["mat-button", "", "color", "accent", 3, "click"], ["tdDialogTitle", ""]], template: function TdAlertDialogComponent_Template(rf, ctx) { if (rf & 1) {
162
159
  i0.ɵɵelementStart(0, "td-dialog");
163
160
  i0.ɵɵtemplate(1, TdAlertDialogComponent_ng_container_1_Template, 2, 1, "ng-container", 0);
@@ -180,13 +177,23 @@ class TdAlertDialogComponent {
180
177
  i0.ɵɵtextInterpolate(ctx.message);
181
178
  i0.ɵɵadvance(3);
182
179
  i0.ɵɵtextInterpolate1(" ", ctx.closeButton, " ");
183
- } }, dependencies: [CommonModule, i2.NgIf, MatButtonModule, i3.MatButton, TdDialogComponent, TdDialogTitleDirective, TdDialogContentDirective, TdDialogActionsDirective], styles: [".td-dialog-message[_ngcontent-%COMP%]{word-break:break-word}"] });
180
+ } }, dependencies: [CommonModule, i1.NgIf, MatButtonModule, i2$1.MatButton, TdDialogComponent,
181
+ TdDialogTitleDirective,
182
+ TdDialogContentDirective,
183
+ TdDialogActionsDirective], styles: [".td-dialog-message[_ngcontent-%COMP%]{word-break:break-word}"] });
184
184
  }
185
185
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdAlertDialogComponent, [{
186
186
  type: Component,
187
- args: [{ selector: 'td-alert-dialog', imports: [CommonModule, MatButtonModule, TdDialogComponent, TdDialogTitleDirective, TdDialogContentDirective, TdDialogActionsDirective], template: "<td-dialog>\n <ng-container tdDialogTitle *ngIf=\"title\">{{ title }}</ng-container>\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">{{ message }}</span>\n </ng-container>\n <ng-container tdDialogActions>\n <button mat-button color=\"accent\" (click)=\"close()\">\n {{ closeButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: [".td-dialog-message{word-break:break-word}\n"] }]
188
- }], () => [{ type: i1.MatDialogRef }], null); })();
189
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdAlertDialogComponent, { className: "TdAlertDialogComponent", filePath: "alert-dialog/alert-dialog.component.ts", lineNumber: 13 }); })();
187
+ args: [{ selector: 'td-alert-dialog', imports: [
188
+ CommonModule,
189
+ MatButtonModule,
190
+ TdDialogComponent,
191
+ TdDialogTitleDirective,
192
+ TdDialogContentDirective,
193
+ TdDialogActionsDirective,
194
+ ], template: "<td-dialog>\n <ng-container tdDialogTitle *ngIf=\"title\">{{ title }}</ng-container>\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">{{ message }}</span>\n </ng-container>\n <ng-container tdDialogActions>\n <button mat-button color=\"accent\" (click)=\"close()\">\n {{ closeButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: [".td-dialog-message{word-break:break-word}\n"] }]
195
+ }], null, null); })();
196
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdAlertDialogComponent, { className: "TdAlertDialogComponent", filePath: "alert-dialog/alert-dialog.component.ts", lineNumber: 25 }); })();
190
197
 
191
198
  function TdConfirmDialogComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
192
199
  i0.ɵɵelementContainerStart(0, 8);
@@ -198,22 +205,19 @@ function TdConfirmDialogComponent_ng_container_1_Template(rf, ctx) { if (rf & 1)
198
205
  i0.ɵɵtextInterpolate(ctx_r1.title);
199
206
  } }
200
207
  class TdConfirmDialogComponent {
201
- _dialogRef;
208
+ _dialogRef = inject(MatDialogRef);
202
209
  title;
203
210
  message;
204
211
  cancelButton = 'CANCEL';
205
212
  acceptButton = 'ACCEPT';
206
213
  isDestructive = false;
207
- constructor(_dialogRef) {
208
- this._dialogRef = _dialogRef;
209
- }
210
214
  cancel() {
211
215
  this._dialogRef.close(false);
212
216
  }
213
217
  accept() {
214
218
  this._dialogRef.close(true);
215
219
  }
216
- static ɵfac = function TdConfirmDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdConfirmDialogComponent)(i0.ɵɵdirectiveInject(i1.MatDialogRef)); };
220
+ static ɵfac = function TdConfirmDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdConfirmDialogComponent)(); };
217
221
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdConfirmDialogComponent, selectors: [["td-confirm-dialog"]], decls: 12, vars: 5, consts: [["closeBtn", ""], ["acceptBtn", ""], ["tdDialogTitle", "", 4, "ngIf"], ["tdDialogContent", ""], [1, "td-dialog-message"], ["tdDialogActions", ""], ["mat-button", "", 3, "keydown.arrowright", "click"], ["mat-button", "", 3, "keydown.arrowleft", "click", "color"], ["tdDialogTitle", ""]], template: function TdConfirmDialogComponent_Template(rf, ctx) { if (rf & 1) {
218
222
  const _r1 = i0.ɵɵgetCurrentView();
219
223
  i0.ɵɵelementStart(0, "td-dialog");
@@ -245,13 +249,24 @@ class TdConfirmDialogComponent {
245
249
  i0.ɵɵproperty("color", ctx.isDestructive ? "warn" : "accent");
246
250
  i0.ɵɵadvance(2);
247
251
  i0.ɵɵtextInterpolate1(" ", ctx.acceptButton, " ");
248
- } }, dependencies: [CommonModule, i2.NgIf, TdDialogComponent, TdDialogTitleDirective, TdDialogContentDirective, TdDialogActionsDirective, MatButtonModule, i3.MatButton], styles: [".td-dialog-message[_ngcontent-%COMP%]{word-break:break-word}"] });
252
+ } }, dependencies: [CommonModule, i1.NgIf, TdDialogComponent,
253
+ TdDialogTitleDirective,
254
+ TdDialogContentDirective,
255
+ TdDialogActionsDirective,
256
+ MatButtonModule, i2$1.MatButton], styles: [".td-dialog-message[_ngcontent-%COMP%]{word-break:break-word}"] });
249
257
  }
250
258
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdConfirmDialogComponent, [{
251
259
  type: Component,
252
- args: [{ selector: 'td-confirm-dialog', imports: [CommonModule, TdDialogComponent, TdDialogTitleDirective, TdDialogContentDirective, TdDialogActionsDirective, MatButtonModule], template: "<td-dialog>\n <ng-container tdDialogTitle *ngIf=\"title\">{{ title }}</ng-container>\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">{{ message }}</span>\n </ng-container>\n <ng-container tdDialogActions>\n <button\n mat-button\n #closeBtn\n (keydown.arrowright)=\"acceptBtn.focus()\"\n (click)=\"cancel()\"\n >\n {{ cancelButton }}\n </button>\n <button\n mat-button\n [color]=\"isDestructive ? 'warn' : 'accent'\"\n #acceptBtn\n (keydown.arrowleft)=\"closeBtn.focus()\"\n (click)=\"accept()\"\n >\n {{ acceptButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: [".td-dialog-message{word-break:break-word}\n"] }]
253
- }], () => [{ type: i1.MatDialogRef }], null); })();
254
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdConfirmDialogComponent, { className: "TdConfirmDialogComponent", filePath: "confirm-dialog/confirm-dialog.component.ts", lineNumber: 13 }); })();
260
+ args: [{ selector: 'td-confirm-dialog', imports: [
261
+ CommonModule,
262
+ TdDialogComponent,
263
+ TdDialogTitleDirective,
264
+ TdDialogContentDirective,
265
+ TdDialogActionsDirective,
266
+ MatButtonModule,
267
+ ], template: "<td-dialog>\n <ng-container tdDialogTitle *ngIf=\"title\">{{ title }}</ng-container>\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">{{ message }}</span>\n </ng-container>\n <ng-container tdDialogActions>\n <button\n mat-button\n #closeBtn\n (keydown.arrowright)=\"acceptBtn.focus()\"\n (click)=\"cancel()\"\n >\n {{ cancelButton }}\n </button>\n <button\n mat-button\n [color]=\"isDestructive ? 'warn' : 'accent'\"\n #acceptBtn\n (keydown.arrowleft)=\"closeBtn.focus()\"\n (click)=\"accept()\"\n >\n {{ acceptButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: [".td-dialog-message{word-break:break-word}\n"] }]
268
+ }], null, null); })();
269
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdConfirmDialogComponent, { className: "TdConfirmDialogComponent", filePath: "confirm-dialog/confirm-dialog.component.ts", lineNumber: 25 }); })();
255
270
 
256
271
  const _c0$2 = ["input"];
257
272
  const _c1 = ["closeBtn"];
@@ -266,8 +281,8 @@ function TdPromptDialogComponent_ng_container_1_Template(rf, ctx) { if (rf & 1)
266
281
  i0.ɵɵtextInterpolate(ctx_r1.title);
267
282
  } }
268
283
  class TdPromptDialogComponent {
269
- _ngZone;
270
- _dialogRef;
284
+ _ngZone = inject(NgZone);
285
+ _dialogRef = inject(MatDialogRef);
271
286
  title;
272
287
  message;
273
288
  value;
@@ -278,10 +293,6 @@ class TdPromptDialogComponent {
278
293
  _closeBtn;
279
294
  _acceptBtn;
280
295
  _destroy$ = new Subject();
281
- constructor(_ngZone, _dialogRef) {
282
- this._ngZone = _ngZone;
283
- this._dialogRef = _dialogRef;
284
- }
285
296
  ngAfterViewInit() {
286
297
  this._ngZone.runOutsideAngular(() => {
287
298
  // Note: `element.focus()` causes re-layout and this may lead to frame drop on slower devices.
@@ -320,7 +331,7 @@ class TdPromptDialogComponent {
320
331
  accept() {
321
332
  this._dialogRef.close(this.value);
322
333
  }
323
- static ɵfac = function TdPromptDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdPromptDialogComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1.MatDialogRef)); };
334
+ static ɵfac = function TdPromptDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdPromptDialogComponent)(); };
324
335
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdPromptDialogComponent, selectors: [["td-prompt-dialog"]], viewQuery: function TdPromptDialogComponent_Query(rf, ctx) { if (rf & 1) {
325
336
  i0.ɵɵviewQuery(_c0$2, 7);
326
337
  i0.ɵɵviewQuery(_c1, 7, ElementRef);
@@ -368,12 +379,28 @@ class TdPromptDialogComponent {
368
379
  i0.ɵɵproperty("disabled", !form_r3.valid);
369
380
  i0.ɵɵadvance(2);
370
381
  i0.ɵɵtextInterpolate1(" ", ctx.acceptButton, " ");
371
- } }, dependencies: [CommonModule, i2.NgIf, FormsModule, i3$1.ɵNgNoValidate, i3$1.DefaultValueAccessor, i3$1.NgControlStatus, i3$1.NgControlStatusGroup, i3$1.RequiredValidator, i3$1.NgModel, i3$1.NgForm, MatFormField, MatInput, MatButton, TdDialogComponent, TdDialogTitleDirective, TdDialogContentDirective, TdDialogActionsDirective], styles: [".td-dialog-input-wrapper[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex}.td-dialog-input-wrapper[_ngcontent-%COMP%] .td-dialog-input[_ngcontent-%COMP%]{flex:1;box-sizing:border-box}.td-dialog-message[_ngcontent-%COMP%]{word-break:break-word}"] });
382
+ } }, dependencies: [CommonModule, i1.NgIf, FormsModule, i2$2.ɵNgNoValidate, i2$2.DefaultValueAccessor, i2$2.NgControlStatus, i2$2.NgControlStatusGroup, i2$2.RequiredValidator, i2$2.NgModel, i2$2.NgForm, MatFormField,
383
+ MatInput,
384
+ MatButton,
385
+ TdDialogComponent,
386
+ TdDialogTitleDirective,
387
+ TdDialogContentDirective,
388
+ TdDialogActionsDirective], styles: [".td-dialog-input-wrapper[_ngcontent-%COMP%]{flex-direction:row;box-sizing:border-box;display:flex}.td-dialog-input-wrapper[_ngcontent-%COMP%] .td-dialog-input[_ngcontent-%COMP%]{flex:1;box-sizing:border-box}.td-dialog-message[_ngcontent-%COMP%]{word-break:break-word}"] });
372
389
  }
373
390
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdPromptDialogComponent, [{
374
391
  type: Component,
375
- args: [{ selector: 'td-prompt-dialog', imports: [CommonModule, FormsModule, MatFormField, MatInput, MatButton, TdDialogComponent, TdDialogTitleDirective, TdDialogContentDirective, TdDialogActionsDirective], template: "<td-dialog>\n <ng-container tdDialogTitle *ngIf=\"title\">{{ title }}</ng-container>\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">{{ message }}</span>\n <form #form=\"ngForm\" novalidate>\n <div class=\"td-dialog-input-wrapper\">\n <mat-form-field class=\"td-dialog-input\">\n <input\n matInput\n #input\n (keydown.enter)=\"$event.preventDefault(); form.valid && accept()\"\n [(ngModel)]=\"value\"\n name=\"value\"\n required\n />\n </mat-form-field>\n </div>\n </form>\n </ng-container>\n <ng-container tdDialogActions>\n <button mat-button #closeBtn (click)=\"cancel()\">{{ cancelButton }}</button>\n <button\n mat-button\n color=\"accent\"\n #acceptBtn\n [disabled]=\"!form.valid\"\n (click)=\"accept()\"\n >\n {{ acceptButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: [".td-dialog-input-wrapper{flex-direction:row;box-sizing:border-box;display:flex}.td-dialog-input-wrapper .td-dialog-input{flex:1;box-sizing:border-box}.td-dialog-message{word-break:break-word}\n"] }]
376
- }], () => [{ type: i0.NgZone }, { type: i1.MatDialogRef }], { _input: [{
392
+ args: [{ selector: 'td-prompt-dialog', imports: [
393
+ CommonModule,
394
+ FormsModule,
395
+ MatFormField,
396
+ MatInput,
397
+ MatButton,
398
+ TdDialogComponent,
399
+ TdDialogTitleDirective,
400
+ TdDialogContentDirective,
401
+ TdDialogActionsDirective,
402
+ ], template: "<td-dialog>\n <ng-container tdDialogTitle *ngIf=\"title\">{{ title }}</ng-container>\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">{{ message }}</span>\n <form #form=\"ngForm\" novalidate>\n <div class=\"td-dialog-input-wrapper\">\n <mat-form-field class=\"td-dialog-input\">\n <input\n matInput\n #input\n (keydown.enter)=\"$event.preventDefault(); form.valid && accept()\"\n [(ngModel)]=\"value\"\n name=\"value\"\n required\n />\n </mat-form-field>\n </div>\n </form>\n </ng-container>\n <ng-container tdDialogActions>\n <button mat-button #closeBtn (click)=\"cancel()\">{{ cancelButton }}</button>\n <button\n mat-button\n color=\"accent\"\n #acceptBtn\n [disabled]=\"!form.valid\"\n (click)=\"accept()\"\n >\n {{ acceptButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: [".td-dialog-input-wrapper{flex-direction:row;box-sizing:border-box;display:flex}.td-dialog-input-wrapper .td-dialog-input{flex:1;box-sizing:border-box}.td-dialog-message{word-break:break-word}\n"] }]
403
+ }], null, { _input: [{
377
404
  type: ViewChild,
378
405
  args: ['input', { static: true }]
379
406
  }], _closeBtn: [{
@@ -383,7 +410,7 @@ class TdPromptDialogComponent {
383
410
  type: ViewChild,
384
411
  args: ['acceptBtn', { static: true, read: ElementRef }]
385
412
  }] }); })();
386
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdPromptDialogComponent, { className: "TdPromptDialogComponent", filePath: "prompt-dialog/prompt-dialog.component.ts", lineNumber: 25 }); })();
413
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdPromptDialogComponent, { className: "TdPromptDialogComponent", filePath: "prompt-dialog/prompt-dialog.component.ts", lineNumber: 41 }); })();
387
414
 
388
415
  const _c0$1 = (a0, a1) => ({ "td-status-dialog__arrow-icon": true, close: a0, open: a1 });
389
416
  function TdStatusDialogComponent_span_6_Template(rf, ctx) { if (rf & 1) {
@@ -420,7 +447,7 @@ function TdStatusDialogComponent_div_14_Template(rf, ctx) { if (rf & 1) {
420
447
  i0.ɵɵtextInterpolate(ctx_r0.details);
421
448
  } }
422
449
  class TdStatusDialogComponent {
423
- _dialogRef;
450
+ _dialogRef = inject(MatDialogRef);
424
451
  // Label of the close button in the footer
425
452
  closeButton = 'CLOSE';
426
453
  // Message to be displayed in the dialog
@@ -438,9 +465,6 @@ class TdStatusDialogComponent {
438
465
  showDetailsLabel: 'Show details',
439
466
  hideDetailsLabel: 'Hide details',
440
467
  };
441
- constructor(_dialogRef) {
442
- this._dialogRef = _dialogRef;
443
- }
444
468
  close() {
445
469
  this._dialogRef.close();
446
470
  }
@@ -458,7 +482,7 @@ class TdStatusDialogComponent {
458
482
  toggleDetails() {
459
483
  this.showDetails = !this.showDetails;
460
484
  }
461
- static ɵfac = function TdStatusDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdStatusDialogComponent)(i0.ɵɵdirectiveInject(i1.MatDialogRef)); };
485
+ static ɵfac = function TdStatusDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdStatusDialogComponent)(); };
462
486
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TdStatusDialogComponent, selectors: [["td-status-dialog"]], decls: 18, vars: 7, consts: [[1, "td-status-dialog"], ["tdDialogStatus", "", 1, "td-status-dialog-state", 3, "ngClass"], ["tdDialogTitle", ""], [1, "td-status-dialog-title"], ["class", "", 4, "ngIf"], ["mat-icon-button", "", 1, "td-status-dialog__icon-button", 3, "click"], ["tdDialogContent", ""], [1, "td-dialog-message"], ["class", "td-status-dialog__toggle-details", "role", "button", "tabindex", "0", 3, "click", "keydown.enter", 4, "ngIf"], [4, "ngIf"], ["tdDialogActions", ""], ["mat-raised-button", "", "color", "primary", 1, "td-status-dialog___button", 3, "click"], [1, ""], ["role", "button", "tabindex", "0", 1, "td-status-dialog__toggle-details", 3, "click", "keydown.enter"], [3, "ngClass"]], template: function TdStatusDialogComponent_Template(rf, ctx) { if (rf & 1) {
463
487
  i0.ɵɵelementStart(0, "td-dialog", 0)(1, "div", 1)(2, "mat-icon");
464
488
  i0.ɵɵtext(3);
@@ -500,25 +524,39 @@ class TdStatusDialogComponent {
500
524
  i0.ɵɵproperty("ngIf", ctx.showDetails);
501
525
  i0.ɵɵadvance(3);
502
526
  i0.ɵɵtextInterpolate1(" ", ctx.closeButton, " ");
503
- } }, dependencies: [CommonModule, i2.NgClass, i2.NgIf, MatIcon, MatIconButton, MatButton, TdDialogComponent, TdDialogTitleDirective, TdDialogContentDirective, TdDialogActionsDirective, TdDialogStatusDirective], styles: [".mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--cv-theme-surface-container-lowest);border-radius:12px} .td-status-dialog-title{align-items:flex-start;display:inline-flex;justify-content:space-between;width:100%;-webkit-font-smoothing:antialiased} .td-status-dialog-title :first-child{padding-right:40px} [mat-icon-button].td-status-dialog__icon-button{--mdc-icon-button-state-layer-size: 40px;padding:8px;position:absolute;right:8px;top:10px} .td-status-dialog___button{border-radius:8px} .mat-mdc-dialog-container .mdc-dialog__title{padding:18px 16px;line-height:var(--mdc-dialog-supporting-text-line-height)} .mat-mdc-dialog-container .mdc-dialog__title:before{display:none} .mat-mdc-icon-button .mat-mdc-button-base{padding:8px} .mdc-dialog .mdc-dialog__content{padding:0 16px;-webkit-font-smoothing:antialiased} .mdc-dialog__actions{padding:16px}.td-status-dialog[_ngcontent-%COMP%]{width:auto}.td-status-dialog[_ngcontent-%COMP%]:before{padding:14px 16px 0}.td-status-dialog[_ngcontent-%COMP%] .td-dialog-message[_ngcontent-%COMP%]{font-feature-settings:\"clig\" off,\"liga\" off;color:var(--cv-theme-on-surface-variant);line-height:var(--mdc-dialog-supporting-text-line-height)}.td-status-dialog-state[_ngcontent-%COMP%]{padding:14px 16px 0}.td-status-dialog-state[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:var(--mat-toolbar-title-text-line-height);height:var(--mat-toolbar-title-text-line-height);width:var(--mat-toolbar-title-text-line-height);font-variation-settings:\"FILL\" 1}.td-status-dialog-state.error[_ngcontent-%COMP%]{background-color:var(--cv-theme-negative-8)}.td-status-dialog-state.error[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:var(--cv-theme-negative)}.td-status-dialog-state.positive[_ngcontent-%COMP%]{background-color:var(--cv-theme-positive-8)}.td-status-dialog-state.positive[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:var(--cv-theme-positive)}.td-status-dialog-state.warning[_ngcontent-%COMP%]{background-color:var(--cv-theme-caution-8)}.td-status-dialog-state.warning[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:var(--cv-theme-caution)}.td-status-dialog__toggle-details[_ngcontent-%COMP%]{align-items:center;color:var(--cv-theme-primary);cursor:pointer;display:flex;font-size:var(--mat-expansion-container-text-size);letter-spacing:.25px;line-height:var(--mat-expansion-container-text-line-height);padding:16px 0}.td-status-dialog__arrow-icon[_ngcontent-%COMP%]{margin-top:2px}.td-status-dialog__arrow-icon.open[_ngcontent-%COMP%]{transform:rotate(0);transition:transform .25s ease-out}.td-status-dialog__arrow-icon.close[_ngcontent-%COMP%]{transform:rotate(180deg);transition:transform .25s ease-in}@media screen and (max-width: 480px){[_nghost-%COMP%] .td-status-dialog-state[_ngcontent-%COMP%]{padding:4px}[_nghost-%COMP%] .td-status-dialog-state[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .td-status-dialog-state.error[_ngcontent-%COMP%]{background-color:var(--cv-theme-negative)}[_nghost-%COMP%] .td-status-dialog-state.positive[_ngcontent-%COMP%]{background-color:var(--cv-theme-positive)}[_nghost-%COMP%] .td-status-dialog-state.warning[_ngcontent-%COMP%]{background-color:var(--cv-theme-caution)}}"] });
527
+ } }, dependencies: [CommonModule, i1.NgClass, i1.NgIf, MatIcon,
528
+ MatIconButton,
529
+ MatButton,
530
+ TdDialogComponent,
531
+ TdDialogTitleDirective,
532
+ TdDialogContentDirective,
533
+ TdDialogActionsDirective,
534
+ TdDialogStatusDirective], styles: [".mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--cv-theme-surface-container-lowest);border-radius:12px} .td-status-dialog-title{align-items:flex-start;display:inline-flex;justify-content:space-between;width:100%;-webkit-font-smoothing:antialiased} .td-status-dialog-title :first-child{padding-right:40px} [mat-icon-button].td-status-dialog__icon-button{--mdc-icon-button-state-layer-size: 40px;padding:8px;position:absolute;right:8px;top:10px} .td-status-dialog___button{border-radius:8px} .mat-mdc-dialog-container .mdc-dialog__title{padding:18px 16px;line-height:var(--mdc-dialog-supporting-text-line-height)} .mat-mdc-dialog-container .mdc-dialog__title:before{display:none} .mat-mdc-icon-button .mat-mdc-button-base{padding:8px} .mdc-dialog .mdc-dialog__content{padding:0 16px;-webkit-font-smoothing:antialiased} .mdc-dialog__actions{padding:16px}.td-status-dialog[_ngcontent-%COMP%]{width:auto}.td-status-dialog[_ngcontent-%COMP%]:before{padding:14px 16px 0}.td-status-dialog[_ngcontent-%COMP%] .td-dialog-message[_ngcontent-%COMP%]{font-feature-settings:\"clig\" off,\"liga\" off;color:var(--cv-theme-on-surface-variant);line-height:var(--mdc-dialog-supporting-text-line-height)}.td-status-dialog-state[_ngcontent-%COMP%]{padding:14px 16px 0}.td-status-dialog-state[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:var(--mat-toolbar-title-text-line-height);height:var(--mat-toolbar-title-text-line-height);width:var(--mat-toolbar-title-text-line-height);font-variation-settings:\"FILL\" 1}.td-status-dialog-state.error[_ngcontent-%COMP%]{background-color:var(--cv-theme-negative-8)}.td-status-dialog-state.error[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:var(--cv-theme-negative)}.td-status-dialog-state.positive[_ngcontent-%COMP%]{background-color:var(--cv-theme-positive-8)}.td-status-dialog-state.positive[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:var(--cv-theme-positive)}.td-status-dialog-state.warning[_ngcontent-%COMP%]{background-color:var(--cv-theme-caution-8)}.td-status-dialog-state.warning[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:var(--cv-theme-caution)}.td-status-dialog__toggle-details[_ngcontent-%COMP%]{align-items:center;color:var(--cv-theme-primary);cursor:pointer;display:flex;font-size:var(--mat-expansion-container-text-size);letter-spacing:.25px;line-height:var(--mat-expansion-container-text-line-height);padding:16px 0}.td-status-dialog__arrow-icon[_ngcontent-%COMP%]{margin-top:2px}.td-status-dialog__arrow-icon.open[_ngcontent-%COMP%]{transform:rotate(0);transition:transform .25s ease-out}.td-status-dialog__arrow-icon.close[_ngcontent-%COMP%]{transform:rotate(180deg);transition:transform .25s ease-in}@media screen and (max-width: 480px){[_nghost-%COMP%] .td-status-dialog-state[_ngcontent-%COMP%]{padding:4px}[_nghost-%COMP%] .td-status-dialog-state[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .td-status-dialog-state.error[_ngcontent-%COMP%]{background-color:var(--cv-theme-negative)}[_nghost-%COMP%] .td-status-dialog-state.positive[_ngcontent-%COMP%]{background-color:var(--cv-theme-positive)}[_nghost-%COMP%] .td-status-dialog-state.warning[_ngcontent-%COMP%]{background-color:var(--cv-theme-caution)}}"] });
504
535
  }
505
536
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdStatusDialogComponent, [{
506
537
  type: Component,
507
- args: [{ selector: 'td-status-dialog', imports: [CommonModule, MatIcon, MatIconButton, MatButton, TdDialogComponent, TdDialogTitleDirective, TdDialogContentDirective, TdDialogActionsDirective, TdDialogStatusDirective], template: "<td-dialog class=\"td-status-dialog\">\n <!-- Displays the icon and background color according to the state -->\n <div tdDialogStatus class=\"td-status-dialog-state\" [ngClass]=\"state\">\n <mat-icon>\n {{ getStatusIcon() }}\n </mat-icon>\n </div>\n <!-- Dialog title and the close icon -->\n <ng-container tdDialogTitle>\n <div class=\"td-status-dialog-title\">\n <span *ngIf=\"title\" class=\"\">{{ title }}</span>\n <button\n mat-icon-button\n class=\"td-status-dialog__icon-button\"\n (click)=\"close()\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </ng-container>\n <!-- Dialog content with additonal information -->\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">\n {{ message }}\n <div\n class=\"td-status-dialog__toggle-details\"\n role=\"button\"\n tabindex=\"0\"\n *ngIf=\"details\"\n (click)=\"toggleDetails()\"\n (keydown.enter)=\"toggleDetails()\"\n >\n {{\n showDetails\n ? detailsLabels?.hideDetailsLabel\n : detailsLabels?.showDetailsLabel\n }}\n <mat-icon\n [ngClass]=\"{\n 'td-status-dialog__arrow-icon': true,\n close: !showDetails,\n open: showDetails\n }\"\n >arrow_drop_down</mat-icon\n >\n </div>\n <div *ngIf=\"showDetails\">{{ details }}</div>\n </span>\n </ng-container>\n <ng-container tdDialogActions>\n <button\n mat-raised-button\n color=\"primary\"\n class=\"td-status-dialog___button\"\n (click)=\"close()\"\n >\n {{ closeButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: ["::ng-deep .mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--cv-theme-surface-container-lowest);border-radius:12px}::ng-deep .td-status-dialog-title{align-items:flex-start;display:inline-flex;justify-content:space-between;width:100%;-webkit-font-smoothing:antialiased}::ng-deep .td-status-dialog-title :first-child{padding-right:40px}::ng-deep [mat-icon-button].td-status-dialog__icon-button{--mdc-icon-button-state-layer-size: 40px;padding:8px;position:absolute;right:8px;top:10px}::ng-deep .td-status-dialog___button{border-radius:8px}::ng-deep .mat-mdc-dialog-container .mdc-dialog__title{padding:18px 16px;line-height:var(--mdc-dialog-supporting-text-line-height)}::ng-deep .mat-mdc-dialog-container .mdc-dialog__title:before{display:none}::ng-deep .mat-mdc-icon-button .mat-mdc-button-base{padding:8px}::ng-deep .mdc-dialog .mdc-dialog__content{padding:0 16px;-webkit-font-smoothing:antialiased}::ng-deep .mdc-dialog__actions{padding:16px}.td-status-dialog{width:auto}.td-status-dialog:before{padding:14px 16px 0}.td-status-dialog .td-dialog-message{font-feature-settings:\"clig\" off,\"liga\" off;color:var(--cv-theme-on-surface-variant);line-height:var(--mdc-dialog-supporting-text-line-height)}.td-status-dialog-state{padding:14px 16px 0}.td-status-dialog-state .mat-icon{font-size:var(--mat-toolbar-title-text-line-height);height:var(--mat-toolbar-title-text-line-height);width:var(--mat-toolbar-title-text-line-height);font-variation-settings:\"FILL\" 1}.td-status-dialog-state.error{background-color:var(--cv-theme-negative-8)}.td-status-dialog-state.error .mat-icon{color:var(--cv-theme-negative)}.td-status-dialog-state.positive{background-color:var(--cv-theme-positive-8)}.td-status-dialog-state.positive .mat-icon{color:var(--cv-theme-positive)}.td-status-dialog-state.warning{background-color:var(--cv-theme-caution-8)}.td-status-dialog-state.warning .mat-icon{color:var(--cv-theme-caution)}.td-status-dialog__toggle-details{align-items:center;color:var(--cv-theme-primary);cursor:pointer;display:flex;font-size:var(--mat-expansion-container-text-size);letter-spacing:.25px;line-height:var(--mat-expansion-container-text-line-height);padding:16px 0}.td-status-dialog__arrow-icon{margin-top:2px}.td-status-dialog__arrow-icon.open{transform:rotate(0);transition:transform .25s ease-out}.td-status-dialog__arrow-icon.close{transform:rotate(180deg);transition:transform .25s ease-in}@media screen and (max-width: 480px){:host .td-status-dialog-state{padding:4px}:host .td-status-dialog-state .mat-icon{display:none}:host .td-status-dialog-state.error{background-color:var(--cv-theme-negative)}:host .td-status-dialog-state.positive{background-color:var(--cv-theme-positive)}:host .td-status-dialog-state.warning{background-color:var(--cv-theme-caution)}}\n"] }]
508
- }], () => [{ type: i1.MatDialogRef }], null); })();
509
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdStatusDialogComponent, { className: "TdStatusDialogComponent", filePath: "status-dialog/status-dialog.component.ts", lineNumber: 21 }); })();
538
+ args: [{ selector: 'td-status-dialog', imports: [
539
+ CommonModule,
540
+ MatIcon,
541
+ MatIconButton,
542
+ MatButton,
543
+ TdDialogComponent,
544
+ TdDialogTitleDirective,
545
+ TdDialogContentDirective,
546
+ TdDialogActionsDirective,
547
+ TdDialogStatusDirective,
548
+ ], template: "<td-dialog class=\"td-status-dialog\">\n <!-- Displays the icon and background color according to the state -->\n <div tdDialogStatus class=\"td-status-dialog-state\" [ngClass]=\"state\">\n <mat-icon>\n {{ getStatusIcon() }}\n </mat-icon>\n </div>\n <!-- Dialog title and the close icon -->\n <ng-container tdDialogTitle>\n <div class=\"td-status-dialog-title\">\n <span *ngIf=\"title\" class=\"\">{{ title }}</span>\n <button\n mat-icon-button\n class=\"td-status-dialog__icon-button\"\n (click)=\"close()\"\n >\n <mat-icon>close</mat-icon>\n </button>\n </div>\n </ng-container>\n <!-- Dialog content with additonal information -->\n <ng-container tdDialogContent>\n <span class=\"td-dialog-message\">\n {{ message }}\n <div\n class=\"td-status-dialog__toggle-details\"\n role=\"button\"\n tabindex=\"0\"\n *ngIf=\"details\"\n (click)=\"toggleDetails()\"\n (keydown.enter)=\"toggleDetails()\"\n >\n {{\n showDetails\n ? detailsLabels?.hideDetailsLabel\n : detailsLabels?.showDetailsLabel\n }}\n <mat-icon\n [ngClass]=\"{\n 'td-status-dialog__arrow-icon': true,\n close: !showDetails,\n open: showDetails\n }\"\n >arrow_drop_down</mat-icon\n >\n </div>\n <div *ngIf=\"showDetails\">{{ details }}</div>\n </span>\n </ng-container>\n <ng-container tdDialogActions>\n <button\n mat-raised-button\n color=\"primary\"\n class=\"td-status-dialog___button\"\n (click)=\"close()\"\n >\n {{ closeButton }}\n </button>\n </ng-container>\n</td-dialog>\n", styles: ["::ng-deep .mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--cv-theme-surface-container-lowest);border-radius:12px}::ng-deep .td-status-dialog-title{align-items:flex-start;display:inline-flex;justify-content:space-between;width:100%;-webkit-font-smoothing:antialiased}::ng-deep .td-status-dialog-title :first-child{padding-right:40px}::ng-deep [mat-icon-button].td-status-dialog__icon-button{--mdc-icon-button-state-layer-size: 40px;padding:8px;position:absolute;right:8px;top:10px}::ng-deep .td-status-dialog___button{border-radius:8px}::ng-deep .mat-mdc-dialog-container .mdc-dialog__title{padding:18px 16px;line-height:var(--mdc-dialog-supporting-text-line-height)}::ng-deep .mat-mdc-dialog-container .mdc-dialog__title:before{display:none}::ng-deep .mat-mdc-icon-button .mat-mdc-button-base{padding:8px}::ng-deep .mdc-dialog .mdc-dialog__content{padding:0 16px;-webkit-font-smoothing:antialiased}::ng-deep .mdc-dialog__actions{padding:16px}.td-status-dialog{width:auto}.td-status-dialog:before{padding:14px 16px 0}.td-status-dialog .td-dialog-message{font-feature-settings:\"clig\" off,\"liga\" off;color:var(--cv-theme-on-surface-variant);line-height:var(--mdc-dialog-supporting-text-line-height)}.td-status-dialog-state{padding:14px 16px 0}.td-status-dialog-state .mat-icon{font-size:var(--mat-toolbar-title-text-line-height);height:var(--mat-toolbar-title-text-line-height);width:var(--mat-toolbar-title-text-line-height);font-variation-settings:\"FILL\" 1}.td-status-dialog-state.error{background-color:var(--cv-theme-negative-8)}.td-status-dialog-state.error .mat-icon{color:var(--cv-theme-negative)}.td-status-dialog-state.positive{background-color:var(--cv-theme-positive-8)}.td-status-dialog-state.positive .mat-icon{color:var(--cv-theme-positive)}.td-status-dialog-state.warning{background-color:var(--cv-theme-caution-8)}.td-status-dialog-state.warning .mat-icon{color:var(--cv-theme-caution)}.td-status-dialog__toggle-details{align-items:center;color:var(--cv-theme-primary);cursor:pointer;display:flex;font-size:var(--mat-expansion-container-text-size);letter-spacing:.25px;line-height:var(--mat-expansion-container-text-line-height);padding:16px 0}.td-status-dialog__arrow-icon{margin-top:2px}.td-status-dialog__arrow-icon.open{transform:rotate(0);transition:transform .25s ease-out}.td-status-dialog__arrow-icon.close{transform:rotate(180deg);transition:transform .25s ease-in}@media screen and (max-width: 480px){:host .td-status-dialog-state{padding:4px}:host .td-status-dialog-state .mat-icon{display:none}:host .td-status-dialog-state.error{background-color:var(--cv-theme-negative)}:host .td-status-dialog-state.positive{background-color:var(--cv-theme-positive)}:host .td-status-dialog-state.warning{background-color:var(--cv-theme-caution)}}\n"] }]
549
+ }], null, null); })();
550
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TdStatusDialogComponent, { className: "TdStatusDialogComponent", filePath: "status-dialog/status-dialog.component.ts", lineNumber: 37 }); })();
510
551
 
511
552
  class TdDialogService {
512
- _document;
513
- _dialogService;
514
- _dragDrop;
515
- rendererFactory;
553
+ _document = inject(DOCUMENT);
554
+ _dialogService = inject(MatDialog);
555
+ _dragDrop = inject(DragDrop);
556
+ rendererFactory = inject(RendererFactory2);
516
557
  _renderer2;
517
- constructor(_document, _dialogService, _dragDrop, rendererFactory) {
518
- this._document = _document;
519
- this._dialogService = _dialogService;
520
- this._dragDrop = _dragDrop;
521
- this.rendererFactory = rendererFactory;
558
+ constructor() {
559
+ const rendererFactory = this.rendererFactory;
522
560
  this._renderer2 = rendererFactory.createRenderer(undefined, null);
523
561
  }
524
562
  /**
@@ -701,15 +739,12 @@ class TdDialogService {
701
739
  }
702
740
  return dialogRef;
703
741
  }
704
- static ɵfac = function TdDialogService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdDialogService)(i0.ɵɵinject(DOCUMENT), i0.ɵɵinject(i1.MatDialog), i0.ɵɵinject(i2$1.DragDrop), i0.ɵɵinject(i0.RendererFactory2)); };
742
+ static ɵfac = function TdDialogService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TdDialogService)(); };
705
743
  static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: TdDialogService, factory: TdDialogService.ɵfac });
706
744
  }
707
745
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TdDialogService, [{
708
746
  type: Injectable
709
- }], () => [{ type: undefined, decorators: [{
710
- type: Inject,
711
- args: [DOCUMENT]
712
- }] }, { type: i1.MatDialog }, { type: i2$1.DragDrop }, { type: i0.RendererFactory2 }], null); })();
747
+ }], () => [], null); })();
713
748
 
714
749
  const _c0 = ["*"];
715
750
  class TdWindowDialogComponent {