{"version":3,"sources":["webpack:///./src/$_lazy_route_resource lazy namespace object","webpack:///./src/app/app-routing.module.ts","webpack:///./src/app/app.api.ts","webpack:///./src/app/app.component.css","webpack:///./src/app/app.component.html","webpack:///./src/app/app.component.ts","webpack:///./src/app/app.module.ts","webpack:///./src/app/avaliacao/avaliacao.component.css","webpack:///./src/app/avaliacao/avaliacao.component.html","webpack:///./src/app/avaliacao/avaliacao.component.ts","webpack:///./src/app/cliente/cadastro/cliente-cadastro/cliente-cadastro.component.css","webpack:///./src/app/cliente/cadastro/cliente-cadastro/cliente-cadastro.component.html","webpack:///./src/app/cliente/cadastro/cliente-cadastro/cliente-cadastro.component.ts","webpack:///./src/app/cliente/cadastro/cliente-cadastro/utils/validaCpfCnpj.ts","webpack:///./src/app/cliente/cadastro/cliente-editar/cliente-editar.component.css","webpack:///./src/app/cliente/cadastro/cliente-editar/cliente-editar.component.html","webpack:///./src/app/cliente/cadastro/cliente-editar/cliente-editar.component.ts","webpack:///./src/app/cliente/consulta-enderecos/consulta-enderecos.component.css","webpack:///./src/app/cliente/consulta-enderecos/consulta-enderecos.component.html","webpack:///./src/app/cliente/consulta-enderecos/consulta-enderecos.component.ts","webpack:///./src/app/cliente/recuperacao-senha/nova-senha/nova-senha.component.css","webpack:///./src/app/cliente/recuperacao-senha/nova-senha/nova-senha.component.html","webpack:///./src/app/cliente/recuperacao-senha/nova-senha/nova-senha.component.ts","webpack:///./src/app/cliente/recuperacao-senha/recuperar-senha/recuperar-senha.component.css","webpack:///./src/app/cliente/recuperacao-senha/recuperar-senha/recuperar-senha.component.html","webpack:///./src/app/cliente/recuperacao-senha/recuperar-senha/recuperar-senha.component.ts","webpack:///./src/app/contato/contato.component.css","webpack:///./src/app/contato/contato.component.html","webpack:///./src/app/contato/contato.component.ts","webpack:///./src/app/erro-request/erro-request.component.css","webpack:///./src/app/erro-request/erro-request.component.html","webpack:///./src/app/erro-request/erro-request.component.ts","webpack:///./src/app/header/header.component.css","webpack:///./src/app/header/header.component.html","webpack:///./src/app/header/header.component.ts","webpack:///./src/app/login/login/login.component.css","webpack:///./src/app/login/login/login.component.html","webpack:///./src/app/login/login/login.component.ts","webpack:///./src/app/menu/cardapio/cardapio.component.css","webpack:///./src/app/menu/cardapio/cardapio.component.html","webpack:///./src/app/menu/cardapio/cardapio.component.ts","webpack:///./src/app/models/cliente.ts","webpack:///./src/app/models/clienteEndereco.ts","webpack:///./src/app/models/enums/cardBrand.ts","webpack:///./src/app/models/itemPedido.ts","webpack:///./src/app/models/itemPedidoComplemento.ts","webpack:///./src/app/models/itemSacola.ts","webpack:///./src/app/models/itemSacolaComplemento.ts","webpack:///./src/app/models/pedido.ts","webpack:///./src/app/not-found/not-found.component.css","webpack:///./src/app/not-found/not-found.component.html","webpack:///./src/app/not-found/not-found.component.ts","webpack:///./src/app/pedidos/pedidos.component.css","webpack:///./src/app/pedidos/pedidos.component.html","webpack:///./src/app/pedidos/pedidos.component.ts","webpack:///./src/app/sacola/pedido-concluido/pedido-concluido.component.css","webpack:///./src/app/sacola/pedido-concluido/pedido-concluido.component.html","webpack:///./src/app/sacola/pedido-concluido/pedido-concluido.component.ts","webpack:///./src/app/sacola/sacola/pagamentoOnlineUtil.ts","webpack:///./src/app/sacola/sacola/sacola.component.css","webpack:///./src/app/sacola/sacola/sacola.component.html","webpack:///./src/app/sacola/sacola/sacola.component.ts","webpack:///./src/app/services/authentication.service.ts","webpack:///./src/app/services/base/crud.service.ts","webpack:///./src/app/services/busca-endereco.service.ts","webpack:///./src/app/services/categoria-produto.service.ts","webpack:///./src/app/services/cliente-endereco.service.ts","webpack:///./src/app/services/cliente.service.ts","webpack:///./src/app/services/empresa-forma-pagamento.service.ts","webpack:///./src/app/services/empresa.service.ts","webpack:///./src/app/services/pedido.service.ts","webpack:///./src/app/services/shared/sacola.service.ts","webpack:///./src/app/shared/componentes/calcular-taxa-entrega/calcular-taxa-entrega.component.css","webpack:///./src/app/shared/componentes/calcular-taxa-entrega/calcular-taxa-entrega.component.html","webpack:///./src/app/shared/componentes/calcular-taxa-entrega/calcular-taxa-entrega.component.ts","webpack:///./src/app/shared/interceptor.ts","webpack:///./src/app/testes/testes.component.css","webpack:///./src/app/testes/testes.component.html","webpack:///./src/app/testes/testes.component.ts","webpack:///./src/environments/environment.ts","webpack:///./src/main.ts"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,4E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACZyC;AACc;AACmD;AACnC;AACJ;AACJ;AACiC;AACjC;AACM;AACN;AACH;AACiB;AACmC;AACf;AACG;AAEpG,IAAM,MAAM,GAAW;IAErB;QACE,IAAI,EAAE,EAAE;QACR,SAAS,EAAE,mFAAiB;KAC7B;IACD;QACE,IAAI,EAAE,OAAO;QACb,SAAS,EAAE,2EAAc;KAC1B;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,SAAS,EAAE,sHAAwB;KACpC;IACD;QACE,IAAI,EAAE,gCAAgC;QACtC,SAAS,EAAE,sHAAwB;KACpC;IACD;QACE,IAAI,EAAE,gBAAgB;QACtB,SAAS,EAAE,iHAAsB;KAClC;IACD;QACE,IAAI,EAAE,gBAAgB;QACtB,SAAS,EAAE,6HAAuB;KACnC;IACD;QACE,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,8GAAkB;KAC9B;IACD;QACE,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,mFAAiB;KAC7B;IACD;QACE,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,+EAAe;KAC3B;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,SAAS,EAAE,4GAAwB;KACpC;IACD;QACE,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,2EAAgB;KAC5B;IACD;QACE,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,iFAAkB;KAC9B;IACD;QACE,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,4EAA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AAAA;AAAA,gFAAgF;AAChF,0EAA0E;AAC1E,gEAAgE;AAEzD,IAAM,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;IACjB,GAAG,EAAE,8CAA8C;IACnD,iDAAiD;CAIlD,CAAC;AAEF;;;;;;GAMG;AACH,mEAAmE;;;;;;;;;;;;;ACpBnE;AAAA;AAAA;AAAA;AAAA;AAA+C;AAC4B;AAE9B;AACY;AAEzD,IAAI,qEAAW,CAAC,UAAU,EAAE;IAC1B,oEAAc,EAAE,CAAC;CAClB;AAED,gGAAsB,EAAE,CAAC,eAAe,CAAC,yDAAS,CAAC;KAChD,KAAK,CAAC,aAAG,IAAI,cAAO,CAAC,KAAK,CAAC,GAAG,CAAC,EAAlB,CAAkB,CAAC,CAAC","file":"main.c0d9d95b72a6106d0a02.js","sourcesContent":["function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"./src/$$_lazy_route_resource lazy recursive\";","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { ClienteCadastroComponent } from './cliente/cadastro/cliente-cadastro/cliente-cadastro.component';\nimport { CardapioComponent } from './menu/cardapio/cardapio.component';\nimport { SacolaComponent } from './sacola/sacola/sacola.component';\nimport { LoginComponent } from './login/login/login.component';\nimport { PedidoConcluidoComponent } from './sacola/pedido-concluido/pedido-concluido.component';\nimport { ContatoComponent } from './contato/contato.component';\nimport { AvaliacaoComponent } from './avaliacao/avaliacao.component';\nimport { PedidosComponent } from './pedidos/pedidos.component';\nimport { TestesComponent } from './testes/testes.component';\nimport { ErroRequestComponent } from './erro-request/erro-request.component';\nimport { RecuperarSenhaComponent } from './cliente/recuperacao-senha/recuperar-senha/recuperar-senha.component';\nimport { NovaSenhaComponent } from './cliente/recuperacao-senha/nova-senha/nova-senha.component';\nimport { ClienteEditarComponent } from './cliente/cadastro/cliente-editar/cliente-editar.component';\n\nconst routes: Routes = [\n \n {\n path: '',\n component: CardapioComponent\n },\n {\n path: 'login',\n component: LoginComponent\n },\n {\n path: 'cliente-cadastro',\n component: ClienteCadastroComponent\n },\n {\n path: 'cliente-cadastro/:telaChamando',\n component: ClienteCadastroComponent\n },\n {\n path: 'cliente-editar',\n component: ClienteEditarComponent\n },\n {\n path: 'recuperarsenha',\n component: RecuperarSenhaComponent\n },\n {\n path: 'novasenha',\n component: NovaSenhaComponent\n },\n {\n path: 'cardapio',\n component: CardapioComponent\n },\n {\n path: 'sacola',\n component: SacolaComponent\n },\n {\n path: 'pedido-concluido',\n component: PedidoConcluidoComponent\n },\n {\n path: 'contato',\n component: ContatoComponent\n },\n {\n path: 'avaliacao',\n component: AvaliacaoComponent\n },\n {\n path: 'pedidos',\n component: PedidosComponent\n },\n {\n path: 'testes',\n component: TestesComponent\n },\n\n {\n path: 'erro',\n component: ErroRequestComponent\n },\n];\n\n@NgModule({\n imports: [RouterModule.forRoot(routes, { useHash: true })],\n exports: [RouterModule]\n})\nexport class AppRoutingModule { }\n","import {environment} from '../environments/environment'\r\nimport {enableProdMode} from '@angular/core';\r\n\r\nenableProdMode();\r\n\r\nexport const URI = environment.api","module.exports = \"@media screen and (min-width: 800px) {\\r\\n .container-custom{\\r\\n width: 800px;\\r\\n height: 100%;\\r\\n display: block;\\r\\n margin-top: 50px;\\r\\n margin-left: auto;\\r\\n margin-right: auto;\\r\\n background-color: white;\\r\\n }\\r\\n}\\r\\n\\r\\n.container-custom{\\r\\n background-color: white;\\r\\n}\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvYXBwLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSTtRQUNJLFlBQVk7UUFDWixZQUFZO1FBQ1osY0FBYztRQUNkLGdCQUFnQjtRQUNoQixpQkFBaUI7UUFDakIsa0JBQWtCO1FBQ2xCLHVCQUF1QjtJQUMzQjtBQUNKOztBQUVBO0lBQ0ksdUJBQXVCO0FBQzNCIiwiZmlsZSI6InNyYy9hcHAvYXBwLmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAbWVkaWEgc2NyZWVuIGFuZCAobWluLXdpZHRoOiA4MDBweCkge1xyXG4gICAgLmNvbnRhaW5lci1jdXN0b217XHJcbiAgICAgICAgd2lkdGg6IDgwMHB4O1xyXG4gICAgICAgIGhlaWdodDogMTAwJTtcclxuICAgICAgICBkaXNwbGF5OiBibG9jaztcclxuICAgICAgICBtYXJnaW4tdG9wOiA1MHB4O1xyXG4gICAgICAgIG1hcmdpbi1sZWZ0OiBhdXRvO1xyXG4gICAgICAgIG1hcmdpbi1yaWdodDogYXV0bztcclxuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcclxuICAgIH1cclxufVxyXG5cclxuLmNvbnRhaW5lci1jdXN0b217XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcclxufSJdfQ== */\"","module.exports = \"
\\n \\n \\n\\n
\\n\\n\\n\"","import { Component } from '@angular/core';\n\ndeclare var $: any\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.css']\n})\nexport class AppComponent {\n title = 'GSFood-Pedidos';\n\n constructor() {\n\n // bloquear botao voltar browser e quando clicar em voltar fechar os modal aberto\n history.pushState(null, null, location.href);\n window.onpopstate = function () {\n history.go(1);\n $('.modal').modal('close');\n };\n\n }\n}\n","import { BrowserModule } from '@angular/platform-browser';\nimport { NgModule, LOCALE_ID } from '@angular/core';\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\nimport localept from '@angular/common/locales/pt';\nimport { registerLocaleData } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nregisterLocaleData(localept, 'pt');\nimport { AppRoutingModule } from './app-routing.module';\nimport { AppComponent } from './app.component';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\n\n\nimport { ClienteCadastroComponent } from './cliente/cadastro/cliente-cadastro/cliente-cadastro.component';\nimport { CardapioComponent } from './menu/cardapio/cardapio.component';\nimport { SacolaComponent } from './sacola/sacola/sacola.component';\nimport { LoginComponent } from './login/login/login.component';\nimport { PedidoConcluidoComponent } from './sacola/pedido-concluido/pedido-concluido.component';\nimport { HeaderComponent } from './header/header.component';\nimport { CalcularTaxaEntregaComponent } from './shared/componentes/calcular-taxa-entrega/calcular-taxa-entrega.component';\nimport { ContatoComponent } from './contato/contato.component';\nimport { AvaliacaoComponent } from './avaliacao/avaliacao.component';\nimport { ToastrModule } from 'ngx-toastr';\nimport { NgxSpinnerModule } from 'ngx-spinner';\nimport { NgxMaskModule, IConfig } from 'ngx-mask';\nimport { NgxCurrencyModule } from \"ngx-currency\";\nimport { PedidosComponent } from './pedidos/pedidos.component';\nimport { ConsultaEnderecosComponent } from './cliente/consulta-enderecos/consulta-enderecos.component';\nimport { Interceptor } from './shared/interceptor';\nimport { NotFoundComponent } from './not-found/not-found.component';\nimport { TestesComponent } from './testes/testes.component';\nimport { ErroRequestComponent } from './erro-request/erro-request.component';\nimport { RecuperarSenhaComponent } from './cliente/recuperacao-senha/recuperar-senha/recuperar-senha.component';\nimport { NovaSenhaComponent } from './cliente/recuperacao-senha/nova-senha/nova-senha.component';\nimport { ClienteEditarComponent } from './cliente/cadastro/cliente-editar/cliente-editar.component';\n\nimport { AuthServiceConfig, GoogleLoginProvider, FacebookLoginProvider, LinkedInLoginProvider, SocialLoginModule } from 'angularx-social-login';\n\nexport const options: Partial | (() => Partial) = {}\n\n// social login\nconst config = new AuthServiceConfig([\n /*{\n id: GoogleLoginProvider.PROVIDER_ID,\n provider: new GoogleLoginProvider('624796833023-clhjgupm0pu6vgga7k5i5bsfp6qp6egh.apps.googleusercontent.com')\n },*/\n {\n id: GoogleLoginProvider.PROVIDER_ID,\n provider: new GoogleLoginProvider('665520850103-9f3v78tj7jh7qacj8e5ic2ifvnipp7so.apps.googleusercontent.com')\n },\n {\n id: FacebookLoginProvider.PROVIDER_ID,\n provider: new FacebookLoginProvider('398998457475386')\n },\n]);\n\nexport function provideConfig() {\n return config;\n}\n// end social login\n\nexport const customCurrencyMaskConfig = {\n align: \"right\",\n allowNegative: false,\n allowZero: true,\n decimal: \",\",\n precision: 2,\n prefix: \"R$ \",\n suffix: \"\",\n thousands: \".\",\n nullable: false\n};\n\n@NgModule({\n declarations: [\n AppComponent,\n ClienteCadastroComponent,\n CardapioComponent,\n SacolaComponent,\n LoginComponent,\n PedidoConcluidoComponent,\n HeaderComponent,\n CalcularTaxaEntregaComponent,\n ContatoComponent,\n AvaliacaoComponent,\n PedidosComponent,\n ConsultaEnderecosComponent,\n NotFoundComponent,\n TestesComponent,\n ErroRequestComponent,\n RecuperarSenhaComponent,\n NovaSenhaComponent,\n ClienteEditarComponent,\n ],\n imports: [\n BrowserModule,\n AppRoutingModule,\n HttpClientModule,\n FormsModule,\n ReactiveFormsModule,\n NgxCurrencyModule.forRoot(customCurrencyMaskConfig), // mascara currency\n NgxSpinnerModule, // spinner loading\n NgxMaskModule.forRoot(options),// mascara\n BrowserAnimationsModule, // para uso do toast\n ToastrModule.forRoot({\n timeOut: 2000,\n positionClass: 'toast-bottom-center',\n preventDuplicates: true,\n }),\n SocialLoginModule\n ],\n providers: [\n { provide: LOCALE_ID, useValue: 'pt' },\n { provide: HTTP_INTERCEPTORS, useClass: Interceptor, multi: true },\n {\n provide: AuthServiceConfig,\n useFactory: provideConfig\n }\n ],\n bootstrap: [AppComponent]\n})\nexport class AppModule { }\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2F2YWxpYWNhby9hdmFsaWFjYW8uY29tcG9uZW50LmNzcyJ9 */\"","module.exports = \"
\\n
\\n

Aqui vai ficar as avaliacoes dos clientes contendo comentarios

\\n star\\n star\\n star\\n star\\n star\\n
\\n\\n\"","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-avaliacao',\n templateUrl: './avaliacao.component.html',\n styleUrls: ['./avaliacao.component.css']\n})\nexport class AvaliacaoComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NsaWVudGUvY2FkYXN0cm8vY2xpZW50ZS1jYWRhc3Ryby9jbGllbnRlLWNhZGFzdHJvLmNvbXBvbmVudC5jc3MifQ== */\"","module.exports = \"
\\n

Informe os dados

\\n
\\n
\\n
\\n
\\n account_circle\\n \\n \\n Obrigatório\\n \\n
\\n
\\n email\\n \\n \\n Obrigatório\\n Email\\n inválido\\n
\\n
\\n phone\\n \\n \\n Obrigatório\\n
\\n
\\n web\\n \\n \\n
\\n
\\n
\\n lock\\n \\n \\n Obrigatório\\n
\\n
\\n \\n \\n \\n Obrigatório\\n
\\n
\\n
\\n
\\n
\\n\\n \\n

Endereço

\\n
\\n
\\n
\\n
\\n \\n \\n
\\n
\\n
\\n \\n \\n Obrigatório\\n
\\n
\\n \\n \\n Obrigatório\\n
\\n
\\n \\n \\n Obrigatório\\n
\\n
\\n \\n \\n
\\n
\\n \\n \\n
\\n
\\n\\n
\\n
{{retornoErroConsultaCep}}
\\n
\\n
\\n\\n
0\\\">Taxa entrega:\\n {{endereco?.taxa | currency :\\\"BRL\\\"}}
\\n\\n
Taxa entrega:\\n Grátis
\\n\\n\\n Calcular taxa\\n\\n \\n Calculando\\n\\n
\\n\\n
\\n\\n\\n\\n
\\n\\n\\n
\\n\\n
\\n Salvar\\n\\n \\n Salvando\\n
\\n
\\n
\"","import { Component, OnInit } from '@angular/core';\nimport { FormGroup, FormBuilder, Validators, FormControl } from '@angular/forms';\n\nimport { BuscaEnderecoService } from 'src/app/services/busca-endereco.service';\nimport { ClienteEndereco } from 'src/app/models/clienteEndereco';\nimport { Cliente } from 'src/app/models/cliente';\nimport { ClienteService } from 'src/app/services/cliente.service';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { AuthenticationService } from 'src/app/services/authentication.service';\nimport { formControlBinding } from '@angular/forms/src/directives/reactive_directives/form_control_directive';\nimport { ToastrService } from 'ngx-toastr';\nimport { NgxSpinnerService } from 'ngx-spinner';\nimport { ValidaCpfCnpj } from './utils/validaCpfCnpj';\n\n@Component({\n selector: 'app-cliente-cadastro',\n templateUrl: './cliente-cadastro.component.html',\n styleUrls: ['./cliente-cadastro.component.css']\n})\nexport class ClienteCadastroComponent implements OnInit {\n\n enderecoForm: FormGroup;\n clienteForm: FormGroup;\n endereco: ClienteEndereco;\n\n submitted = false;\n submittedCalculoTaxa = false;\n\n cepFoiVerificado = false;\n calculouTaxa = false;\n retornoErroConsultaCep: string;\n spinnerText: string;\n pageChamando: string\n\n clienteCadastrandoPorSocialLogin: boolean;\n\n enderecosCadastrados = new Array();\n\n constructor(\n private buscaEnderecoService: BuscaEnderecoService,\n private clienteService: ClienteService,\n private router: Router,\n private authService: AuthenticationService,\n private toastr: ToastrService,\n private spinner: NgxSpinnerService,\n private route: ActivatedRoute) { }\n\n ngOnInit() {\n\n this.pageChamando = this.route.snapshot.queryParams.page\n\n this.enderecoForm = new FormGroup({\n cep: new FormControl({ value: null, disabled: false }, [Validators.required, Validators.minLength(8)]),\n logradouro: new FormControl({ value: null, disabled: false }, Validators.required),\n numero: new FormControl({ value: null, disabled: false }, Validators.required),\n bairro: new FormControl({ value: null, disabled: false }, Validators.required),\n complemento: new FormControl({ value: null, disabled: false }),\n pontoReferencia: new FormControl({ value: null, disabled: false }),\n\n })\n\n\n this.clienteForm = new FormGroup({\n nome: new FormControl({ value: null, disabled: false }, Validators.required),\n email: new FormControl({ value: null, disabled: false }, [Validators.required, Validators.email]),\n telefone: new FormControl({ value: null, disabled: false }, Validators.required),\n cpf: new FormControl({ value: null, disabled: false }),\n senha: new FormControl({ value: null, disabled: false }, Validators.required),\n confirmacaoSenha: new FormControl({ value: null, disabled: false }, Validators.required),\n })\n\n this.ObterClienteCadastrando();\n this.ObterEnderecoConsultado();\n\n }\n\n // obtem cliente se cadastrando via social login\n ObterClienteCadastrando() {\n\n let clienteCadastrando = this.authService.currentUserValue\n\n if (clienteCadastrando) {\n this.fCliente.email.setValue(clienteCadastrando.email);\n this.fCliente.nome.setValue(clienteCadastrando.nome);\n this.clienteCadastrandoPorSocialLogin = true;\n this.fCliente.senha.setValue('socialLogin#@23')\n this.fCliente.confirmacaoSenha.setValue('socialLogin#@23')\n\n }\n }\n\n // convenience getter for easy access to form fields\n get fCliente() { return this.clienteForm.controls; }\n get fEndereco() { return this.enderecoForm.controls; }\n\n // metodo resposavel por obter o endereco que o cliente ja verificou a disponibilidade de entrega\n ObterEnderecoConsultado() {\n\n let enderecoJaInformado = this.authService.currentEnderecoEntregaValue;\n this.cepFoiVerificado = true;\n this.calculouTaxa = true;\n\n if (enderecoJaInformado) {\n this.endereco = enderecoJaInformado;\n this.fEndereco.numero.setValue(enderecoJaInformado.numero);\n this.fEndereco.cep.setValue(enderecoJaInformado.cep);\n this.fEndereco.logradouro.setValue(enderecoJaInformado.logradouro);\n this.fEndereco.bairro.setValue(enderecoJaInformado.bairro);\n this.fEndereco.complemento.setValue(enderecoJaInformado.complemento);\n this.fEndereco.pontoReferencia.setValue(enderecoJaInformado.pontoReferencia);\n\n }\n\n }\n\n\n BuscarEnderecoPeloCep(clienteEndereco: ClienteEndereco) {\n\n this.calculouTaxa = false;\n\n clienteEndereco.empresaId = this.authService.currentEmpresaValue.id;\n\n\n this.retornoErroConsultaCep = null;\n this.endereco = null;\n\n if (clienteEndereco.cep.length >= 8) {\n\n this.spinner.show();\n\n this.buscaEnderecoService.BuscarEnderecoPeloCep(clienteEndereco).subscribe((endereco: ClienteEndereco) => {\n\n this.enderecoForm.get('logradouro').setValue(endereco.logradouro);\n this.enderecoForm.get('bairro').setValue(endereco.bairro);\n this.cepFoiVerificado = true;\n this.endereco = endereco;\n\n this.spinner.hide();\n\n },\n error => {\n this.spinner.hide();\n this.retornoErroConsultaCep = error.error.Message;\n });\n }\n }\n\n CalcularTaxa(clienteEndereco: ClienteEndereco) {\n\n\n this.submittedCalculoTaxa = true;\n\n clienteEndereco.empresaId = this.authService.currentEmpresaValue.id;\n clienteEndereco.cidade = this.endereco.cidade;\n clienteEndereco.uf = this.endereco.uf;\n\n this.buscaEnderecoService.CalcularTaxa(clienteEndereco).subscribe((valorTaxa: number) => {\n this.calculouTaxa = true;\n this.endereco.taxa = valorTaxa;\n\n this.submittedCalculoTaxa = false;\n\n },\n error => {\n this.spinner.hide();\n this.retornoErroConsultaCep = error.error.Message;\n this.calculouTaxa = false;\n this.submittedCalculoTaxa = false;\n });\n\n }\n\n SalvarEndereco(endereco: ClienteEndereco) {\n\n endereco.taxa = this.endereco.taxa;\n endereco.dataAlteracao = new Date();\n endereco.cidade = this.endereco.cidade;\n endereco.uf = this.endereco.uf;\n\n this.enderecosCadastrados.push(endereco);\n }\n\n onSubmit() {\n\n this.submitted = true;\n\n // stop here if form is invalid\n if (this.clienteForm.invalid) {\n return;\n }\n\n }\n\n OnChangeInputLogradouro() {\n this.calculouTaxa = false;\n this.retornoErroConsultaCep = null;\n }\n\n OnChangeInputBairro() {\n this.calculouTaxa = false;\n this.retornoErroConsultaCep = null;\n\n }\n\n OnChangeInputNumero() {\n this.calculouTaxa = false;\n this.retornoErroConsultaCep = null;\n\n }\n\n ValidarCpf() {\n let cpf = this.fCliente.cpf.value;\n\n if (cpf != null) {\n if (!ValidaCpfCnpj.validaCpfCnpj(cpf)) {\n this.toastr.error('CPF inválido')\n this.fCliente.cpf.setValue(null);\n }\n }\n\n }\n\n\n SalvarCadastro(cliente: Cliente) {\n\n this.submitted = true;\n\n this.SalvarEndereco(this.enderecoForm.value);\n\n let empresaId = this.authService.currentEmpresaValue.id;\n\n cliente.empresaId = empresaId;\n cliente.dataCadastro = new Date();\n\n cliente.enderecos = this.enderecosCadastrados;\n\n this.clienteService.Save(cliente).subscribe(data => {\n\n if (this.pageChamando == 'login') {\n this.router.navigate(['/cardapio'])\n cliente.isSocialLogin = true;\n this.authService.login(cliente).subscribe(() => { });\n return;\n }\n\n }, error => {\n this.toastr.error(error.error.Message, 'Atenção');\n this.submitted = false;\n });\n\n }\n\n}\n","export class ValidaCpfCnpj {\r\n\r\n static validaCpfCnpj(cpf) {\r\n\r\n if (!cpf || cpf.length != 11\r\n || cpf == \"00000000000\"\r\n || cpf == \"11111111111\"\r\n || cpf == \"22222222222\"\r\n || cpf == \"33333333333\"\r\n || cpf == \"44444444444\"\r\n || cpf == \"55555555555\"\r\n || cpf == \"66666666666\"\r\n || cpf == \"77777777777\"\r\n || cpf == \"88888888888\"\r\n || cpf == \"99999999999\")\r\n return false\r\n var soma = 0\r\n var resto\r\n for (var i = 1; i <= 9; i++)\r\n soma = soma + parseInt(cpf.substring(i - 1, i)) * (11 - i)\r\n resto = (soma * 10) % 11\r\n if ((resto == 10) || (resto == 11)) resto = 0\r\n if (resto != parseInt(cpf.substring(9, 10))) return false\r\n soma = 0\r\n for (var i = 1; i <= 10; i++)\r\n soma = soma + parseInt(cpf.substring(i - 1, i)) * (12 - i)\r\n resto = (soma * 10) % 11\r\n if ((resto == 10) || (resto == 11)) resto = 0\r\n if (resto != parseInt(cpf.substring(10, 11))) return false\r\n return true\r\n\r\n }\r\n\r\n}\r\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NsaWVudGUvY2FkYXN0cm8vY2xpZW50ZS1lZGl0YXIvY2xpZW50ZS1lZGl0YXIuY29tcG9uZW50LmNzcyJ9 */\"","module.exports = \"
\\n

Seus dados

\\n
\\n
\\n
\\n
\\n account_circle\\n \\n \\n Obrigatório\\n \\n
\\n
\\n email\\n \\n \\n Obrigatório\\n Email\\n inválido\\n
\\n
\\n phone\\n \\n \\n Obrigatório\\n
\\n
\\n web\\n \\n \\n
\\n
\\n
\\n
\\n\\n
\\n Salvar\\n\\n Editar\\n
\\n
\\n\\n
\"","import { Component, OnInit } from '@angular/core';\nimport { FormControl, FormGroup, Validators } from '@angular/forms';\nimport { Router } from '@angular/router';\n\nimport { AuthenticationService } from 'src/app/services/authentication.service';\nimport { ToastrService } from 'ngx-toastr';\nimport { ClienteService } from 'src/app/services/cliente.service';\nimport { Cliente } from 'src/app/models/cliente';\n\n@Component({\n selector: 'app-cliente-editar',\n templateUrl: './cliente-editar.component.html',\n styleUrls: ['./cliente-editar.component.css']\n})\nexport class ClienteEditarComponent implements OnInit {\n\n cliente: Cliente;\n clienteForm: FormGroup;\n editandoCadastro: boolean\n\n constructor(private clienteService: ClienteService,\n private router: Router,\n private authService: AuthenticationService,\n private toastr: ToastrService) { }\n\n ngOnInit() {\n\n this.cliente = this.authService.currentUserValue;\n\n this.clienteForm = new FormGroup({\n nome: new FormControl({ value: null, disabled: false }, Validators.required),\n email: new FormControl({ value: null, disabled: false }, [Validators.required, Validators.email]),\n telefone: new FormControl({ value: null, disabled: false }, Validators.required),\n cpf: new FormControl({ value: null, disabled: false }),\n })\n\n this.clienteForm.disable();\n\n this.PopularCampos(this.cliente);\n\n\n }\n\n get fCliente() { return this.clienteForm.controls; }\n\n PopularCampos(cliente: Cliente) {\n this.fCliente.nome.setValue(cliente.nome);\n this.fCliente.email.setValue(cliente.email);\n this.fCliente.telefone.setValue(cliente.telefone);\n this.fCliente.cpf.setValue(cliente.cpf);\n\n }\n\n EditarCadastroClick() {\n this.editandoCadastro = true;\n this.clienteForm.enable();\n }\n\n SalvarCadastro(cliente: Cliente) {\n\n cliente.id = this.cliente.id;\n cliente.enderecos = this.cliente.enderecos;\n\n this.clienteService.EditarDadosCadastrais(cliente).subscribe(data => {\n\n this.authService.setCliente(cliente);\n this.editandoCadastro = false;\n this.clienteForm.disable();\n this.toastr.success('Dados alterados com sucesso')\n\n }, error => {\n this.toastr.error(error.error.Message, 'Atenção');\n console.log(error.error.Message);\n });\n\n }\n\n}\n","module.exports = \"@media screen and (max-width: 800px) {\\r\\n\\r\\n/* modal fullscreen */\\r\\n.modal.open{\\r\\n width: 100%;\\r\\n max-height: 100%;\\r\\n height: 100%;\\r\\n top: 0 !important;\\r\\n}\\r\\n}\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY2xpZW50ZS9jb25zdWx0YS1lbmRlcmVjb3MvY29uc3VsdGEtZW5kZXJlY29zLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0FBRUEsc0JBQXNCO0FBQ3RCO0lBQ0ksV0FBVztJQUNYLGdCQUFnQjtJQUNoQixZQUFZO0lBQ1osaUJBQWlCO0FBQ3JCO0FBQ0EiLCJmaWxlIjoic3JjL2FwcC9jbGllbnRlL2NvbnN1bHRhLWVuZGVyZWNvcy9jb25zdWx0YS1lbmRlcmVjb3MuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIkBtZWRpYSBzY3JlZW4gYW5kIChtYXgtd2lkdGg6IDgwMHB4KSB7XHJcblxyXG4vKiBtb2RhbCBmdWxsc2NyZWVuICAqL1xyXG4ubW9kYWwub3BlbntcclxuICAgIHdpZHRoOiAxMDAlO1xyXG4gICAgbWF4LWhlaWdodDogMTAwJTtcclxuICAgIGhlaWdodDogMTAwJTtcclxuICAgIHRvcDogMCAhaW1wb3J0YW50O1xyXG59XHJcbn0iXX0= */\"","module.exports = \"\\n
\\n
\\n
\\n\\n
\\n
    \\n
  • \\n
    Seus endereços
    \\n
  • \\n
  • \\n
    {{endereco?.logradouro}} {{endereco?.numero}}
    \\n Selecionar\\n
  • \\n
\\n \\n Novo endereco\\n
\\n\\n
\\n Voltar\\n
\\n
\\n\\n\\n
\\n
\\n
\\n
\\n
Cadastrar novo endereço
\\n
\\n
\\n
\\n
\\n \\n \\n \\n
\\n
\\n
\\n
\\n \\n \\n Obrigatório\\n
\\n
\\n \\n \\n Obrigatório\\n
\\n
\\n \\n \\n Obrigatório\\n
\\n
\\n \\n \\n
\\n
\\n \\n \\n
\\n
\\n {{retornoErroConsultaCep}}\\n
\\n
\\n
\\n\\n
\\n\\n
0\\\" class=\\\"col s12\\\">\\n Taxa de entrega: {{endereco?.taxa | currency :\\\"BRL\\\"}}\\n
\\n
\\n Taxa de entrega: Grátis\\n
\\n\\n\\n Calcular taxa\\n\\n \\n Calculando\\n\\n
\\n\\n
\\n
\\n
{{erro}}
\\n
\\n
\\n
\\n Salvar\\n\\n \\n Salvando\\n
\\n
\\n\\n
\\n Voltar\\n
\\n
\"","import { Component, OnInit, Output, EventEmitter, Input } from '@angular/core';\nimport { FormGroup, FormControl, Validators } from '@angular/forms';\n\nimport { AuthenticationService } from 'src/app/services/authentication.service';\nimport { ClienteEndereco } from 'src/app/models/clienteEndereco';\nimport { BuscaEnderecoService } from 'src/app/services/busca-endereco.service';\nimport { ClienteEnderecoService } from 'src/app/services/cliente-endereco.service';\nimport { NgxSpinnerService } from 'ngx-spinner';\n\ndeclare var $: any\n\n@Component({\n selector: 'app-consulta-enderecos',\n templateUrl: './consulta-enderecos.component.html',\n styleUrls: ['./consulta-enderecos.component.css']\n})\nexport class ConsultaEnderecosComponent implements OnInit {\n\n @Output() modalAberto = new EventEmitter();\n @Input() abrirModal: boolean\n @Output() enderecoSelecionado = new EventEmitter();\n\n enderecosCliente: ClienteEndereco[];\n\n endereco: ClienteEndereco;\n erro: string;\n spinnerText: string;\n submitted = false;\n\n submittedCalculoTaxa = false;\n\n\n cepFoiVerificado = false;\n calculouTaxa = false;\n\n\n\n enderecoForm: FormGroup;\n\n constructor(private authService: AuthenticationService,\n private buscaEnderecoService: BuscaEnderecoService,\n private clienteEnderecoService: ClienteEnderecoService,\n private spinner: NgxSpinnerService) {\n\n // inicializar modal\n $(document).ready(function () {\n $('.modal').modal({\n dismissible: false\n });\n });\n\n }\n\n ngOnInit() {\n\n this.ObterEnderecosCadastrados()\n\n $(document).ready(function () {\n $('#modalConsultarEnderecos').modal('open');\n });\n\n this.enderecoForm = new FormGroup({\n cep: new FormControl({ value: null, disabled: false }, [Validators.required, Validators.minLength(8)]),\n logradouro: new FormControl({ value: null, disabled: false }, Validators.required),\n numero: new FormControl({ value: null, disabled: false }, Validators.required),\n bairro: new FormControl({ value: null, disabled: false }, Validators.required),\n complemento: new FormControl({ value: null, disabled: false }),\n pontoReferencia: new FormControl({ value: null, disabled: false }),\n });\n }\n\n get fEndereco() { return this.enderecoForm.controls; }\n\n ObterEnderecosCadastrados() {\n\n this.spinner.show();\n\n let clienteId = this.authService.currentUserValue.id;\n\n this.clienteEnderecoService.ListPorCliente(clienteId).subscribe(enderecos => {\n this.enderecosCliente = enderecos;\n\n this.spinner.hide();\n\n });\n }\n\n CadastrarNovoEndereco() {\n $('#modalCadastrarEndereco').modal('open');\n //this.mostrarModalCadastroEndereco = true;\n }\n\n FecharModal() {\n $('#modalConsultarEnderecos').modal('close');\n $('#modalCadastrarEndereco').modal('close');\n this.modalAberto.emit(false);\n }\n\n SelecionarEndereco(endereco: ClienteEndereco) {\n $('#modalConsultarEnderecos').modal('close');\n this.enderecoSelecionado.emit(endereco);\n this.modalAberto.emit(false);\n }\n\n BuscarEnderecoPeloCep(clienteEndereco: ClienteEndereco) {\n\n this.erro = null;\n this.calculouTaxa = false;\n\n if (clienteEndereco.cep.length >= 8) {\n\n clienteEndereco.empresaId = this.authService.currentEmpresaValue.id;\n clienteEndereco.dataAlteracao = new Date();\n\n\n this.spinner.show();\n\n\n this.buscaEnderecoService.BuscarEnderecoPeloCep(clienteEndereco).subscribe((endereco: ClienteEndereco) => {\n\n this.cepFoiVerificado = true;\n\n this.endereco = endereco;\n\n\n this.fEndereco.logradouro.setValue(endereco.logradouro);\n this.fEndereco.bairro.setValue(endereco.bairro);\n this.fEndereco.numero.setValue(null);\n this.fEndereco.complemento.setValue(null);\n\n\n this.spinner.hide();\n\n },\n error => {\n this.spinner.hide();\n this.erro = error.error.Message;\n console.log(error)\n this.cepFoiVerificado = false;\n });\n\n }\n }\n\n CalcularTaxa(clienteEndereco: ClienteEndereco) {\n\n\n this.submittedCalculoTaxa = true;\n this.calculouTaxa;\n\n clienteEndereco.empresaId = this.authService.currentEmpresaValue.id;\n clienteEndereco.cidade = this.endereco.cidade;\n clienteEndereco.uf = this.endereco.uf;\n\n this.buscaEnderecoService.CalcularTaxa(clienteEndereco).subscribe((valorTaxa: number) => {\n this.calculouTaxa = true;\n this.endereco.taxa = valorTaxa;\n\n this.submittedCalculoTaxa = false;\n\n },\n error => {\n this.spinner.hide();\n this.erro = error.error.Message;\n this.calculouTaxa = false;\n this.submittedCalculoTaxa = false;\n });\n\n }\n\n OnChangeInputLogradouro() {\n this.calculouTaxa = false;\n this.erro = null;\n\n }\n\n OnChangeInputBairro() {\n this.calculouTaxa = false;\n this.erro = null;\n\n }\n\n OnChangeInputNumero() {\n this.calculouTaxa = false;\n this.erro = null;\n\n }\n\n SalvarEndereco(clienteEndereco: ClienteEndereco) {\n\n this.submitted = true;\n\n clienteEndereco.clienteId = this.authService.currentUserValue.id;\n clienteEndereco.dataAlteracao = new Date();\n clienteEndereco.cep = clienteEndereco.cep.replace('-', '');\n clienteEndereco.taxa = this.endereco.taxa;\n\n this.clienteEnderecoService.Save(clienteEndereco).subscribe(() => {\n\n $('#modalCadastrarEndereco').modal('close');\n this.ObterEnderecosCadastrados();\n\n }, error => {\n this.submitted = false;\n console.log(error.error.Message);\n });\n }\n\n}\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NsaWVudGUvcmVjdXBlcmFjYW8tc2VuaGEvbm92YS1zZW5oYS9ub3ZhLXNlbmhhLmNvbXBvbmVudC5jc3MifQ== */\"","module.exports = \"
\\n
\\n
\\n\\n
\\n

\\n check_circle\\n

\\n

{{mensagemSucesso}}

\\n Realize o login clicando aqui\\n
\\n\\n
\\n Alteração de senha \\n {{cliente?.email}}\\n
\\n
\\n lock\\n \\n \\n Obrigatório\\n
\\n
\\n \\n \\n \\n Obrigatório\\n
\\n
\\n \\n
\\n\\n
\\n
\\n\\n\\n\"","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { FormGroup, FormControl, Validators } from '@angular/forms';\n\nimport { Cliente } from 'src/app/models/cliente';\nimport { ClienteService } from 'src/app/services/cliente.service';\nimport { ToastrService } from 'ngx-toastr';\n\n@Component({\n selector: 'app-nova-senha',\n templateUrl: './nova-senha.component.html',\n styleUrls: ['./nova-senha.component.css']\n})\nexport class NovaSenhaComponent implements OnInit {\n\n clienteForm: FormGroup;\n cliente: any\n mensagemSucesso = null;\n mostrarLogin = false;\n\n submitted = false;\n\n\n constructor(private activatedRouter: ActivatedRoute,\n private clienteService: ClienteService,\n private toastr: ToastrService) { }\n\n ngOnInit() {\n\n let clienteId = null;\n\n this.activatedRouter.queryParams.subscribe(params => {\n\n clienteId = params.cli\n\n });\n\n this.clienteService.Get(clienteId).subscribe((cliente: Cliente) => {\n\n this.cliente = cliente;\n },\n error => {\n console.log(error.error.Message);\n });\n\n this.clienteForm = new FormGroup({\n senha: new FormControl({ value: null, disabled: false }, Validators.required),\n confirmacaoSenha: new FormControl({ value: null, disabled: false }, Validators.required),\n })\n\n }\n\n get fCliente() { return this.clienteForm.controls; }\n\n SalvarAlteracao(cliente: any) {\n\n this.submitted = true;\n\n this.cliente.senha = cliente.senha\n\n this.clienteService.Save(this.cliente).subscribe(data => {\n\n //apos cadastro sera realizado com sucesso, o cliente sera redirecionado para a tela de login\n // this.router.navigate(['/login']);\n this.mensagemSucesso = 'Senha alterada com sucesso \\n realize o login'\n\n }, error => {\n this.submitted = false;\n this.toastr.error(error.error.Message, 'Atenção');\n });\n\n }\n\n Login() {\n this.mostrarLogin = true\n }\n\n\n RespostaModalLogin(modalAbertoLogin) {\n this.mostrarLogin = modalAbertoLogin;\n }\n\n}\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NsaWVudGUvcmVjdXBlcmFjYW8tc2VuaGEvcmVjdXBlcmFyLXNlbmhhL3JlY3VwZXJhci1zZW5oYS5jb21wb25lbnQuY3NzIn0= */\"","module.exports = \"
\\n
\\n

Será enviado o link de redefinição de senha no email informado

\\n
\\n
\\n
\\n email\\n \\n \\n
\\n
\\n {{mensagemRetorno}}\\n
\\n \\n
\"","import { Component, OnInit } from '@angular/core';\nimport { AuthenticationService } from 'src/app/services/authentication.service';\nimport { FormGroup, FormControl, Validators } from '@angular/forms';\n\nimport { Cliente } from 'src/app/models/cliente';\nimport { Empresa } from 'src/app/models/empresa';\n\n@Component({\n selector: 'app-recuperar-senha',\n templateUrl: './recuperar-senha.component.html',\n styleUrls: ['./recuperar-senha.component.css']\n})\nexport class RecuperarSenhaComponent implements OnInit {\n\n clienteForm: FormGroup;\n empresa: Empresa;\n mensagemRetorno = null;\n mostrarForm = true;\n\n submitted = false;\n\n constructor(private authService: AuthenticationService) { }\n\n ngOnInit() {\n\n this.empresa = this.authService.currentEmpresaValue;\n\n this.clienteForm = new FormGroup({\n email: new FormControl({ value: null, disabled: false }, [Validators.required, Validators.email]),\n })\n\n }\n\n EnviarEmail(cliente: Cliente) {\n\n this.submitted = true;\n\n cliente.empresaId = this.empresa.id;\n\n this.authService.recuperarSenha(cliente).subscribe(data => {\n this.mensagemRetorno = 'Sucesso \\n verifique sua caixa de entrada com o link'\n this.mostrarForm = false;\n\n },\n error => {\n this.submitted = false;\n this.mensagemRetorno = error.error.Message;\n });\n }\n\n}\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbnRhdG8vY29udGF0by5jb21wb25lbnQuY3NzIn0= */\"","module.exports = \"
\\n
\\n
Endereço
\\n
{{empresa?.logradouro}}, {{empresa?.numero}} - {{empresa?.bairro}}
\\n
\\n\\n
Contato
\\n
{{empresa?.telefone1}} {{empresa?.telefone2}} {{empresa?.telefone3}}
\\n
\\n\\n
Horário de funcionamento
\\n
\\n Segunda\\n Fechado\\n \\n {{empresa?.horarioFuncionamento?.horaAberturaSegunda | slice:0:5}} até\\n {{empresa?.horarioFuncionamento?.horaFechamentoSegunda | slice:0:5}}\\n \\n
\\n
\\n Terça\\n Fechado\\n \\n {{empresa?.horarioFuncionamento?.horaAberturaTerca | slice:0:5}} até\\n {{empresa?.horarioFuncionamento?.horaFechamentoTerca | slice:0:5}}\\n \\n
\\n
\\n Quarta\\n Fechado\\n \\n {{empresa?.horarioFuncionamento?.horaAberturaQuarta | slice:0:5}} até\\n {{empresa?.horarioFuncionamento?.horaFechamentoQuarta | slice:0:5}}\\n \\n
\\n
\\n Quinta\\n Fechado\\n \\n {{empresa?.horarioFuncionamento?.horaAberturaQuinta | slice:0:5}} até\\n {{empresa?.horarioFuncionamento?.horaFechamentoQuinta | slice:0:5}}\\n \\n
\\n
\\n Sexta\\n Fechado\\n \\n {{empresa?.horarioFuncionamento?.horaAberturaSexta | slice:0:5}} até\\n {{empresa?.horarioFuncionamento?.horaFechamentoSexta | slice:0:5}}\\n \\n
\\n
\\n Sábado\\n Fechado\\n \\n {{empresa?.horarioFuncionamento?.horaAberturaSabado | slice:0:5}} até\\n {{empresa?.horarioFuncionamento?.horaFechamentoSabado | slice:0:5}}\\n \\n
\\n
\\n Domingo\\n Fechado\\n \\n {{empresa?.horarioFuncionamento?.horaAberturaDomingo | slice:0:5}} até\\n {{empresa?.horarioFuncionamento?.horaFechamentoDomingo | slice:0:5}}\\n \\n
\\n
\\n\\n\\n
\"","import { Component, OnInit } from '@angular/core';\n\nimport { Empresa } from '../models/empresa';\nimport { EmpresaService } from '../services/empresa.service';\nimport { AuthenticationService } from '../services/authentication.service';\n\n@Component({\n selector: 'app-contato',\n templateUrl: './contato.component.html',\n styleUrls: ['./contato.component.css']\n})\nexport class ContatoComponent implements OnInit {\n\n empresa: Empresa;\n\n\n constructor(private empresaService: EmpresaService, \n private authService:AuthenticationService ) { }\n\n ngOnInit() {\n\n this.empresa = this.authService.currentEmpresaValue;\n\n }\n\n}\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2Vycm8tcmVxdWVzdC9lcnJvLXJlcXVlc3QuY29tcG9uZW50LmNzcyJ9 */\"","module.exports = \"
\\n

\\n error\\n

\\n

O restaurante esta indisponivel no momento

\\n
\"","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-erro-request',\n templateUrl: './erro-request.component.html',\n styleUrls: ['./erro-request.component.css']\n})\nexport class ErroRequestComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","module.exports = \".logo{\\r\\n margin-top: 10px;\\r\\n }\\r\\n\\r\\n .btn-small {\\r\\n height: 24px;\\r\\n margin-left: 10px;\\r\\n line-height: 24px;\\r\\n padding: 0 0.5rem;\\r\\n background-color: white;\\r\\n font-size: 10px;\\r\\n font-weight: bold;\\r\\n color: black;\\r\\n}\\r\\n \\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvaGVhZGVyL2hlYWRlci5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksZ0JBQWdCO0VBQ2xCOztFQUVBO0lBQ0UsWUFBWTtJQUNaLGlCQUFpQjtJQUNqQixpQkFBaUI7SUFDakIsaUJBQWlCO0lBQ2pCLHVCQUF1QjtJQUN2QixlQUFlO0lBQ2YsaUJBQWlCO0lBQ2pCLFlBQVk7QUFDaEIiLCJmaWxlIjoic3JjL2FwcC9oZWFkZXIvaGVhZGVyLmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIubG9nb3tcclxuICAgIG1hcmdpbi10b3A6IDEwcHg7XHJcbiAgfVxyXG5cclxuICAuYnRuLXNtYWxsIHtcclxuICAgIGhlaWdodDogMjRweDtcclxuICAgIG1hcmdpbi1sZWZ0OiAxMHB4O1xyXG4gICAgbGluZS1oZWlnaHQ6IDI0cHg7XHJcbiAgICBwYWRkaW5nOiAwIDAuNXJlbTtcclxuICAgIGJhY2tncm91bmQtY29sb3I6IHdoaXRlO1xyXG4gICAgZm9udC1zaXplOiAxMHB4O1xyXG4gICAgZm9udC13ZWlnaHQ6IGJvbGQ7XHJcbiAgICBjb2xvcjogYmxhY2s7XHJcbn1cclxuICAiXX0= */\"","module.exports = \"\\n\\n\\n
\\n
\\n \\n
\\n\\n
\\n
{{empresa?.nomeFantasia}}
\\n
\\n\\n
\\n Aberto\\n Fechado no momento\\n
\\n\\n
\\n Tempo entrega:\\n {{empresa?.tempoEntrega}}\\n
\\n\\n
\\n Pedido minimo:\\n {{empresa?.valorPedidoMinimo | currency :\\\"BRL\\\"}}\\n
\\n\\n
\\n Taxa de entrega:\\n \\n Grátis\\n \\n 0\\\">{{currentEnderecoEntrega?.taxa | currency :\\\"BRL\\\"}} \\n
\\n\\n \\n\\n
\\n
\\n \\n
\\n\\n\\n\\n\\n
0\\\" class=\\\"fixed-action-btn\\\">\\n \\n shopping_cart\\n \\n
\\n\\n\\n\\n\\n\\n\"","import { Component, OnInit } from '@angular/core';\nimport { Subscription, interval } from 'rxjs';\nimport { ActivatedRoute, Router } from '@angular/router';\n\nimport { Cliente } from '../models/cliente';\nimport { AuthenticationService } from '../services/authentication.service';\nimport { SacolaService } from '../services/shared/sacola.service';\nimport { ItemSacola } from '../models/itemSacola';\nimport { ClienteEndereco } from '../models/clienteEndereco';\nimport { Empresa } from '../models/empresa';\nimport { EmpresaService } from '../services/empresa.service';\nimport { map } from 'rxjs/operators';\nimport { AuthService } from 'angularx-social-login';\n\ndeclare var $: any\n\n@Component({\n selector: 'app-header',\n templateUrl: './header.component.html',\n styleUrls: ['./header.component.css']\n})\nexport class HeaderComponent implements OnInit {\n\n mostrarLogin = false;\n mostrarCalculoTaxa: boolean;\n\n currentUser: Cliente;\n currentUserSubscription: Subscription;\n\n empresa: Empresa;\n\n currentEnderecoEntrega: ClienteEndereco;\n currentEnderecoEntregaSubscription: Subscription;\n\n itensNaSacolaSubscription: Subscription;\n itensNaSacola: ItemSacola[]\n valorTaxa: any = 0\n\n\n constructor(private authService: AuthenticationService,\n private sacolaService: SacolaService,\n private empresaService: EmpresaService,\n private activatedRouter: ActivatedRoute,\n private router: Router,\n private authServiceSocialLogin: AuthService) {\n\n // inicializacao sidenave\n $(document).ready(function () {\n $('.sidenav').sidenav();\n });\n\n // inicializar modal \n $(document).ready(function () {\n $('.modal').modal({\n dismissible: false\n });\n });\n\n\n // obter usuario logado\n this.currentUserSubscription = this.authService.currentUser.subscribe(user => {\n this.currentUser = user;\n\n });\n\n // obter enderecoEntrega\n this.currentEnderecoEntregaSubscription = this.authService.currentEnderecoEntrega.subscribe(end => {\n this.currentEnderecoEntrega = end;\n });\n\n // obterItensSacola\n this.itensNaSacolaSubscription = this.sacolaService.itensSacolaObservable.subscribe(itens => {\n this.itensNaSacola = itens;\n\n });\n\n }\n\n ngOnInit() {\n\n\n\n let usuarioLogado = this.authService.currentUserValue;\n\n this.activatedRouter.queryParams.subscribe(params => {\n\n let empresaId = params.emp\n let clienteId = params.cli\n\n\n // previne perder empresa reload pagina\n if (!empresaId)\n empresaId = sessionStorage.getItem('emp');\n\n if (empresaId) {\n\n // logout do usuario para caso ele comprou em outra empresa e estava armazenado no localstorage\n if (usuarioLogado)\n if (usuarioLogado.empresaId != empresaId)\n this.authService.logout();\n\n this.authService.setEmpresaId(empresaId);\n\n this.authService.currentEmpresa.subscribe(empresa => {\n this.empresa = empresa;\n\n });\n\n\n // nao esta mudando senha\n /* if (!clienteId)\n this.router.navigate(['/cardapio']);*/\n\n this.authService.startTimer();\n }\n\n });\n\n }\n\n Login() {\n this.mostrarLogin = true\n }\n\n Logout() {\n this.authService.logout();\n this.authService.removeEnderecoEntrega();\n this.authServiceSocialLogin.signOut();\n }\n\n RespostaModalLogin(modalAbertoLogin) {\n this.mostrarLogin = modalAbertoLogin;\n }\n\n CalcularTaxaEntrega() {\n this.mostrarCalculoTaxa = true;\n\n }\n\n RespostaModalConsultaTaxa(modalAbertoConsultaTaxa) {\n this.mostrarCalculoTaxa = modalAbertoConsultaTaxa;\n }\n\n\n}\n","module.exports = \"@media screen and (max-width: 800px) {\\r\\n\\r\\n/* modal fullscreen */\\r\\n.modal.open{\\r\\n width: 100%;\\r\\n max-height: 100%;\\r\\n height: 100%;\\r\\n top: 0 !important;\\r\\n}\\r\\n\\r\\n}\\r\\n\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbG9naW4vbG9naW4vbG9naW4uY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7QUFFQSxzQkFBc0I7QUFDdEI7SUFDSSxXQUFXO0lBQ1gsZ0JBQWdCO0lBQ2hCLFlBQVk7SUFDWixpQkFBaUI7QUFDckI7O0FBRUEiLCJmaWxlIjoic3JjL2FwcC9sb2dpbi9sb2dpbi9sb2dpbi5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQG1lZGlhIHNjcmVlbiBhbmQgKG1heC13aWR0aDogODAwcHgpIHtcclxuXHJcbi8qIG1vZGFsIGZ1bGxzY3JlZW4gICovXHJcbi5tb2RhbC5vcGVue1xyXG4gICAgd2lkdGg6IDEwMCU7XHJcbiAgICBtYXgtaGVpZ2h0OiAxMDAlO1xyXG4gICAgaGVpZ2h0OiAxMDAlO1xyXG4gICAgdG9wOiAwICFpbXBvcnRhbnQ7XHJcbn1cclxuXHJcbn1cclxuXHJcbiJdfQ== */\"","module.exports = \"\\n
\\n
\\n
\\n \\n
\\n
\\n
Como deseja se conectar?
\\n \\n
\\n\\n
\\n
\\n Conectando\\n
\\n
\\n\\n
\\n
\\n
\\n {{mensagemRetornoErro}}\\n
\\n

Informe o email de cadastro ou realize um novo cadastro

\\n
\\n
\\n mail_outline\\n \\n \\n
\\n
\\n
\\n
\\n lock_outline\\n \\n \\n
\\n
\\n
\\n
\\n

Cadastrar!\\n

\\n
\\n \\n
\\n
\\n
\\n Entrar\\n \\n Aguarde\\n
\\n
\\n
\\n
\\n
\\n
\\n Voltar\\n
\\n
\"","import { Component, OnInit, Input, ɵConsole, EventEmitter, Output } from '@angular/core';\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\nimport { Router } from '@angular/router';\n\nimport { Cliente } from 'src/app/models/cliente';\nimport { AuthenticationService } from 'src/app/services/authentication.service';\nimport { SacolaService } from 'src/app/services/shared/sacola.service';\n\nimport { AuthService, SocialUser, LoginOpt } from 'angularx-social-login';\nimport { GoogleLoginProvider, FacebookLoginProvider, LinkedInLoginProvider } from 'angularx-social-login';\nimport { Empresa } from 'src/app/models/empresa';\n\ndeclare var $: any\n\n@Component({\n selector: 'app-login',\n templateUrl: './login.component.html',\n styleUrls: ['./login.component.css']\n})\nexport class LoginComponent implements OnInit {\n\n loginForm: FormGroup;\n mensagemRetornoErro = null;\n empresa: Empresa;\n emailClicado: boolean;\n realizandoSocialLogin: boolean;\n\n // referencia do componente que esta chamando\n @Input('componenteChamando') componenteChamando;\n\n @Output() modalAberto = new EventEmitter();\n @Input() abrirModal: boolean\n\n submitted = false;\n\n usersSocialLogin: SocialUser;\n\n\n constructor(private authService: AuthenticationService,\n private formBuilder: FormBuilder,\n private sacolaService: SacolaService,\n private router: Router,\n private authServiceSocialLogin: AuthService) {\n\n // inicializar modal\n $(document).ready(function () {\n $('.modal').modal({\n dismissible: false\n });\n });\n }\n\n\n ngOnInit() {\n\n this.empresa = this.authService.currentEmpresaValue;\n\n this.authServiceSocialLogin.authState.subscribe((user) => {\n });\n\n $(document).ready(function () {\n $('#modalLogin').modal('open');\n });\n\n this.loginForm = new FormGroup({\n email: new FormControl({ value: null, disabled: false }, [Validators.required, Validators.email]),\n senha: new FormControl({ value: null, disabled: false }),\n\n })\n\n }\n\n Logar(cliente: Cliente) {\n\n this.submitted = true;\n\n // passa id da empresa que o cliente esta visualizando o cardapio\n cliente.empresaId = this.authService.currentEmpresaValue.id;\n\n this.authService.login(cliente).subscribe(\n clienteRetornado => {\n\n //navega para cadastro caso for um novo cliente\n if (clienteRetornado.id == 0) {\n\n // passa o parametro da pagina que esta chamando o cadastro\n this.router.navigate(['/cliente-cadastro'],\n { queryParams: { page: 'login' } });\n\n\n $('#modalLogin').modal('close');\n this.modalAberto.emit(false);\n return;\n }\n\n\n $('#modalLogin').modal('close');\n this.modalAberto.emit(false);\n\n if (this.sacolaService.itensSacola.length > 0) {\n this.router.navigate(['/sacola']);\n\n // verificar se componente sacola esta chamando a tela de login para recarregar e preencher dados do cliente logado\n if (this.componenteChamando != undefined)\n this.componenteChamando.ngOnInit()\n return;\n }\n\n /*// voltar para a pagina que solicitou o login\n if (this.componenteChamando)\n this.componenteChamando.ngOnInit()*/\n },\n error => {\n this.mensagemRetornoErro = error.error.Message;\n this.submitted = false;\n });\n\n }\n\n navegarParaCadastro() {\n // passa o parametro da pagina que esta chamando o cadastro\n this.router.navigate(['/cliente-cadastro'],\n { queryParams: { page: 'login' } });\n\n $('#modalLogin').modal('close');\n this.modalAberto.emit(false);\n return;\n }\n\n FecharModal() {\n this.modalAberto.emit(false);\n }\n\n signInWithGoogle(): void {\n\n this.realizandoSocialLogin = true;\n\n let cliente = new Cliente;\n\n this.authServiceSocialLogin.signIn(GoogleLoginProvider.PROVIDER_ID)\n .then(\n res => { // Success\n cliente.email = res.email;\n cliente.nome = res.name;\n cliente.isSocialLogin = true;\n this.Logar(cliente);\n\n })\n .catch(error => {\n this.realizandoSocialLogin = false;\n });\n\n }\n\n signInWithFB(): void {\n\n this.realizandoSocialLogin = true;\n\n let cliente = new Cliente;\n\n this.authServiceSocialLogin.signIn(FacebookLoginProvider.PROVIDER_ID)\n .then(\n res => { // Success\n cliente.email = res.email;\n cliente.nome = res.name;\n cliente.isSocialLogin = true;\n this.Logar(cliente);\n\n })\n .catch(error => {\n this.realizandoSocialLogin = false;\n });\n\n }\n\n LoginByEmail() {\n this.emailClicado = true;\n }\n\n\n\n}\n","module.exports = \"\\r\\n.quantidadeItem{\\r\\n font-size: 20px;\\r\\n margin-left: 6px;\\r\\n margin-right: 6px;\\r\\n}\\r\\n\\r\\n.textBold{\\r\\n font-weight: bold;\\r\\n}\\r\\n\\r\\n.divItem{\\r\\n background: #F2F2F2;\\r\\n border-radius: 10px;\\r\\n}\\r\\n\\r\\n@media screen and (max-width: 800px) {\\r\\n /* modal fullscreen */\\r\\n.modal.open{\\r\\n width: 100%;\\r\\n max-height: 100%;\\r\\n height: 100%;\\r\\n top: 0 !important;\\r\\n}\\r\\n\\r\\n}\\r\\n\\r\\n.materialboxed{\\r\\n border-radius: 15px;\\r\\n}\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,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Jcbn1cclxuXHJcbn1cclxuXHJcblxyXG5cclxuLm1hdGVyaWFsYm94ZWR7XHJcbiAgICBib3JkZXItcmFkaXVzOiAxNXB4O1xyXG59XHJcblxyXG5cclxuXHJcbiJdfQ== */\"","module.exports = \"
\\n\\n
\\n
\\n Escolha os produtos das categorias\\n
\\n
\\n\\n
    \\n
  • \\n
    \\n navigate_next{{categoria?.descricao}}\\n
    \\n
    \\n
    \\n
    \\n {{produto?.nome}}\\n {{produto?.descricao}}\\n \\n
    \\n
    \\n 0\\\" class=\\\"col s8\\\"> {{produto?.valorVenda | currency :\\\"BRL\\\"}}\\n A partir de\\n {{produto?.valorApartir | currency :\\\"BRL\\\"}}\\n \\n add\\n
    \\n
    \\n
    \\n
    \\n
    \\n
  • \\n
\\n\\n\\n\\n \\n
\\n
\\n

{{produtoSelecionado?.nome}}

\\n \\n

{{produtoSelecionado?.descricao}}

\\n

{{produtoSelecionado?.valorVenda | currency :\\\"BRL\\\"}}

\\n\\n
\\n
\\n\\n
\\n {{categoriaComplemento?.descricao}}\\n
\\n escolha ate {{categoriaComplemento?.quantidadeMaxima}}\\n Obrigatório\\n \\n check\\n \\n \\n {{categoriaComplemento?.quantidadeInserida}}/{{categoriaComplemento?.quantidadeMaxima}}\\n \\n
\\n\\n\\n
\\n

\\n

\\n 0\\\" class=\\\"red-text\\\" style=\\\"font-size: 20px;\\\">+\\n {{complemento?.valorVenda | currency :\\\"BRL\\\"}}\\n
\\n \\n

\\n
\\n\\n \\n\\n
\\n
\\n
\\n \\n \\n
\\n\\n
\\n
\\n
Quantidade
\\n remove_circle\\n {{quantidadeItem}}\\n add_circle\\n
Total {{CalcularTotalItem() | currency :\\\"BRL\\\"}}
\\n
\\n
\\n
\\n \\n Adicionar\\n \\n
\\n
\\n\\n
\\n
\\n
\\n Voltar\\n
\\n\\n
\\n
\\n\\n\\n\"","import { Component, OnInit } from '@angular/core';\r\nimport { Router, ActivatedRoute } from '@angular/router';\r\n\r\nimport { CategoriaProduto } from 'src/app/models/categoriaProduto';\r\nimport { CategoriaProdutoService } from 'src/app/services/categoria-produto.service';\r\nimport { Produto } from 'src/app/models/produto';\r\nimport { SacolaService } from 'src/app/services/shared/sacola.service';\r\nimport { ItemSacola } from 'src/app/models/itemSacola';\r\nimport { tryParse } from 'selenium-webdriver/http';\r\nimport { Complemento } from 'src/app/models/complemento';\r\nimport { ItemSacolaComplemento } from 'src/app/models/itemSacolaComplemento';\r\nimport { registerContentQuery } from '@angular/core/src/render3';\r\nimport { AuthenticationService } from 'src/app/services/authentication.service';\r\nimport { ToastrService } from 'ngx-toastr';\r\nimport { CategoriaComplemento } from 'src/app/models/categoriaComplemento';\r\nimport { NgxSpinnerService } from 'ngx-spinner';\r\n\r\ndeclare var $: any\r\n\r\n@Component({\r\n selector: 'app-cardapio',\r\n templateUrl: './cardapio.component.html',\r\n styleUrls: ['./cardapio.component.css']\r\n})\r\nexport class CardapioComponent implements OnInit {\r\n\r\n mostrarCalculoTaxa: boolean;\r\n botaoAdicionarItemDesabilitado: boolean = true;\r\n\r\n categoriasProduto: CategoriaProduto[] = new Array;\r\n produtoSelecionado: Produto;\r\n observacaoItem: string;\r\n quantidadeItem: number = 1;\r\n\r\n constructor(private categoriaProdutoService: CategoriaProdutoService,\r\n private sacolaService: SacolaService,\r\n private authService: AuthenticationService,\r\n private toastr: ToastrService,\r\n private router: Router,\r\n private spinner: NgxSpinnerService) {\r\n\r\n // inicializar jquery\r\n $(document).ready(function () {\r\n $('.modal').modal({\r\n dismissible: false\r\n });\r\n $('.collapsible').collapsible();\r\n });\r\n\r\n // ampliar imagem\r\n $(document).ready(function () {\r\n $('.materialboxed').materialbox();\r\n });\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.BuscarCategorias(Number(sessionStorage.getItem('emp')));\r\n }\r\n\r\n BuscarCategorias(empresaId: number) {\r\n\r\n this.spinner.show();\r\n\r\n this.categoriaProdutoService.ListByEmpresa(empresaId).subscribe((categorias: CategoriaProduto[]) => {\r\n this.categoriasProduto = categorias\r\n\r\n this.spinner.hide();\r\n\r\n },\r\n error => {\r\n this.spinner.hide();\r\n this.router.navigate(['/erro']);\r\n });\r\n\r\n }\r\n\r\n SelecionarProduto(produto: Produto) {\r\n\r\n if (this.authService.currentEmpresaValue.abertaFechada == 'FECHADA') {\r\n this.toastr.error('Restaurante indisponivel')\r\n $(document).ready(function () {\r\n $('#modalItemSelecionado').modal('close');\r\n });\r\n return\r\n }\r\n\r\n if (!this.authService.currentEnderecoEntregaValue && !this.authService.currentUserValue) {\r\n\r\n //fecha modal produto selecionado antes de abrir o de calcular taxa\r\n $(document).ready(function () {\r\n $('#modalItemSelecionado').modal('close');\r\n });\r\n\r\n this.mostrarCalculoTaxa = true;\r\n }\r\n\r\n this.produtoSelecionado = produto;\r\n\r\n }\r\n\r\n AddQuantidadeItem() {\r\n this.quantidadeItem++;\r\n }\r\n\r\n RemoveQuantidadeItem() {\r\n\r\n if (this.quantidadeItem > 1)\r\n this.quantidadeItem--;\r\n }\r\n\r\n AddItem() {\r\n\r\n\r\n let itemSacola = new ItemSacola();\r\n\r\n itemSacola.produto = this.produtoSelecionado;\r\n itemSacola.quantidade = this.quantidadeItem;\r\n itemSacola.observacao = this.observacaoItem;\r\n itemSacola.itemSacolaComplementos = this.AddComplementos();\r\n\r\n this.showSuccess(itemSacola);\r\n\r\n this.sacolaService.AddItem(itemSacola)\r\n\r\n\r\n this.LimparCampos();\r\n\r\n }\r\n\r\n AddComplementos(): ItemSacolaComplemento[] {\r\n\r\n if (!this.produtoSelecionado)\r\n return;\r\n\r\n let complementosInserido = new Array();\r\n\r\n this.produtoSelecionado.categoriasComplemento.forEach(catComp => {\r\n\r\n catComp.complementos.forEach(comp => {\r\n\r\n\r\n if (comp.quantidadeInserida > 0) {\r\n\r\n let itemSacolaComplemento = new ItemSacolaComplemento();\r\n\r\n itemSacolaComplemento.complemento = comp;\r\n itemSacolaComplemento.quantidade = comp.quantidadeInserida;\r\n\r\n complementosInserido.push(itemSacolaComplemento);\r\n\r\n }\r\n\r\n });\r\n\r\n });\r\n\r\n this.DesabilitarBotaoAdicionarItem();\r\n\r\n\r\n return complementosInserido\r\n\r\n }\r\n\r\n AddComplementoRadio(complemento: Complemento, categoriaComplemento: CategoriaComplemento) {\r\n\r\n let categoriaLimpar = this.produtoSelecionado.categoriasComplemento\r\n .find(x => x.id == complemento.categoriaComplementoId)\r\n\r\n // limpa as quantidade ja inserida\r\n categoriaLimpar.complementos.forEach(comp => {\r\n categoriaComplemento.quantidadeInserida = 0;\r\n comp.quantidadeInserida = 0;\r\n })\r\n\r\n categoriaComplemento.quantidadeInserida++;\r\n complemento.quantidadeInserida++\r\n\r\n }\r\n\r\n LimparCampos() {\r\n\r\n\r\n //fecha modal produto selecionado \r\n $(document).ready(function () {\r\n $('#modalItemSelecionado').modal('close');\r\n });\r\n\r\n this.observacaoItem = null;\r\n this.quantidadeItem = 1;\r\n\r\n // limpar complementos inseridos\r\n this.produtoSelecionado.categoriasComplemento.forEach(catcomp => {\r\n\r\n catcomp.quantidadeInserida = 0\r\n\r\n catcomp.complementos.forEach(comp => {\r\n comp.quantidadeInserida = 0;\r\n })\r\n })\r\n }\r\n\r\n CalcularTotalItem(): number {\r\n\r\n if (!this.produtoSelecionado)\r\n return\r\n\r\n return this.quantidadeItem * this.produtoSelecionado.valorVenda\r\n + this.quantidadeItem * this.AddComplementos().filter(item => item.complemento)\r\n .reduce((sum, current) => sum + current.Total(), 0);\r\n }\r\n\r\n\r\n AddQuantidadeItemComplemento(complemento: Complemento, categoriaComplemento: CategoriaComplemento) {\r\n if (categoriaComplemento.quantidadeInserida == categoriaComplemento.quantidadeMaxima)\r\n return;\r\n\r\n complemento.quantidadeInserida++\r\n categoriaComplemento.quantidadeInserida++\r\n\r\n }\r\n\r\n RemoveQuantidadeItemComplemento(complemento: Complemento, categoriaComplemento: CategoriaComplemento) {\r\n\r\n if (complemento.quantidadeInserida > 0) {\r\n categoriaComplemento.quantidadeInserida--\r\n complemento.quantidadeInserida--;\r\n }\r\n\r\n }\r\n\r\n DesabilitarBotaoAdicionarItem() {\r\n\r\n let todosComplementosObrigatoriosAdicionados = true;\r\n\r\n this.produtoSelecionado.categoriasComplemento.forEach(catComp => {\r\n\r\n if (catComp.quantidadeInserida < catComp.quantidadeMinima) {\r\n todosComplementosObrigatoriosAdicionados = false;\r\n return;\r\n }\r\n });\r\n this.botaoAdicionarItemDesabilitado = !todosComplementosObrigatoriosAdicionados;\r\n\r\n\r\n /* ################# ANTIGA VALIDACAO DE COMPLEMENTOS ADICIONAIS ALTERADA NO DIA 29/01/2020 PODE SER REMOVIDA EM BREVE #########\r\n let categoriasObrigatorias = this.produtoSelecionado.categoriasComplemento.filter(x => x.obrigatorio == true)\r\n\r\n let categoriasCompletadas = this.produtoSelecionado.categoriasComplemento.filter(x => x.quantidadeInserida == x.quantidadeMinima)\r\n\r\n if (categoriasObrigatorias.length == categoriasCompletadas.length)\r\n this.botaoAdicionarItemDesabilitado = false;\r\n else\r\n this.botaoAdicionarItemDesabilitado = true;*/\r\n }\r\n\r\n showSuccess(item: ItemSacola) {\r\n this.toastr.success(' adicionado a sacola!', item.quantidade + 'x ' + item.produto.nome);\r\n }\r\n\r\n\r\n RespostaModalConsultaTaxa(modalAbertoConsultaTaxa) {\r\n this.mostrarCalculoTaxa = modalAbertoConsultaTaxa;\r\n }\r\n\r\n\r\n}\r\n","import { ClienteEndereco } from './clienteEndereco';\r\n\r\nexport class Cliente {\r\n\r\n public id: number;\r\n public empresaId: number;\r\n public nome: string;\r\n public email: string;\r\n public cpf: string;\r\n public telefone: string;\r\n public dataCadastro: Date;\r\n public enderecos: ClienteEndereco[];\r\n public isSocialLogin:boolean;\r\n\r\n}","import { Cliente } from './cliente';\r\n\r\nexport class ClienteEndereco {\r\n\r\n public id: number;\r\n public empresaId: Number;\r\n public cliente: Cliente;\r\n public clienteId: number;\r\n public logradouro: string;\r\n public numero: string;\r\n public bairro: string;\r\n public cep: string;\r\n public complemento: string;\r\n public pontoReferencia: string;\r\n public cidade: string;\r\n public uf: string;\r\n public observacao: string;\r\n public dataAlteracao: Date;\r\n public taxa: number;\r\n\r\n}","export enum CardBrandEnum {\r\n Undefined = 0,\r\n Visa = 1,\r\n Master = 2,\r\n Amex = 3,\r\n Elo = 4,\r\n Aura = 5,\r\n JCB = 6,\r\n Diners = 7,\r\n Discover = 8\r\n}","import { Produto } from './produto';\r\nimport { ItemPedidoComplemento } from './itemPedidoComplemento';\r\n\r\nexport class ItemPedido {\r\n\r\n public id: number;\r\n public sequencia: number;\r\n public produto: Produto;\r\n public produtoId: number;\r\n public quantidade: number;\r\n public itemPedidoComplementos: ItemPedidoComplemento[];\r\n public observacao: string;\r\n public valorTotalComplementos: number;\r\n public valorUnitario: number;\r\n public valorTotal: number;\r\n}","import { ItemPedido } from './itemPedido';\r\nimport { Complemento } from './complemento';\r\n\r\nexport class ItemPedidoComplemento {\r\n\r\n public id: number;\r\n public itemPedido: ItemPedido;\r\n public itemPedidoId: number;\r\n public complemento: Complemento;\r\n public complementoId: number;\r\n public quantidade: number;\r\n public valorUnitario: number;\r\n public valorTotal: number;\r\n}","import { Produto } from './produto';\r\nimport { ItemSacolaComplemento } from './itemSacolaComplemento';\r\n\r\nexport class ItemSacola {\r\n\r\n public produto: Produto;\r\n public quantidade: number = 1;\r\n public observacao: string;\r\n public itemSacolaComplementos: ItemSacolaComplemento[];\r\n public valorComplementos: number = 10;\r\n\r\n\r\n\r\n Total(): number {\r\n return this.produto.valorVenda * this.quantidade\r\n + this.quantidade * this.itemSacolaComplementos.filter(item => item.complemento)\r\n .reduce((sum, current) => sum + current.Total(), 0);\r\n }\r\n\r\n}","import { Complemento } from './complemento';\r\nimport { CategoriaComplemento } from './categoriaComplemento';\r\n\r\nexport class ItemSacolaComplemento {\r\n\r\n public complemento: Complemento;\r\n public categoriaComplemento: CategoriaComplemento;\r\n public categoriaComplementoId: number;\r\n public quantidade: number = 1;\r\n\r\n \r\n Total(): number {\r\n return this.complemento.valorVenda * this.quantidade;\r\n }\r\n}","import { Cliente } from './cliente';\r\nimport { ClienteEndereco } from './clienteEndereco';\r\nimport { ItemPedido } from './itemPedido';\r\nimport { FormaPagamento } from './formaPagamento';\r\nimport { CardBrandEnum } from './enums/cardBrand';\r\n\r\nexport class Pedido {\r\n\r\n public id: number;\r\n public empresaId: number;\r\n public data: Date;\r\n public hora: number;\r\n public cliente: Cliente;\r\n public clienteId: number;\r\n public enderecoEntrega: ClienteEndereco;\r\n public enderecoEntregaId: number;\r\n public status: number;\r\n public cpfNaNota: boolean;\r\n public valorTaxaEntrega: number;\r\n public subTotal: number;\r\n public valorTotal: number;\r\n public valorTotalComplementos: number;\r\n public itens: ItemPedido[];\r\n public formaPagamento: FormaPagamento;\r\n public formaPagamentoId: number;\r\n public valorTroco: number;\r\n public motivoCancelamento: string;\r\n\r\n // transfer model\r\n public CartaoCredito: CartaoCredito;\r\n}\r\n\r\n// classes transfer model usado apenas para enviar informacoes para api\r\nexport class CartaoCredito {\r\n\r\n numero: string;\r\n validade: Date;\r\n codigoSeguranca: string;\r\n bandeira: CardBrandEnum;\r\n iconeHtml: string;\r\n nomeBandeira: string;\r\n}","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL25vdC1mb3VuZC9ub3QtZm91bmQuY29tcG9uZW50LmNzcyJ9 */\"","module.exports = \"

\\n not-found works!\\n

\\n\"","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-not-found',\n templateUrl: './not-found.component.html',\n styleUrls: ['./not-found.component.css']\n})\nexport class NotFoundComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL3BlZGlkb3MvcGVkaWRvcy5jb21wb25lbnQuY3NzIn0= */\"","module.exports = \"
\\n
Nenhum pedido realizado
\\n
\\n\\n 0\\\">\\n \\n \\n \\n \\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n
DataTotal
\\n
\\n {{pedido?.data | date:'dd/MM/yyyy'}} {{pedido?.hora }}\\n
\\n
\\n Aguardando aprovação\\n Aprovado\\n Produzinho\\n Saiu para entregar\\n Entregue\\n Cancelado\\n
\\n
{{pedido?.valorTotal | currency :\\\"BRL\\\" }}\\n Detalhes\\n
\\n\\n\\n
\\n
\\n
Carregando pedido
\\n
\\n
\\n
\\n
\\n {{pedidoSelecionado?.data | date:'dd/MM/yyyy'}}\\n Aguardando aprovação\\n Aprovado\\n Produzinho\\n Saiu para entregar\\n Entregue\\n Cancelado\\n
\\n
\\n
\\n
\\n itens:\\n
\\n \\n {{item?.quantidade}} x {{item?.produto?.nome}}\\n \\n
\\n
\\n
\\n
\\n Forma Pagamento\\n
\\n {{pedidoSelecionado?.formaPagamento?.descricao}}\\n
\\n
\\n
\\n
\\n Totais:\\n
\\n \\n Sub total: {{pedidoSelecionado?.subTotal | currency :\\\"BRL\\\" }}\\n \\n
\\n
\\n \\n Taxa entrega: {{pedidoSelecionado?.valorTaxaEntrega | currency :\\\"BRL\\\" }}\\n \\n
\\n
\\n \\n Valor total: {{pedidoSelecionado?.valorTotal | currency :\\\"BRL\\\" }}\\n \\n
\\n
\\n
\\n
\\n
\\n Endereço de entrega\\n
\\n
\\n {{pedidoSelecionado?.enderecoEntrega?.logradouro}}, {{pedidoSelecionado?.enderecoEntrega?.numero}}\\n
\\n
\\n
\\n
\\n
\\n Motivo do cancelamento\\n
\\n
\\n {{pedidoSelecionado?.motivoCancelamento}}\\n
\\n
\\n
\\n\\n
\\n Voltar\\n
\\n
\"","import { Component, OnInit } from '@angular/core';\n\nimport { PedidoService } from '../services/pedido.service';\nimport { Pedido } from '../models/pedido';\nimport { AuthenticationService } from '../services/authentication.service';\nimport { NgxSpinnerService } from 'ngx-spinner';\n\ndeclare var $: any\n\n\n@Component({\n selector: 'app-pedidos',\n templateUrl: './pedidos.component.html',\n styleUrls: ['./pedidos.component.css']\n})\nexport class PedidosComponent implements OnInit {\n\n pedidos: Pedido[]\n pedidoSelecionado: Pedido;\n\n // usada para mostrar div quando nao localiza pedidos\n private buscouPedidos = false;\n\n constructor(private pedidoService: PedidoService,\n private authService: AuthenticationService,\n private spinner: NgxSpinnerService) {\n\n // inicializar modal\n $(document).ready(function () {\n $('.modal').modal();\n });\n\n }\n\n ngOnInit() {\n\n this.spinner.show();\n\n let clienteId = this.authService.currentUserValue.id;\n\n if (clienteId)\n this.startTimer(clienteId);\n\n this.pedidoService.ListPorCliente(clienteId).subscribe(pedidos => {\n //order by id\n this.pedidos = pedidos.sort((a, b) => (b.id) - (a.id));\n this.spinner.hide();\n this.buscouPedidos = true;\n },\n error => {\n console.log(error)\n this.spinner.hide();\n });\n\n }\n\n startTimer(clienteId: number) {\n setInterval(() => {\n this.pedidoService.ListPorCliente(clienteId).subscribe(pedidos => {\n //order by id\n this.pedidos = pedidos.sort((a, b) => (b.id) - (a.id));\n });\n }, 5000)\n }\n\n SelecionarPedido(pedido: Pedido) {\n\n this.pedidoService.GetPedidoCompleto(pedido.id).subscribe(pedido => {\n this.pedidoSelecionado = pedido\n });\n }\n\n FecharModal() {\n this.pedidoSelecionado = null;\n }\n\n}\n","module.exports = \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL3NhY29sYS9wZWRpZG8tY29uY2x1aWRvL3BlZGlkby1jb25jbHVpZG8uY29tcG9uZW50LmNzcyJ9 */\"","module.exports = \"
\\n

\\n check_circle\\n

\\n

Pedido concluido agora é so aguardar a confirmação do restaurante

\\n Acompanhe o status do seu pedido\\n
\\n Meus pedidos\\n\\n
\"","import { Component, OnInit } from '@angular/core';\r\n\r\ndeclare var $: any\r\n\r\n@Component({\r\n selector: 'app-pedido-concluido',\r\n templateUrl: './pedido-concluido.component.html',\r\n styleUrls: ['./pedido-concluido.component.css']\r\n})\r\nexport class PedidoConcluidoComponent implements OnInit {\r\n\r\n constructor() {\r\n\r\n // bloquear botao voltar browser e quando clicar em voltar nao ir para o carrinho novamente\r\n history.pushState(null, null, 'no-back-button');\r\n window.addEventListener('popstate', function (event) {\r\n history.pushState(null, null, 'no-back-button');\r\n });\r\n\r\n }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","import { CardBrandEnum } from 'src/app/models/enums/cardBrand';\r\n\r\nexport class PagamentoOnlineUtil {\r\n\r\n static retornarBandeiraCartao(nomeBandeira: string): CardBrandEnum {\r\n switch (nomeBandeira) {\r\n case \"AMEX\": {\r\n return CardBrandEnum.Amex;\r\n }\r\n\r\n case \"AURA\": {\r\n return CardBrandEnum.Aura;\r\n }\r\n\r\n case \"DINERS\": {\r\n return CardBrandEnum.Diners;\r\n }\r\n\r\n case \"DISCOVER\": {\r\n return CardBrandEnum.Discover;\r\n }\r\n\r\n case \"ELO\": {\r\n return CardBrandEnum.Elo;\r\n }\r\n\r\n case \"JCB\": {\r\n return CardBrandEnum.JCB;\r\n }\r\n\r\n case \"MASTERCARD\": {\r\n return CardBrandEnum.Master;\r\n }\r\n\r\n case \"VISA\": {\r\n return CardBrandEnum.Visa;\r\n }\r\n }\r\n }\r\n\r\n static formatarDataValidade(dataValidadeSemFormatar: string): Date {\r\n let mesExtraido = Number(dataValidadeSemFormatar.substr(0, 2));\r\n let anoExtraido = Number(dataValidadeSemFormatar.substr(2, 8));\r\n\r\n // remove 1 mes pois o mes inicia em 0\r\n let dataFormatada = new Date().setFullYear(anoExtraido, mesExtraido - 1);\r\n\r\n return new Date(dataFormatada);\r\n\r\n }\r\n\r\n}","module.exports = \".textBold{\\r\\n font-weight: bold;\\r\\n}\\r\\n\\r\\n.divItem{\\r\\n background: #F2F2F2;\\r\\n border-bottom: 1px solid darkgray;\\r\\n border-radius: 10px;\\r\\n}\\r\\n\\r\\n.btnFinalizar{\\r\\n position: fixed;\\r\\n left: 0;\\r\\n bottom: 0;\\r\\n width: 100%;\\r\\n background-color: white;\\r\\n text-align: center;\\r\\n}\\r\\n\\r\\n.btnFinalizarPedidoMinimo{\\r\\n position: fixed;\\r\\n left: 0;\\r\\n bottom: 0;\\r\\n width: 100%;\\r\\n background-color: white;\\r\\n padding-left: 3px;\\r\\n text-align: initial;\\r\\n}\\r\\n\\r\\n.container{\\r\\n margin-bottom: 80px;\\r\\n}\\r\\n\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvc2Fjb2xhL3NhY29sYS9zYWNvbGEuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLGlCQUFpQjtBQUNyQjs7QUFFQTtJQUNJLG1CQUFtQjtJQUNuQixpQ0FBaUM7SUFDakMsbUJBQW1CO0FBQ3ZCOztBQUdBO0lBQ0ksZUFBZTtJQUNmLE9BQU87SUFDUCxTQUFTO0lBQ1QsV0FBVztJQUNYLHVCQUF1QjtJQUN2QixrQkFBa0I7QUFDdEI7O0FBRUE7SUFDSSxlQUFlO0lBQ2YsT0FBTztJQUNQLFNBQVM7SUFDVCxXQUFXO0lBQ1gsdUJBQXVCO0lBQ3ZCLGlCQUFpQjtJQUNqQixtQkFBbUI7QUFDdkI7O0FBRUE7SUFDSSxtQkFBbUI7QUFDdkIiLCJmaWxlIjoic3JjL2FwcC9zYWNvbGEvc2Fjb2xhL3NhY29sYS5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnRleHRCb2xke1xyXG4gICAgZm9udC13ZWlnaHQ6IGJvbGQ7XHJcbn1cclxuXHJcbi5kaXZJdGVte1xyXG4gICAgYmFja2dyb3VuZDogI0YyRjJGMjtcclxuICAgIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCBkYXJrZ3JheTtcclxuICAgIGJvcmRlci1yYWRpdXM6IDEwcHg7XHJcbn1cclxuXHJcblxyXG4uYnRuRmluYWxpemFye1xyXG4gICAgcG9zaXRpb246IGZpeGVkO1xyXG4gICAgbGVmdDogMDtcclxuICAgIGJvdHRvbTogMDtcclxuICAgIHdpZHRoOiAxMDAlO1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XHJcbiAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XHJcbn1cclxuXHJcbi5idG5GaW5hbGl6YXJQZWRpZG9NaW5pbW97XHJcbiAgICBwb3NpdGlvbjogZml4ZWQ7XHJcbiAgICBsZWZ0OiAwO1xyXG4gICAgYm90dG9tOiAwO1xyXG4gICAgd2lkdGg6IDEwMCU7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcclxuICAgIHBhZGRpbmctbGVmdDogM3B4O1xyXG4gICAgdGV4dC1hbGlnbjogaW5pdGlhbDtcclxufVxyXG5cclxuLmNvbnRhaW5lcntcclxuICAgIG1hcmdpbi1ib3R0b206IDgwcHg7XHJcbn1cclxuXHJcbiJdfQ== */\"","module.exports = \"
\\n

Seu pedido

\\n
Sacola vázia shopping_basket
\\n
\\n
\\n
{{item?.quantidade}}x {{item?.produto.nome}}
\\n
\\n {{itemSacolaComplemento?.quantidade}}x\\n {{itemSacolaComplemento?.complemento.descricao}}\\n
\\n
Obs. {{item?.observacao}}
\\n
{{item?.Total() | currency :\\\"BRL\\\" }}
\\n\\n
\\n remove\\n Remover\\n
\\n \\n\\n
\\n
\\n\\n \\n
\\n
\\n Totais\\n
SubTotal: -------------{{SubTotal() | currency :\\\"BRL\\\"}}
\\n
Calculando Taxa
\\n
\\n Taxa entrega: ---------{{enderecoEntrega?.taxa | currency :\\\"BRL\\\"}}\\n
\\n
\\n Taxa entrega: --------- Grátis\\n
\\n
\\n Total: ------------------{{CalcularTotalPedido() | currency :\\\"BRL\\\"}}\\n
\\n
\\n\\n
\\n\\n
\\n
\\n
Forma pagamentoattach_money
\\n\\n
\\n
\\n {{formaPagamentoSelecionada?.descricao}}\\n\\n \\n {{cartaoCredito?.nomeBandeira}}*****{{cartaoCredito?.numero?.substring(cartaoCredito?.numero?.length - 4)}}\\n \\n\\n
\\n
\\n Selecione\\n
\\n\\n
\\n Alterar\\n
\\n\\n
\\n
\\n
\\n
\\n
Precisa de troco?
\\n
\\n \\n
\\n
\\n
\\n \\n \\n
\\n Informe o valor do troco\\n
\\n\\n
\\n
Dados para entrega place
\\n
\\n {{enderecoEntrega?.logradouro}}, {{enderecoEntrega?.numero}}\\n
\\n
\\n Complemento: {{enderecoEntrega?.complemento}},\\n
\\n
\\n Ponto de referência: {{enderecoEntrega?.pontoReferencia}}\\n
\\n \\n
\\n\\n
\\n\\n \\n
\\n Pedido minimo {{empresa?.valorPedidoMinimo | currency :\\\"BRL\\\"}}\\n não inclusa a taxa\\n
\\n\\n
= empresa?.valorPedidoMinimo\\\"\\n class=\\\"btnFinalizar waves-effect waves-light btn-large green\\\" (click)=\\\"FinalizarPedido()\\\">\\n Finalizar\\n
\\n\\n
\\n Finalizando\\n
\\n\\n
\\n Entrar\\n
\\n \\n\\n\\n
\\n\\n\\n
\\n
\\n
\\n
Carregando formas
\\n
\\n

Escolha a forma de pagamento

\\n\\n\\n \\n\\n
\\n
\\n
\\n
Dados do cartão de CRÉDITO
\\n Cartão de debito no momento não é aceito\\n
\\n
\\n \\n \\n \\n
\\n
\\n \\n \\n
\\n\\n
\\n \\n \\n
\\n
\\n \\n \\n
\\n
\\n
\\n\\n \\n\\n\\n
\\n

\\n \\n

\\n
\\n\\n

\\n Confirmar\\n

\\n
\\n
\\n Voltar\\n
\\n
\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\"","import { Component, OnInit, ViewChild, ElementRef, Renderer } from '@angular/core';\n\nimport { SacolaService } from 'src/app/services/shared/sacola.service';\nimport { ItemSacola } from 'src/app/models/itemSacola';\nimport { AuthenticationService } from 'src/app/services/authentication.service';\nimport { Cliente } from 'src/app/models/cliente';\nimport { Subscription } from 'rxjs';\nimport { Router } from '@angular/router';\nimport { ClienteEndereco } from 'src/app/models/clienteEndereco';\nimport { EmpresaFormaPagamentoService } from 'src/app/services/empresa-forma-pagamento.service';\nimport { EmpresaFormaPagamento } from 'src/app/models/empresaFormaPagamento';\nimport { FormaPagamento } from 'src/app/models/formaPagamento';\nimport { Pedido, CartaoCredito } from 'src/app/models/pedido';\nimport { ItemPedido } from 'src/app/models/itemPedido';\nimport { ItemPedidoComplemento } from 'src/app/models/itemPedidoComplemento';\nimport { PedidoService } from 'src/app/services/pedido.service';\nimport { ToastrService } from 'ngx-toastr';\nimport { Empresa } from 'src/app/models/empresa';\nimport { BuscaEnderecoService } from 'src/app/services/busca-endereco.service';\nimport { CardBrandEnum } from 'src/app/models/enums/cardBrand';\nimport { PagamentoOnlineUtil } from './pagamentoOnlineUtil';\n\ndeclare var $: any\n\n@Component({\n selector: 'app-sacola',\n templateUrl: './sacola.component.html',\n styleUrls: ['./sacola.component.css']\n})\nexport class SacolaComponent implements OnInit {\n\n mostrarLogin: boolean;\n mostrarModalConsultaEndereco: boolean;\n precisaDeTroco = false;\n valorTroco: number = 0;\n submitted = false;\n calculouTaxa = false;\n\n\n empresa: Empresa;\n currentUser: Cliente;\n enderecoEntrega = new ClienteEndereco;\n formaPagamentoSelecionada: FormaPagamento;\n currentUserSubscription: Subscription;\n currentEnderecoEntregaSubscription: Subscription;\n currentEmpresaSubscription: Subscription;\n itensSacola: ItemSacola[] = new Array()\n formasPagamentoDisponivel: EmpresaFormaPagamento[] = new Array();\n pedido = new Pedido();\n\n cartaoCredito = new CartaoCredito;\n dataValidadeCartaoCredito: string;\n\n constructor(private sacolaService: SacolaService,\n private authService: AuthenticationService,\n private router: Router,\n private empresaFormaPagamentoService: EmpresaFormaPagamentoService,\n private pedidoService: PedidoService,\n private toastr: ToastrService,\n private renderer: Renderer,\n private buscaEnderecoService: BuscaEnderecoService) {\n\n\n // inicializar select\n $(document).ready(function () {\n $('select').formSelect();\n });\n\n // inicializar modal\n $(document).ready(function () {\n $('.modal').modal({\n dismissible: false\n });\n });\n\n\n // obter usuario logado\n this.currentUserSubscription = this.authService.currentUser.subscribe(user => {\n this.currentUser = user;\n\n });\n\n }\n\n ngOnInit() {\n this.currentEmpresaSubscription = this.authService.currentEmpresa.subscribe(empresa => {\n this.empresa = empresa;\n\n });\n\n // caso usuario nao esteja logado inrerir endereco de entrega armazenado no localstorage\n if (!this.currentUser) {\n\n // obter enderecoEntrega \n this.currentEnderecoEntregaSubscription = this.authService.currentEnderecoEntrega.subscribe(ende => {\n this.enderecoEntrega = ende;\n\n });\n\n // calcula taxa entrega\n this.buscaEnderecoService.CalcularTaxa(this.enderecoEntrega).subscribe(taxa => {\n this.enderecoEntrega.taxa = Number(taxa);\n this.authService.setEnderecoEntrega(this.enderecoEntrega)\n this.calculouTaxa = true;\n });\n\n }\n else if (this.currentUser.enderecos) {\n\n this.enderecoEntrega = this.currentUser.enderecos.find(x => x.id > 0)\n this.enderecoEntrega.empresaId = this.authService.currentEmpresaValue.id;\n\n // calcula taxa entrega\n this.buscaEnderecoService.CalcularTaxa(this.enderecoEntrega).subscribe(taxa => {\n this.enderecoEntrega.taxa = Number(taxa);\n this.authService.setEnderecoEntrega(this.enderecoEntrega)\n this.calculouTaxa = true;\n });\n\n\n }\n\n this.ObterFormasPagamento();\n this.itensSacola = this.sacolaService.itensSacola;\n\n }\n\n ObterFormasPagamento() {\n\n let empresaId = this.empresa.id;\n\n this.empresaFormaPagamentoService.ListPorEmpresa(empresaId).subscribe(empresaFormas => {\n\n // ordena forma de pagamento por tipo\n this.formasPagamentoDisponivel = empresaFormas.sort((a, b) => a.formaPagamento.tipo - b.formaPagamento.tipo);\n });\n\n }\n\n Itens(): any[] {\n return this.sacolaService.itensSacola;\n }\n\n SubTotal(): number {\n return this.sacolaService.SubTotal();\n }\n\n RemoverItem(item: ItemSacola) {\n\n if (item.quantidade > 1) {\n item.quantidade--;\n this.toastr.info(1 + ' x ' + item.produto.nome, 'Removido');\n }\n else {\n this.sacolaService.RemoveItem(item);\n this.toastr.info(item.produto.nome, 'Removido');\n }\n }\n\n\n SelecionarFormaPagamento(formaPagamento: FormaPagamento) {\n\n this.formaPagamentoSelecionada = formaPagamento;\n }\n\n confirmarFormaPagamentoSelecionada() {\n\n if (this.formaPagamentoSelecionada.tipo == 0 /*pagamento online*/) {\n\n if (!this.cartaoCredito.numero || this.cartaoCredito.numero.length < 14) {\n this.toastr.error('Verifique o número do cartao')\n return;\n }\n\n if (this.cartaoCredito.bandeira == undefined) {\n this.toastr.error('Informe a bandeira')\n return;\n }\n\n if (this.dataValidadeCartaoCredito == null || this.dataValidadeCartaoCredito.length < 6) {\n this.toastr.error('Informe a data de válidade')\n return;\n }\n\n if (this.cartaoCredito.codigoSeguranca == null || this.cartaoCredito.codigoSeguranca.length < 3) {\n this.toastr.error('Informe o codigo de segurança')\n return;\n }\n\n }\n\n this.cartaoCredito.nomeBandeira = CardBrandEnum[this.cartaoCredito.bandeira]\n\n $('#modalFormaPagamento').modal('close');\n\n }\n\n AlterarFormaPagamento() {\n this.formaPagamentoSelecionada = null;\n }\n\n BuscarBandeiraCartao() {\n\n if (this.cartaoCredito.numero.length < 6) {\n this.cartaoCredito.bandeira = undefined;\n }\n\n if (this.cartaoCredito.numero.length == 6) {\n this.pedidoService.ConsultarBinCartao(this.cartaoCredito.numero, this.authService.currentEmpresaValue.id).subscribe(data => {\n\n this.cartaoCredito.bandeira = PagamentoOnlineUtil.retornarBandeiraCartao(data.provider);\n\n this.cartaoCredito.iconeHtml = data.iconeHtml\n });\n }\n\n }\n\n OnClickVoltarModalFormaPagamento() {\n\n this.formaPagamentoSelecionada = null;\n\n $('#modalFormaPagamento').modal('close');\n }\n\n CalcularTotalPedido() {\n\n let total = this.sacolaService.SubTotal();\n\n if (this.enderecoEntrega.taxa)\n total = this.sacolaService.SubTotal() + this.enderecoEntrega.taxa;\n\n return total;\n\n }\n\n RealizarLogin() {\n this.mostrarLogin = true;\n }\n\n FinalizarPedido() {\n this.submitted = true;\n\n if (this.empresa.abertaFechada == 'FECHADA') {\n this.toastr.error('Restaurante indisponivel')\n this.submitted = false;\n return;\n }\n\n if (this.formaPagamentoSelecionada == null) {\n this.toastr.error('Informe a forma de pagamento')\n this.submitted = false;\n return;\n }\n\n if (!this.calculouTaxa) {\n this.toastr.error('Taxa entrega não calculada')\n this.submitted = false;\n return;\n }\n\n\n\n if (!this.authService.currentUserValue) {\n this.mostrarLogin = true\n this.submitted = false;\n return;\n }\n\n\n this.pedido.clienteId = this.currentUser.id;\n this.pedido.data = new Date;\n this.pedido.empresaId = this.empresa.id\n this.pedido.enderecoEntregaId = this.enderecoEntrega.id;\n this.pedido.valorTaxaEntrega = this.enderecoEntrega.taxa;\n this.pedido.status = 0 //aguardando;\n this.pedido.valorTotalComplementos = 0;\n this.pedido.formaPagamento = this.formaPagamentoSelecionada;\n this.pedido.formaPagamentoId = this.formaPagamentoSelecionada.id;\n this.pedido.subTotal = this.sacolaService.SubTotal();\n this.pedido.valorTotal = this.CalcularTotalPedido();\n this.pedido.valorTroco = this.valorTroco\n this.pedido.motivoCancelamento = '';\n this.pedido.itens = new Array();\n\n if (this.formaPagamentoSelecionada.tipo == 0 /* pagamento online*/) {\n this.cartaoCredito.validade = PagamentoOnlineUtil.formatarDataValidade(this.dataValidadeCartaoCredito);\n this.pedido.CartaoCredito = this.cartaoCredito;\n }\n\n\n // adiciona item pedido\n this.itensSacola.forEach(itemSacola => {\n\n let itemPedido = new ItemPedido();\n\n itemPedido.observacao = itemSacola.observacao;\n itemPedido.quantidade = itemSacola.quantidade;\n itemPedido.valorUnitario = itemSacola.produto.valorVenda;\n itemPedido.valorTotal = itemSacola.Total();\n itemPedido.produtoId = itemSacola.produto.id;\n itemPedido.itemPedidoComplementos = new Array();\n\n // adiciona item pedido complemento\n itemSacola.itemSacolaComplementos.forEach(itemComplemento => {\n\n let itemPedidoComplemento = new ItemPedidoComplemento();\n itemPedidoComplemento.complementoId = itemComplemento.complemento.id;\n itemPedidoComplemento.quantidade = itemComplemento.quantidade;\n itemPedidoComplemento.valorUnitario = itemComplemento.complemento.valorVenda;\n itemPedidoComplemento.valorTotal = itemComplemento.Total();\n\n itemPedido.itemPedidoComplementos.push(itemPedidoComplemento)\n\n });\n\n this.pedido.itens.push(itemPedido);\n\n })\n\n this.pedidoService.Save(this.pedido).subscribe(() => {\n this.router.navigate(['/pedido-concluido']);\n this.sacolaService.Clear();\n\n }, error => {\n this.toastr.info(error.error.Message, 'Atenção');\n this.submitted = false;\n\n });\n\n }\n\n ConsultarEndereco() {\n this.mostrarModalConsultaEndereco = true;\n }\n\n RespostaModalConsultaEndereco(modalAbertoConsultaEndereco) {\n this.mostrarModalConsultaEndereco = modalAbertoConsultaEndereco;\n }\n\n RespostaModalLogin(modalAbertoLogin) {\n this.mostrarLogin = modalAbertoLogin;\n }\n\n RespostaEnderecoSelecionadoConsultaEndereco(endereco) {\n this.enderecoEntrega = endereco;\n this.enderecoEntrega.empresaId = this.authService.currentEmpresaValue.id;\n\n // calcula taxa entrega\n this.buscaEnderecoService.CalcularTaxa(this.enderecoEntrega).subscribe(taxa => {\n this.enderecoEntrega.taxa = Number(taxa);\n this.authService.setEnderecoEntrega(this.enderecoEntrega)\n this.calculouTaxa = true;\n });\n\n }\n\n SwitchPrecisaTrocoChange(precisaTroco: boolean) {\n this.precisaDeTroco = precisaTroco;\n }\n\n ValidarValorTroco(valorTroco: number) {\n\n if (valorTroco < this.CalcularTotalPedido())\n this.toastr.info('Valor do troco inválido! precisa ser maior de R$' + this.CalcularTotalPedido().toFixed(2))\n\n }\n\n}\n","import { Injectable } from '@angular/core';\nimport { Observable, BehaviorSubject } from 'rxjs';\nimport { HttpClient } from '@angular/common/http';\nimport { Router } from '@angular/router';\nimport { map, take, timeInterval } from 'rxjs/operators';\n\nimport { Cliente } from '../models/cliente';\nimport { URI } from '../app.api';\nimport { ClienteEndereco } from '../models/clienteEndereco';\nimport { Empresa } from '../models/empresa';\nimport * as CryptoJS from 'crypto-js';\nimport { EmpresaService } from './empresa.service';\n\n@Injectable({ providedIn: 'root' })\nexport class AuthenticationService {\n ge(ge: any) {\n throw new Error(\"Method not implemented.\");\n }\n\n private currentUserSubject: BehaviorSubject;\n private currentEnderecoEntregaSubject: BehaviorSubject;\n private currentEmpresaSubject: BehaviorSubject;\n\n public currentUser: Observable;\n public currentEnderecoEntrega: Observable;\n public currentEmpresa: Observable;\n\n\n constructor(private http: HttpClient,\n private router: Router,\n private empresaService: EmpresaService) {\n\n this.currentUserSubject = new BehaviorSubject(JSON.parse(localStorage.getItem('currentUser')));\n this.currentUser = this.currentUserSubject.asObservable();\n\n\n this.currentEnderecoEntregaSubject = new BehaviorSubject(JSON.parse(localStorage.getItem('enderecoEntrega')));\n this.currentEnderecoEntrega = this.currentEnderecoEntregaSubject.asObservable();\n\n this.currentEmpresaSubject = new BehaviorSubject(null);\n this.currentEmpresa = this.currentEmpresaSubject.asObservable();\n\n }\n\n startTimer() {\n setInterval(() => {\n if (this.currentEmpresaValue) {\n this.empresaService.Get(this.currentEmpresaValue.id).subscribe(empresa => {\n this.currentEmpresaSubject.next(empresa);\n });\n }\n }, 5000)\n }\n\n public get currentUserValue(): Cliente {\n return this.currentUserSubject.value;\n }\n\n public get currentEnderecoEntregaValue(): ClienteEndereco {\n return this.currentEnderecoEntregaSubject.value;\n }\n\n public get currentEmpresaValue(): Empresa {\n return this.currentEmpresaSubject.value;\n }\n\n login(cliente: Cliente) {\n return this.http.post(`${URI}/logincliente/login`, cliente)\n .pipe(map(cliente => {\n\n //apagar isso somente para teste\n cliente.accessToken = '1234'\n\n if (cliente && cliente.accessToken) {\n this.setCliente(cliente);\n }\n\n return cliente;\n }));\n }\n\n\n recuperarSenha(cliente: Cliente) {\n return this.http.post(`${URI}/logincliente/recuperarsenha`, cliente)\n .pipe(take(1));\n }\n\n isLogged() {\n\n // obter usuario logado\n let userLogado: Cliente;\n this.currentUser.subscribe(user => {\n userLogado = user;\n });\n return userLogado;\n }\n\n setEnderecoEntrega(enderecoEntrega: ClienteEndereco) {\n localStorage.setItem('enderecoEntrega', JSON.stringify(enderecoEntrega));\n this.currentEnderecoEntregaSubject.next(enderecoEntrega);\n }\n\n setEmpresaId(empresaId: number) {\n sessionStorage.setItem('emp', empresaId.toString());\n this.empresaService.Get(empresaId).subscribe(empresa => {\n this.currentEmpresaSubject.next(empresa);\n });\n }\n\n setCliente(cliente: Cliente) {\n localStorage.setItem('currentUser', JSON.stringify(cliente));\n this.currentUserSubject.next(cliente);\n }\n\n removeEnderecoEntrega() {\n localStorage.removeItem('enderecoEntrega');\n\n }\n\n logout() {\n localStorage.removeItem('currentUser');\n this.currentUserSubject.next(null);\n }\n\n}\n","import { HttpClient } from '@angular/common/http';\nimport { delay, tap, take } from 'rxjs/operators';\nimport { URI } from 'src/app/app.api';\n\nexport class CrudService {\n constructor(\n protected http: HttpClient,\n protected endpoint: string, \n private API_URL = URI) { }\n\n List() {\n return this.http.get(`${this.API_URL}/${this.endpoint}/get`)\n .pipe(\n delay(2000),\n tap()\n );\n }\n\n Get(id: number) {\n return this.http.get(`${this.API_URL}/${this.endpoint}/get/${id}`).pipe(take(1));\n }\n\n Save(record: T) {\n return this.http.post(`${this.API_URL}/${this.endpoint}/post`, record).pipe(take(1));\n }\n\n Delete(id: number) {\n return this.http.delete(`${this.API_URL}/${this.endpoint}/delete/${id}`).pipe(take(1));\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { CrudService } from './base/crud.service';\nimport { URI } from '../app.api';\nimport { HttpClient } from '@angular/common/http';\nimport { ClienteEndereco } from '../models/clienteEndereco';\nimport { take } from 'rxjs/internal/operators/take';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class BuscaEnderecoService extends CrudService {\n\n constructor(protected http: HttpClient) {\n super(http, 'homeAdmin', URI);\n }\n\n BuscarEnderecoPeloCep(clienteEndereco: ClienteEndereco) {\n return this.http.post(`${URI}/buscarenderecopelocep`, clienteEndereco).pipe(take(1));\n }\n\n CalcularTaxa(clienteEndereco: ClienteEndereco) {\n return this.http.post(`${URI}/calculartaxaentrega`, clienteEndereco).pipe(take(1));\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { delay, tap } from 'rxjs/operators';\n\nimport { CategoriaProduto } from '../models/categoriaProduto';\nimport { CrudService } from './base/crud.service';\nimport { URI } from '../app.api';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class CategoriaProdutoService extends CrudService{\n\n constructor(protected http: HttpClient) {\n super(http, 'categoriaProduto', URI);\n }\n\n ListByEmpresa(empresaId: number) {\n return this.http.get(`${URI}/${this.endpoint}/listbyempresanaopausados/${empresaId}`)\n .pipe(\n tap()\n );\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\n\nimport { CrudService } from './base/crud.service';\nimport { URI } from '../app.api';\nimport { ClienteEndereco } from '../models/clienteEndereco';\nimport { delay, tap } from 'rxjs/operators';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ClienteEnderecoService extends CrudService {\n\n constructor(protected http: HttpClient) {\n super(http, 'clienteEndereco', URI);\n }\n\n ListPorCliente(clienteId: number) {\n return this.http.get(`${URI}/${this.endpoint}/listbycliente/${clienteId}`)\n .pipe(\n delay(2000),\n tap()\n );\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\n\nimport { URI } from '../app.api';\nimport { take } from 'rxjs/operators';\n\nimport { CrudService } from './base/crud.service';\nimport { Cliente } from '../models/cliente';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ClienteService extends CrudService {\n\n constructor(protected http: HttpClient) {\n super(http, 'cliente', URI);\n }\n\n EditarDadosCadastrais(cliente: Cliente) {\n return this.http.post(`${URI}/${this.endpoint}/editardadoscadastrais`, cliente).pipe(take(1));\n}\n\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { delay, tap } from 'rxjs/operators';\n\nimport { EmpresaFormaPagamento } from '../models/empresaFormaPagamento';\nimport { CrudService } from './base/crud.service';\nimport { URI } from '../app.api';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class EmpresaFormaPagamentoService extends CrudService{\n\n constructor(protected http: HttpClient) {\n super(http, 'empresaformapagamento', URI);\n }\n\n ListPorEmpresa(empresaId:number) {\n return this.http.get(`${URI}/${this.endpoint}/Listformasbyempresa/${empresaId}`)\n .pipe(\n delay(2000),\n tap()\n );\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\n\nimport { Empresa } from '../models/empresa';\nimport { CrudService } from './base/crud.service';\nimport { URI } from '../app.api';\nimport { tap } from 'rxjs/operators';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class EmpresaService extends CrudService{\n\n constructor(protected http: HttpClient) {\n super(http, 'empresa', URI);\n }\n\n GetEmpresaIdByNomeUrl(nomeUrl: string) {\n return this.http.get(`${URI}/${this.endpoint}/getempresaidbynomeurl/${nomeUrl}`)\n .pipe(tap()\n );\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { delay, tap } from 'rxjs/operators';\n\nimport { Pedido } from '../models/pedido';\nimport { CrudService } from './base/crud.service';\nimport { URI } from '../app.api';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class PedidoService extends CrudService{\n\n constructor(protected http: HttpClient) {\n super(http, 'pedido', URI);\n }\n\n GetPedidoCompleto(id: number) {\n return this.http.get(`${URI}/${this.endpoint}/getpedidocompleto/${id}`)\n .pipe(\n delay(2000),\n tap()\n );\n }\n\n ListPorCliente(clienteId: number) {\n return this.http.get(`${URI}/${this.endpoint}/listbycliente/${clienteId}`)\n .pipe(\n delay(2000),\n tap()\n );\n }\n\n ConsultarBinCartao(numeroCartao: string, empresaId: number) {\n return this.http.get(`${URI}/${this.endpoint}/consultarbincartao/${numeroCartao}/${empresaId}`)\n .pipe(\n tap()\n );\n }\n}\n","import { Injectable } from '@angular/core';\nimport { BehaviorSubject, Observable } from 'rxjs';\n\nimport { ItemSacola } from 'src/app/models/itemSacola';\nimport { Produto } from 'src/app/models/produto';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class SacolaService {\n\n public itensSacola: ItemSacola[] = new Array;\n\n private itensSacolaSubject: BehaviorSubject;\n public itensSacolaObservable: Observable;\n\n\n constructor() {\n this.itensSacolaSubject = new BehaviorSubject(this.itensSacola)\n this.itensSacolaObservable = this.itensSacolaSubject.asObservable();\n }\n\n\n Clear() {\n this.itensSacola = [];\n this.itensSacolaSubject.next(this.itensSacola);\n }\n\n public AddItem(item: ItemSacola) {\n\n\n this.itensSacola.push(item);\n\n // let itemLocalizado = this.itensSacola.find((itemLocalizado) => itemLocalizado.produto.id == item.produto.id)\n\n /* if (itemLocalizado) {\n itemLocalizado.quantidade = itemLocalizado.quantidade + item.quantidade;\n }\n else {\n this.itensSacola.push(item);\n }*/\n\n }\n\n RemoveItem(item: ItemSacola) {\n this.itensSacola.forEach((itemRemover, index) => {\n if (itemRemover === item)\n this.itensSacola.splice(index, 1);\n });\n\n // this.itensSacola.splice(this.itensSacola.indexOf(item, 1));\n }\n\n SubTotal(): number {\n return this.itensSacola\n .map(item => item.Total())\n .reduce((prev, value) => prev + value, 0)\n }\n\n}\n","module.exports = \"@media screen and (max-width: 800px) {\\r\\n\\r\\n/* modal fullscreen */\\r\\n.modal.open{\\r\\n width: 100%;\\r\\n max-height: 100%;\\r\\n height: 100%;\\r\\n top: 0 !important;\\r\\n}\\r\\n\\r\\n}\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvc2hhcmVkL2NvbXBvbmVudGVzL2NhbGN1bGFyLXRheGEtZW50cmVnYS9jYWxjdWxhci10YXhhLWVudHJlZ2EuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7QUFFQSxzQkFBc0I7QUFDdEI7SUFDSSxXQUFXO0lBQ1gsZ0JBQWdCO0lBQ2hCLFlBQVk7SUFDWixpQkFBaUI7QUFDckI7O0FBRUEiLCJmaWxlIjoic3JjL2FwcC9zaGFyZWQvY29tcG9uZW50ZXMvY2FsY3VsYXItdGF4YS1lbnRyZWdhL2NhbGN1bGFyLXRheGEtZW50cmVnYS5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiQG1lZGlhIHNjcmVlbiBhbmQgKG1heC13aWR0aDogODAwcHgpIHtcclxuXHJcbi8qIG1vZGFsIGZ1bGxzY3JlZW4gICovXHJcbi5tb2RhbC5vcGVue1xyXG4gICAgd2lkdGg6IDEwMCU7XHJcbiAgICBtYXgtaGVpZ2h0OiAxMDAlO1xyXG4gICAgaGVpZ2h0OiAxMDAlO1xyXG4gICAgdG9wOiAwICFpbXBvcnRhbnQ7XHJcbn1cclxuXHJcbn0iXX0= */\"","module.exports = \"\\n
\\n
\\n
\\n
\\n
Informe seu Cep
\\n Precisamos verificar se entregamos em sua região\\n
\\n
\\n \\n Ja possui cadastro? Clique aqui\\n \\n
\\n
\\n \\n \\n \\n
\\n
\\n
\\n
\\n \\n \\n Obrigatório\\n
\\n
\\n \\n \\n Obrigatório\\n
\\n
\\n \\n \\n Obrigatório\\n
\\n
\\n \\n \\n
\\n \\n
\\n {{retornoErroConsultaCep}}\\n
\\n
\\n
\\n\\n
\\n\\n
0\\\" class=\\\"col s12\\\">\\n Taxa de entrega: {{endereco?.taxa | currency :\\\"BRL\\\"}}\\n
\\n
\\n Taxa de entrega: Grátis\\n
\\n\\n\\n Calcular taxa\\n\\n \\n Calculando\\n\\n
\\n\\n
\\n
\\n
{{erro}}
\\n
\\n
\\n
\\n Confirmar\\n
\\n
\\n \\n
\\n\\n
\\n Voltar\\n
\\n
\\n\\n\\n\"","import { Component, OnInit, EventEmitter, Output, Input } from '@angular/core';\nimport { BuscaEnderecoService } from 'src/app/services/busca-endereco.service';\nimport { ClienteEndereco } from 'src/app/models/clienteEndereco';\nimport { AuthenticationService } from 'src/app/services/authentication.service';\nimport { FormGroup, FormBuilder, Validators, FormControl } from '@angular/forms';\nimport { stringify } from '@angular/compiler/src/util';\nimport { isNullOrUndefined } from 'util';\nimport { isEmpty } from 'rxjs/operators';\nimport { NgxSpinnerService } from 'ngx-spinner';\n\ndeclare var $: any\n\n@Component({\n selector: 'app-calcular-taxa-entrega',\n templateUrl: './calcular-taxa-entrega.component.html',\n styleUrls: ['./calcular-taxa-entrega.component.css']\n})\nexport class CalcularTaxaEntregaComponent implements OnInit {\n\n @Output() modalAberto = new EventEmitter();\n @Input() abrirModal: boolean\n\n submittedCalculoTaxa = false;\n\n\n cepFoiVerificado = false;\n calculouTaxa = false;\n\n mostrarLogin: boolean;\n erro: string;\n\n endereco: ClienteEndereco;\n\n enderecoForm: FormGroup;\n\n constructor(private buscaEnderecoService: BuscaEnderecoService,\n private authService: AuthenticationService,\n private formBuilder: FormBuilder,\n private spinner: NgxSpinnerService) {\n\n // inicializar modal\n $(document).ready(function () {\n $('.modal').modal({\n dismissible: false\n });\n });\n\n }\n\n ngOnInit() {\n\n $(document).ready(function () {\n $('#modalBuscarEndereco').modal('open');\n });\n\n this.enderecoForm = new FormGroup({\n cep: new FormControl({ value: '', disabled: false }, Validators.required),\n numero: new FormControl({ value: null, disabled: false }, Validators.required),\n complemento: new FormControl({ value: null, disabled: false }),\n logradouro: new FormControl({ value: null, disabled: false }, Validators.required),\n bairro: new FormControl({ value: null, disabled: false }, Validators.required),\n });\n\n\n }\n\n get fEndereco() { return this.enderecoForm.controls; }\n\n\n BuscarEnderecoPeloCep(clienteEndereco: ClienteEndereco) {\n\n this.erro = null\n this.endereco = null\n this.calculouTaxa = false;\n\n\n if (clienteEndereco.cep.length >= 8) {\n\n\n this.spinner.show();\n\n clienteEndereco.empresaId = this.authService.currentEmpresaValue.id;\n\n this.buscaEnderecoService.BuscarEnderecoPeloCep(clienteEndereco).subscribe((endereco: ClienteEndereco) => {\n\n this.cepFoiVerificado = true;\n\n this.endereco = endereco;\n\n this.fEndereco.logradouro.setValue(endereco.logradouro);\n this.fEndereco.bairro.setValue(endereco.bairro);\n this.fEndereco.complemento.setValue(null);\n this.fEndereco.numero.setValue(null);\n\n\n this.spinner.hide();\n\n },\n error => {\n this.spinner.hide();\n this.erro = error.error.Message;\n this.endereco = null;\n this.cepFoiVerificado = false;\n });\n\n }\n }\n\n CalcularTaxa(clienteEndereco: ClienteEndereco) {\n\n\n this.submittedCalculoTaxa = true;\n\n clienteEndereco.empresaId = this.authService.currentEmpresaValue.id;\n clienteEndereco.cidade = this.endereco.cidade;\n clienteEndereco.uf = this.endereco.uf;\n\n this.buscaEnderecoService.CalcularTaxa(clienteEndereco).subscribe((valorTaxa: number) => {\n this.calculouTaxa = true;\n this.endereco.taxa = valorTaxa;\n\n this.submittedCalculoTaxa = false;\n\n },\n error => {\n this.spinner.hide();\n this.erro = error.error.Message;\n this.calculouTaxa = false;\n this.submittedCalculoTaxa = false;\n });\n\n }\n\n OnChangeInputLogradouro() {\n this.calculouTaxa = false;\n this.erro = null;\n }\n\n OnChangeInputBairro() {\n this.calculouTaxa = false;\n this.erro = null;\n\n }\n\n OnChangeInputNumero() {\n this.calculouTaxa = false;\n this.erro = null;\n\n }\n\n OnChangeCheckSemNumero(semNumero: boolean) {\n if (semNumero)\n this.fEndereco.numero.setValue('S/N')\n else\n this.fEndereco.numero.setValue(null)\n\n }\n\n\n MostrarLogin() {\n\n this.mostrarLogin = true\n }\n\n FecharModal() {\n this.modalAberto.emit(false);\n }\n\n\n ArmazenaEnderecoEntrega(endereco: ClienteEndereco) {\n\n endereco.taxa = this.endereco.taxa;\n this.authService.setEnderecoEntrega(endereco);\n }\n\n RespostaModalLogin(modalAbertoLogin) {\n this.mostrarLogin = modalAbertoLogin;\n }\n\n}\n","import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent, HttpErrorResponse } from \"@angular/common/http\";\r\nimport { Injectable } from \"@angular/core\";\r\nimport { NgxSpinnerService } from 'ngx-spinner';\r\nimport { delay, finalize, catchError, retry } from 'rxjs/operators';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { Router } from '@angular/router';\r\nimport { AuthenticationService } from '../services/authentication.service';\r\n\r\n@Injectable()\r\nexport class Interceptor implements HttpInterceptor {\r\n\r\n constructor(private authService: AuthenticationService,\r\n private spinner: NgxSpinnerService,\r\n private router: Router, ) { }\r\n\r\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\r\n\r\n //this.spinner.show();\r\n\r\n if (this.authService.isLogged()) {\r\n\r\n const authRequest = request.clone(\r\n { setHeaders: { 'Authorization': `Bearer ${this.authService.isLogged()}` } })\r\n return next.handle(authRequest)\r\n .pipe(\r\n retry(1),\r\n catchError((error: HttpErrorResponse) => {\r\n // token experiar retornar para pagina de login\r\n if (error.status == 401) {\r\n this.router.navigate(['']);\r\n this.authService.logout()\r\n }\r\n\r\n return throwError(error);\r\n }),\r\n //finalize(() => this.spinner.hide())\r\n )\r\n\r\n } else {\r\n return next.handle(request)\r\n .pipe(\r\n delay(5000),\r\n // finalize(() => this.spinner.hide())\r\n )\r\n }\r\n\r\n }\r\n}","module.exports = \"\\r\\n.quantidadeItem{\\r\\n font-size: 20px;\\r\\n margin-left: 6px;\\r\\n margin-right: 6px;\\r\\n}\\r\\n\\r\\n.textBold{\\r\\n font-weight: bold;\\r\\n}\\r\\n\\r\\n.btnAdicionarItem{\\r\\n position: fixed;\\r\\n left: 0;\\r\\n bottom: 0;\\r\\n width: 70%;\\r\\n background-color: white;\\r\\n text-align: center;\\r\\n padding: 0px;\\r\\n \\r\\n}\\r\\n\\r\\n.divTeste{\\r\\n position: fixed;\\r\\n left: 0;\\r\\n bottom: 0;\\r\\n width: 30%;\\r\\n background-color: white;\\r\\n padding: 0px;\\r\\n}\\r\\n\\r\\n.adicionar{\\r\\n right: 0;\\r\\n color: black;\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OiAwcHg7XHJcbiAgICBcclxufVxyXG5cclxuLmRpdlRlc3Rle1xyXG4gICAgcG9zaXRpb246IGZpeGVkO1xyXG4gICAgbGVmdDogMDtcclxuICAgIGJvdHRvbTogMDtcclxuICAgIHdpZHRoOiAzMCU7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcclxuICAgIHBhZGRpbmc6IDBweDtcclxufVxyXG5cclxuLmFkaWNpb25hcntcclxuICAgIHJpZ2h0OiAgMDtcclxuICAgIGNvbG9yOiBibGFjaztcclxuICAgIHBhZGRpbmc6IDBweDtcclxufVxyXG4iXX0= */\"","module.exports = \"
\\n \\n
\\n Adicionar R$ 12.00\\n
\\n
\\n\\nVoltar\"","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-testes',\n templateUrl: './testes.component.html',\n styleUrls: ['./testes.component.css']\n})\nexport class TestesComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n\nexport const environment = {\n production: false,\n api: 'https://gsfashion.ddns.net/gsfoodpedido/api/'\n //api: 'http://localhost/GSFoodDelivery.API/api/'\n\n\n\n};\n\n/*\n * For easier debugging in development mode, you can import the following file\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\n *\n * This import should be commented out in production mode because it will have a negative impact\n * on performance if an error is thrown.\n */\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\n","import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\n\nif (environment.production) {\n enableProdMode();\n}\n\nplatformBrowserDynamic().bootstrapModule(AppModule)\n .catch(err => console.error(err));\n"],"sourceRoot":""}