23 lines
775 B
TypeScript
23 lines
775 B
TypeScript
import { CommonModule } from "@angular/common";
|
|
import { Component } from "@angular/core";
|
|
import { FontAwesomeModule } from "@fortawesome/angular-fontawesome";
|
|
import { faBars, faXmark } from "@fortawesome/free-solid-svg-icons";
|
|
import { DialogRef } from "@ngneat/dialog";
|
|
import { TranslationPipe } from "../../pipes/translation.pipe";
|
|
|
|
@Component({
|
|
selector: "app-window",
|
|
standalone: true,
|
|
imports: [CommonModule, FontAwesomeModule, TranslationPipe],
|
|
templateUrl: "./window.component.html",
|
|
styleUrls: ["./window.component.less"],
|
|
// changeDetection: ChangeDetectionStrategy.OnPush,
|
|
})
|
|
export class WindowComponent {
|
|
modal_text = "MODAL_TEXT";
|
|
modal_title = "MODAL_TITLE";
|
|
faClose = faXmark;
|
|
faMenu = faBars;
|
|
constructor(public ref: DialogRef) {}
|
|
}
|