app.module.ts
2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
//#region MODULES
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppRoutingModule } from './app-routing.module';
import { HttpClientModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { TooltipModule } from 'ngx-bootstrap/tooltip';
import { PopoverModule } from 'ngx-bootstrap/popover';
import { CarouselModule } from 'ngx-bootstrap/carousel';
import { PaginationModule } from 'ngx-bootstrap/pagination';
//#endregion
//#region Keyboard
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { MatButtonModule } from '@angular/material/button';
import { MatKeyboardModule } from '@ngx-material-keyboard/core';
//#endregion
//#region COMPONENTS
import { AppComponent } from './app.component';
import { HeaderComponent } from './components/header/header.component';
import { SidebarComponent } from './components/sidebar/sidebar.component';
import { HomeComponent } from './components/home/home.component';
import { InicioComponent } from './components/inicio/inicio.component';
import { BusquedaProductosComponent } from './components/busqueda-productos/busqueda-productos.component';
import { ConfirmacionCarritoComponent } from './components/confirmacion-carrito/confirmacion-carrito.component';
import { MasterComponent } from './components/master/master.component';
import { PopoverPromosComponent } from './components/popover-promos/popover-promos.component';
import { PopoverSinonimosComponent } from './components/popover-sinonimos/popover-sinonimos.component';
import { CancelarCompraComponent } from './components/cancelar-compra/cancelar-compra.component';
import { MensajeFinalComponent } from './components/mensaje-final/mensaje-final.component';
import { ComandaComponent } from './components/comanda/comanda.component';
//#endregion
@NgModule({
declarations: [
AppComponent,
HeaderComponent,
SidebarComponent,
HomeComponent,
InicioComponent,
BusquedaProductosComponent,
ConfirmacionCarritoComponent,
MasterComponent,
PopoverPromosComponent,
PopoverSinonimosComponent,
CancelarCompraComponent,
MensajeFinalComponent,
ComandaComponent
],
imports: [
BrowserModule,
AppRoutingModule,
HttpClientModule,
FormsModule,
ReactiveFormsModule,
ReactiveFormsModule.withConfig({ warnOnNgModelWithFormControl: 'never' }),
TooltipModule.forRoot(),
PopoverModule.forRoot(),
BrowserAnimationsModule,
MatKeyboardModule,
MatButtonModule,
CarouselModule.forRoot(),
PaginationModule.forRoot()
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }