import { PriceMaskDirective } from '@/shared/directives';
import { Component, computed, inject } from '@angular/core';
import { Card } from 'primeng/card';
import { PosLandingStore } from '../../store/main.store';

@Component({
  selector: 'pos-order-price-info-card',
  templateUrl: './price-info-card.component.html',
  imports: [Card, PriceMaskDirective],
})
export class POSOrderPriceInfoCardComponent {
  private readonly store = inject(PosLandingStore);

  priceInfo = computed(() => this.store.orderPricingInfo());
}
