import { AbstractDialog } from '@/shared/abstractClasses/abstract-dialog';
import { Component, inject } from '@angular/core';
import { ConsumerStore } from '../store/main.store';
import { SharedDialogComponent } from '@/shared/components/dialog/dialog.component';

@Component({
  selector: 'consumer-license-info-dialog',
  templateUrl: './license-info-dialog.component.html',
  imports: [SharedDialogComponent],
})
export class ConsumerLicenseInfoDialogComponent extends AbstractDialog {
  private readonly store = inject(ConsumerStore);

  // license = computed(() => this.store.entity()?.license_info);

  // licenseStatus = computed(() => getLicenseStatus(getLicenseStatus(this.license()?.expires_at)));
}
