import { Component, ChangeDetectionStrategy, Input, Output, EventEmitter } from '@angular/core';

@Component({
  selector: 'app-remission-list-actions',
  templateUrl: './remission-list-actions.component.html',
  styleUrls: ['./remission-list-actions.component.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class RemissionListActionsComponent {
  @Input() status: 'created' | 'started' | 'completed' = 'created';
  @Input() enableCompleteShippingDocument = true;
  @Input() isNative = false;
  @Input() isSafari = false;

  @Output() startRemission = new EventEmitter<void>();
  @Output() addProduct = new EventEmitter<void>();
  @Output() scanProduct = new EventEmitter<string>();
  @Output() completeShippingDocument = new EventEmitter<void>();

  constructor() {}
}
