refactor(cart): remove CartCopiaComponent and related references from test page

This commit is contained in:
2026-07-07 16:42:27 -03:00
parent c9d0e5ad01
commit fff18e05c0

View File

@@ -4,7 +4,6 @@ import {
CartComponent, CartComponent,
CartItemMock CartItemMock
} from '../../../../shared/components/cart/cart.component'; } from '../../../../shared/components/cart/cart.component';
import { CartCopiaComponent } from '../../../../shared/components/cart-copia/cart-copia.component';
import { CartIconComponent } from '../../../../shared/components/cart-icon/cart-icon.component'; import { CartIconComponent } from '../../../../shared/components/cart-icon/cart-icon.component';
import { IconButtonComponent } from '../../../../shared/components/icon-button/icon-button.component'; import { IconButtonComponent } from '../../../../shared/components/icon-button/icon-button.component';
import { InputComponent } from '../../../../shared/components/input/input.component'; import { InputComponent } from '../../../../shared/components/input/input.component';
@@ -22,7 +21,6 @@ import { StepComponent } from '../../../../shared/components/stepper/step.compon
imports: [ imports: [
ButtonComponent, ButtonComponent,
CartComponent, CartComponent,
CartCopiaComponent,
InputComponent, InputComponent,
PaginatorComponent, PaginatorComponent,
ProductCardComponent, ProductCardComponent,
@@ -60,7 +58,6 @@ export class ReutilizablesTestPageComponent {
protected editableDisabled = true; protected editableDisabled = true;
protected currentPage = 1; protected currentPage = 1;
protected cartVisible = true; protected cartVisible = true;
protected cartCopiaVisible = true;
protected lastModalResult = 'Todavia no se abrio ningun modal.'; protected lastModalResult = 'Todavia no se abrio ningun modal.';
protected readonly paginatorTotalPages = 8; protected readonly paginatorTotalPages = 8;
protected readonly cartBackgroundColor = '#ffffff'; protected readonly cartBackgroundColor = '#ffffff';
@@ -163,7 +160,6 @@ export class ReutilizablesTestPageComponent {
this.toastService.info('Se disparo el evento de cerrado del carrito mock.'); this.toastService.info('Se disparo el evento de cerrado del carrito mock.');
} }
protected triggerToast(type: 'success' | 'danger' | 'info'): void { protected triggerToast(type: 'success' | 'danger' | 'info'): void {
if (type === 'success') { if (type === 'success') {
this.toastService.success( this.toastService.success(
@@ -262,3 +258,4 @@ export class ReutilizablesTestPageComponent {
} }
} }