import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ProductComponent } from './product/product.component';
import { ProductDetailComponent } from './product-detail/product-detail.component';
import { SalesRoutingModule } from './sales-routing.module';
import { KendoModule } from '../shared/kendo.module';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { CartComponent } from './cart/cart.component';
import { SalesAppbarComponent } from './components/sales-appbar/sales-appbar.component';
import { PageSalesComponent } from './page-sales/page-sales.component';
import { SaleCustomerComponent } from './sale-customer/sale-customer.component';
import { MenuCustomerComponent } from './menu-customer/menu-customer.component';
import { ComponentModule } from '../components/component.module';
import { DiscountOrderComponent } from './components/discount-order/discount-order.component';
import { DiscountItemComponent } from './components/discount-item/discount-item.component';
import { MessageFailureComponent } from '../shared/menssages/message-failure/message-failure.component';
import { SelectCustomerComponent } from './components/select-customer/select-customer.component';
import { DeliveryAddressComponent } from './components/delivery-address/delivery-address.component';
import { CardProductComponent } from './components/card-product/card-product.component';
import { PreCustomerComponent } from './components/pre-customer/pre-customer.component';
import { ModalNotifyStockComponent } from './components/modal-notify-stock/modal-notify-stock.component';
import { CardProductListComponent } from './components/card-product-list/card-product-list.component';
import { AppBarComponent } from './components/app-bar/app-bar.component';
import { OrderComponent } from './order/order.component';
import { ProductCardComponent } from './components/product-card/product-card.component';
import { ProductListComponent } from './product-list/product-list.component';
import { ProductModalComponent } from './components/product-modal/product-modal.component';
import { HomeSalesComponent } from './home-sales/home-sales.component';
import { DashSalesComponent } from './pages/dash-sales/dash-sales.component';
import { DashboardCardComponent } from './components/dashboard-card/dashboard-card.component';
import { CartSalesComponent } from './cart-sales/cart-sales.component';
import { DataDeliveryComponent } from './components/data-delivery/data-delivery.component';
import { ConfirmationComponent } from '../shared/messages/confirmation/confirmation.component';
import { AuthUserComponent } from '../shared/messages/auth-user/auth-user.component';
import { MessageInformationComponent } from '../shared/messages/message-information/message-information.component';
import { DiscountItemSalesComponent } from './components/discount-item-sales/discount-item-sales.component';
import { CreateCustomerModalComponent } from './components/create-customer-modal/create-customer-modal.component';
import { CreateAddressModalComponent } from './components/create-address-modal/create-address-modal.component';
import { SelectAddressComponent } from './components/select-address/select-address.component';
import { StimulsoftViewerModule } from 'stimulsoft-viewer-angular';
import { PreorderListComponent } from './components/preorder-list/preorder-list.component';
import { LoadingComponent } from '../shared/messages/loading/loading.component';
import { KpisalesComponent } from './pages/kpisales/kpisales.component';
import { RouterModule } from '@angular/router';
import { PreorderComponent } from './pages/preorder/preorder.component';
import { ShoppingItemModalComponent } from './components/shopping-item-modal/shopping-item-modal.component';
import { ListShoppingitemComponent } from './components/list-shoppingitem/list-shoppingitem.component';
import { NgxCurrencyModule } from 'ngx-currency';
import { OrdersComponent } from './pages/orders/orders.component';
import { TintometricoModalComponent } from './components/tintometrico-modal/tintometrico-modal.component';
import { SharedModule } from '../shared/shared.module';
import { AgmCoreModule } from '@agm/core';
import { OrderPanelComponent } from './pages/order-panel/order-panel.component';
import { ProductOrdersComponent } from './pages/product-orders/product-orders.component';
import { ListProductOrdersComponent } from './pages/list-product-orders/list-product-orders.component';
import { DashboardComponent } from './pages/dashboard/dashboard.component';
import { DashboardSellerComponent } from './pages/dashboard-seller/dashboard-seller.component';
import { ProductSaleComponent } from './pages/product-sale/product-sale.component';
import { HeaderJuruComponent } from './components/header-juru/header-juru.component';


@NgModule({
  declarations: [
    ProductComponent,
    ProductDetailComponent,
    CartComponent,
    SalesAppbarComponent,
    PageSalesComponent,
    SaleCustomerComponent,
    MenuCustomerComponent,
    DiscountOrderComponent,
    DiscountItemComponent,
    SelectCustomerComponent,
    DeliveryAddressComponent,
    CardProductComponent,
    PreCustomerComponent,
    ModalNotifyStockComponent,
    CardProductListComponent,
    AppBarComponent,
    OrderComponent,
    ProductCardComponent,
    ProductListComponent,
    ProductModalComponent,
    HomeSalesComponent,
    DashboardCardComponent,
    CartSalesComponent,
    DataDeliveryComponent,
   // ConfirmationComponent,
    AuthUserComponent,
    //MessageInformationComponent,
    DiscountItemSalesComponent,
    CreateCustomerModalComponent,
    CreateAddressModalComponent,
    SelectAddressComponent,
    PreorderListComponent,
    LoadingComponent,
    KpisalesComponent,
    DashSalesComponent,
    PreorderComponent,
    ShoppingItemModalComponent,
    ListShoppingitemComponent,
    OrdersComponent,
    TintometricoModalComponent,
    OrderPanelComponent,
    ProductOrdersComponent,
    ListProductOrdersComponent,
    DashboardComponent,
    DashboardSellerComponent,
    ProductSaleComponent,
    HeaderJuruComponent,
  ],
  imports: [
    CommonModule,
    SalesRoutingModule,
    KendoModule,
    FormsModule,
    ReactiveFormsModule,
    ComponentModule,
    StimulsoftViewerModule,
    RouterModule,
    NgxCurrencyModule,
    SharedModule,
    AgmCoreModule.forRoot({
      apiKey: 'AIzaSyBc0DiFwbS0yOJCuMi1KGwbc7_d1p8HyxQ',
    })
  ],
  exports: []
})
export class SalesModule { }
