Refactor import path

This commit is contained in:
Çetin
2025-01-03 12:05:34 +03:00
parent d7bb01ce99
commit b69b6cdd2b
12 changed files with 44 additions and 397 deletions

View File

@@ -1,5 +1,3 @@
import { Product } from '@/src/app/demo/api/product';
import { ProductService } from '@/src/app/demo/service/product.service';
import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';
import { ConfirmationService, MessageService } from 'primeng/api';
import { InputTextModule } from 'primeng/inputtext';
@@ -10,12 +8,12 @@ import { Table, TableModule } from 'primeng/table';
import { ProgressBarModule } from 'primeng/progressbar';
import { ToggleButtonModule } from 'primeng/togglebutton';
import { ToastModule } from 'primeng/toast';
import { Customer, Representative } from '@/src/app/demo/api/customer';
import { CustomerService } from '@/src/app/demo/service/customer.service';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { ButtonModule } from 'primeng/button';
import { RatingModule } from 'primeng/rating';
import { Customer, CustomerService, Representative } from '@/src/service/customer.service';
import { Product, ProductService } from '@/src/service/product.service';
interface expandedRows {
[key: string]: boolean;
@@ -332,7 +330,7 @@ interface expandedRows {
providers: [ConfirmationService, MessageService]
})
export class TableDoc implements OnInit {
customers1: Customer[] = [];
customers2: Customer[] = [];
@@ -451,6 +449,6 @@ export class TableDoc implements OnInit {
table.clear();
this.filter.nativeElement.value = '';
}
}
}