{"version":3,"sources":["./src/app/v2/account/details/details.page.html","./src/app/v2/account/details/details-routing.module.ts","./src/app/v2/account/details/details.module.ts","./src/app/v2/account/details/details.page.scss","./src/app/v2/account/details/details.page.ts"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAe,wLAAyH,gBAAgB,gsKAAgsK,E;;;;;;;;;;;;;;;;;;;ACA/yK;AACc;AAEV;AAE7C,MAAM,MAAM,GAAW;IACrB;QACE,IAAI,EAAE,EAAE;QACR,SAAS,EAAE,yDAAW;KACvB;CACF,CAAC;AAMF,IAAa,wBAAwB,GAArC,MAAa,wBAAwB;CAAG;AAA3B,wBAAwB;IAJpC,8DAAQ,CAAC;QACR,OAAO,EAAE,CAAC,4DAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;QACxC,OAAO,EAAE,CAAC,4DAAY,CAAC;KACxB,CAAC;GACW,wBAAwB,CAAG;AAAH;;;;;;;;;;;;;;;;;;;;;;;;;AChBI;AACM;AACmB;AAErB;AAEuB;AAEvB;AAC8C;AACR;AAMnF,IAAa,iBAAiB,GAA9B,MAAa,iBAAiB;CAAG;AAApB,iBAAiB;IAJ7B,8DAAQ,CAAC;QACR,OAAO,EAAE,CAAC,4DAAY,EAAE,0DAAW,EAAE,kEAAmB,EAAE,0DAAW,EAAE,gFAAwB,EAAE,wGAAc,EAAE,gGAAa,CAAC;QAC/H,YAAY,EAAE,CAAC,yDAAW,CAAC;KAC5B,CAAC;GACW,iBAAiB,CAAG;AAAH;;;;;;;;;;;;;AChB9B;AAAe,4EAAa,8BAA8B,GAAG,sBAAsB,4BAA4B,6BAA6B,6BAA6B,2BAA2B,4BAA4B,wBAAwB,GAAG,oBAAoB,2BAA2B,6BAA6B,2BAA2B,4BAA4B,GAAG,iBAAiB,wBAAwB,oBAAoB,qBAAqB,wBAAwB,GAAG,kBAAkB,iBAAiB,wBAAwB,GAAG,+BAA+B,kBAAkB,mBAAmB,0BAA0B,KAAK,GAAG,uDAAuD,kBAAkB,mBAAmB,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AC;aACN;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED,MAAM;QACJ,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACxC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;CACF;;YAvGkC,0DAAW;YAAkB,sDAAM;YAAuB,qFAAiB;YAAgC,qFAAiB;YAAe,mFAAW;YAA2B,8DAAe;YAAoB,wDAAQ;;AAJlP,WAAW;IALvB,+DAAS,CAAC;QACT,QAAQ,EAAE,aAAa;QACvB,kOAAkC;;KAEnC,CAAC;GACW,WAAW,CA2GvB;AA3GuB","file":"details-details-module-es2015.js","sourcesContent":["export default \"\\r\\n \\r\\n\\r\\n\\r\\n
\\r\\n \\\"Logo\\r\\n
\\r\\n EDITAR INFORMAÇÕES \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Nome *\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Sobrenome *\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n E-mail *\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Fone *\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Senha *\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n CEP *\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Número *\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Logradouro *\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Bairro *\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Cidade *\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n UF *\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Complemento \\r\\n \\r\\n \\r\\n \\r\\n ALTERAR INFORMAÇÕES DA CONTA\\r\\n \\r\\n \\r\\n SAIR\\r\\n \\r\\n
\\r\\n
\\r\\n
\";","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\n\r\nimport { DetailsPage } from './details.page';\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '',\r\n component: DetailsPage\r\n }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class DetailsPageRoutingModule {}\r\n","import { NgModule } from \"@angular/core\";\r\nimport { CommonModule } from \"@angular/common\";\r\nimport { FormsModule, ReactiveFormsModule } from \"@angular/forms\";\r\n\r\nimport { IonicModule } from \"@ionic/angular\";\r\n\r\nimport { DetailsPageRoutingModule } from \"./details-routing.module\";\r\n\r\nimport { DetailsPage } from \"./details.page\";\r\nimport { V2TopBarModule } from \"src/app/shared/components/v2/v2-top-bar/v2-top-bar.module\";\r\nimport { IonMaskModule } from \"src/app/shared/directives/ion-mask/ion-mask.module\";\r\n\r\n@NgModule({\r\n imports: [CommonModule, FormsModule, ReactiveFormsModule, IonicModule, DetailsPageRoutingModule, V2TopBarModule, IonMaskModule],\r\n declarations: [DetailsPage],\r\n})\r\nexport class DetailsPageModule {}\r\n","export default \".bg-zimmer {\\n background-color: #2d2d2d;\\n}\\n\\n.login-container {\\n width: 100vw !important;\\n height: 100vh !important;\\n display: flex !important;\\n flex-direction: column;\\n justify-content: center;\\n align-items: center;\\n}\\n\\n.login-wrapper {\\n width: 85vw !important;\\n display: flex !important;\\n flex-direction: column;\\n justify-content: center;\\n}\\n\\n.text-align {\\n margin-inline: auto;\\n font-size: 20px;\\n font-weight: 600;\\n margin-bottom: 16px;\\n}\\n\\n.logo-zimmer {\\n width: 225px;\\n margin-bottom: 36px;\\n}\\n\\n@media (max-width: 599px) {\\n .logo-zimmer {\\n width: 130px;\\n margin-bottom: 36px;\\n }\\n}\\n\\n@media (min-width: 600px) and (max-width: 1023px) {\\n .logo-zimmer {\\n width: 200px;\\n margin-bottom: 36px;\\n }\\n}\\n\\n.top-left-border {\\n border-top-left-radius: 4px !important;\\n}\\n\\n.top-right-border {\\n border-top-right-radius: 4px !important;\\n}\\n\\n.bottom-left-border {\\n border-bottom-left-radius: 4px !important;\\n}\\n\\n.bottom-right-border {\\n border-bottom-right-radius: 4px !important;\\n}\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvdjIvYWNjb3VudC9kZXRhaWxzL0M6XFxVc2Vyc1xcVXNlclxcRGVza3RvcFxcUHJvamV0b3NcXElvbmljXFxaaW1tZXIvc3JjXFxhcHBcXHYyXFxhY2NvdW50XFxkZXRhaWxzXFxkZXRhaWxzLnBhZ2Uuc2NzcyIsInNyYy9hcHAvdjIvYWNjb3VudC9kZXRhaWxzL2RldGFpbHMucGFnZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UseUJBQUE7QUNDRjs7QURFQTtFQUNFLHVCQUFBO0VBQ0Esd0JBQUE7RUFDQSx3QkFBQTtFQUNBLHNCQUFBO0VBQ0EsdUJBQUE7RUFDQSxtQkFBQTtBQ0NGOztBREVBO0VBQ0Usc0JBQUE7RUFDQSx3QkFBQTtFQUNBLHNCQUFBO0VBQ0EsdUJBQUE7QUNDRjs7QURFQTtFQUNFLG1CQUFBO0VBQ0EsZUFBQTtFQUNBLGdCQUFBO0VBQ0EsbUJBQUE7QUNDRjs7QURFQTtFQUNFLFlBQUE7RUFDQSxtQkFBQTtBQ0NGOztBREVBO0VBQ0U7SUFDRSxZQUFBO0lBQ0EsbUJBQUE7RUNDRjtBQUNGOztBREVBO0VBQ0U7SUFDRSxZQUFBO0lBQ0EsbUJBQUE7RUNBRjtBQUNGOztBREdBO0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BmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbn1cblxuLnRleHQtYWxpZ24ge1xuICBtYXJnaW4taW5saW5lOiBhdXRvO1xuICBmb250LXNpemU6IDIwcHg7XG4gIGZvbnQtd2VpZ2h0OiA2MDA7XG4gIG1hcmdpbi1ib3R0b206IDE2cHg7XG59XG5cbi5sb2dvLXppbW1lciB7XG4gIHdpZHRoOiAyMjVweDtcbiAgbWFyZ2luLWJvdHRvbTogMzZweDtcbn1cblxuQG1lZGlhIChtYXgtd2lkdGg6IDU5OXB4KSB7XG4gIC5sb2dvLXppbW1lciB7XG4gICAgd2lkdGg6IDEzMHB4O1xuICAgIG1hcmdpbi1ib3R0b206IDM2cHg7XG4gIH1cbn1cbkBtZWRpYSAobWluLXdpZHRoOiA2MDBweCkgYW5kIChtYXgtd2lkdGg6IDEwMjNweCkge1xuICAubG9nby16aW1tZXIge1xuICAgIHdpZHRoOiAyMDBweDtcbiAgICBtYXJnaW4tYm90dG9tOiAzNnB4O1xuICB9XG59XG4udG9wLWxlZnQtYm9yZGVyIHtcbiAgYm9yZGVyLXRvcC1sZWZ0LXJhZGl1czogNHB4ICFpbXBvcnRhbnQ7XG59XG5cbi50b3AtcmlnaHQtYm9yZGVyIHtcbiAgYm9yZGVyLXRvcC1yaWdodC1yYWRpdXM6IDRweCAhaW1wb3J0YW50O1xufVxuXG4uYm90dG9tLWxlZnQtYm9yZGVyIHtcbiAgYm9yZGVyLWJvdHRvbS1sZWZ0LXJhZGl1czogNHB4ICFpbXBvcnRhbnQ7XG59XG5cbi5ib3R0b20tcmlnaHQtYm9yZGVyIHtcbiAgYm9yZGVyLWJvdHRvbS1yaWdodC1yYWRpdXM6IDRweCAhaW1wb3J0YW50O1xufSJdfQ== */\";","import { Component, OnInit } from \"@angular/core\";\r\nimport { Location } from \"@angular/common\";\r\nimport { Validators, FormBuilder, FormGroup } from \"@angular/forms\";\r\nimport { NavigationEnd, Router } from \"@angular/router\";\r\nimport { ToastController } from \"@ionic/angular\";\r\nimport { filter, map, take } from \"rxjs/operators\";\r\nimport { MaskService } from \"src/app/services/providers/mask.service\";\r\nimport { RestaurantService } from \"src/app/services/restaurant.service\";\r\nimport { UsergestorService } from \"src/app/services/usergestor.service\";\r\nimport { Observable } from \"rxjs\";\r\nimport { environment } from \"src/environments/environment\";\r\n\r\n@Component({\r\n selector: \"app-details\",\r\n templateUrl: \"./details.page.html\",\r\n styleUrls: [\"./details.page.scss\"],\r\n})\r\nexport class DetailsPage implements OnInit {\r\n form: FormGroup;\r\n public topbarMode$: Observable;\r\n\r\n constructor(private formBuilder: FormBuilder, private router: Router, private restService: RestaurantService, private userGestorController: UsergestorService, public mask: MaskService, private toastController: ToastController, private location: Location) {\r\n this.form = this.formBuilder.group({\r\n nome: [this.userGestorController.getUser().nome, Validators.required],\r\n sobrenome: [this.userGestorController.getUser().sobrenome, Validators.required],\r\n email: [this.userGestorController.getUser().email, Validators.required],\r\n fone: [this.userGestorController.getUser().fone, Validators.required],\r\n senha: [this.userGestorController.getUser().senha, Validators.required],\r\n logradouro: [this.userGestorController.getUser().logradouro, Validators.required],\r\n numero: [this.userGestorController.getUser().numero, Validators.required],\r\n bairro: [this.userGestorController.getUser().bairro, Validators.required],\r\n cep: [this.userGestorController.getUser().cep, Validators.required],\r\n localidade: [this.userGestorController.getUser().localidade, Validators.required],\r\n uf: [this.userGestorController.getUser().uf, Validators.required],\r\n complemento: [this.userGestorController.getUser().complemento],\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n this.topbarMode$ = this.router.events.pipe(\r\n filter((event) => event instanceof NavigationEnd),\r\n map((event: NavigationEnd) => event.urlAfterRedirects.replace(`/${environment.routePaths.v2.version}/`, \"\") || \"home\")\r\n );\r\n console.log(this.userGestorController.getUser(), \"TO AQUI\");\r\n }\r\n\r\n onSubmit() {\r\n if (this.form.status === \"INVALID\") {\r\n return this.toastController\r\n .create({\r\n message: \"Formulário inválido\",\r\n duration: 3000,\r\n color: \"danger\",\r\n })\r\n .then((toast) => {\r\n toast.present();\r\n });\r\n }\r\n this.userGestorController.modifyUser(this.form.value).subscribe(\r\n (result) => {\r\n if (result.errors === false) {\r\n this.userGestorController.setUser({\r\n bairro: this.form.value.bairro,\r\n cep: this.form.value.cep,\r\n complemento: this.form.value.complemento,\r\n email: this.form.value.email,\r\n fone: this.form.value.fone,\r\n senha: this.form.value.senha,\r\n localidade: this.form.value.localidade,\r\n logradouro: this.form.value.logradouro,\r\n nome: this.form.value.nome,\r\n numero: this.form.value.numero,\r\n restauranteid: this.userGestorController.getUser().restauranteid,\r\n sobrenome: this.form.value.sobrenome,\r\n uf: this.form.value.uf,\r\n userid: this.userGestorController.getUser().userid,\r\n });\r\n\r\n this.toastController\r\n .create({\r\n duration: 3000,\r\n message: result.message,\r\n color: \"success\",\r\n })\r\n .then((toast) => {\r\n toast.present();\r\n });\r\n\r\n this.location.back();\r\n }\r\n },\r\n (error) => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n viacep() {\r\n setTimeout(() => {\r\n let cep = this.form.value.cep;\r\n\r\n if (cep && cep.length === 9) {\r\n this.userGestorController\r\n .getAddressDataUsingCEP(cep)\r\n .pipe(take(1))\r\n .subscribe((res: any) => {\r\n this.form.patchValue({\r\n cep: res.cep,\r\n bairro: res.bairro,\r\n localidade: res.localidade,\r\n logradouro: res.logradouro,\r\n numero: null,\r\n uf: res.uf,\r\n complemento: res.complemento,\r\n });\r\n });\r\n }\r\n });\r\n }\r\n\r\n logOut() {\r\n this.userGestorController.setUser(null);\r\n this.location.back();\r\n }\r\n}\r\n"],"sourceRoot":"webpack:///"}