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yBAAiB;QAyDjBA,uDAAAA,GAAiB;QAAjBA,wDAAAA,yBAAiB;QAmDjBA,uDAAAA,GAAiB;QAAjBA,wDAAAA,yBAAiB;;;;;;;;;;;;;;;;;;;;;AC3iC5B;AACA;AACA;AAGA;AAEO,MAAM7E,WAAW,GAAG;EACzBwoC,UAAU,EAAE,KAAK;EACjBroC,UAAU,EAAE,WAAW;EACvBiX,YAAY,EAAE,kBAAkB;EAChClD,aAAa,EAAE,IAAI;EACnBoD,SAAS,EAAE,kCAAkC;EAC7ChJ,GAAG,EAAE,oEAAoE;EACzE;EACAR,MAAM,EAAE,KAAK;EACb8C,UAAU,EAAE,KAAK;EACjB63B,OAAO,EAAE,EAAE;EAEXC,eAAe,EAAE,IAAI;EACrBC,kBAAkB,EAAE;IAAElJ,QAAQ,EAAI,KAAK;IAAED,QAAQ,EAAG;EAAQ,CAAC;EAE7D/kC,KAAK,EAAE,EAAE;EAETmuC,gBAAgB,EAAG;CACpB;AAED;;;;;;;AAOA;;;;;;;;;;;;;;;;AClC+C;AAEF;AACY;AAIzD,IAAI5oC,6EAAsB,EAAE;EAC1B6oC,6DAAc,EAAE;;AAGlBC,sEAAAA,EAAwB,CAACC,eAAe,CAAC11B,sDAAS,CAAC,CAChDiwB,KAAK,CAACn1B,GAAG,IAAI5M,OAAO,CAACF,KAAK,CAAC8M,GAAG,CAAC,CAAC","sources":["./src/app/_fake/fake-api.service.ts","./src/app/_fake/fake-db/users.table.ts","./src/app/_fake/fake-helpers/http-extenstions.ts","./src/app/_metronic/configs/default-layout.config.ts","./src/app/_metronic/configs/dynamic-aside-menu.config.ts","./src/app/_metronic/configs/dynamic-header-menu.config.ts","./src/app/_metronic/core/core.module.ts","./src/app/_metronic/core/index.ts","./src/app/_metronic/core/pipes/first-letter.pipe.ts","./src/app/_metronic/core/pipes/safe.pipe.ts","./src/app/_metronic/core/services/dynamic-aside-menu.service.ts","./src/app/_metronic/core/services/dynamic-header-menu.service.ts","./src/app/_metronic/core/services/layout-init.service.ts","./src/app/_metronic/core/services/layout.service.ts","./src/app/_metronic/core/utils/date-picker.utils.ts","./src/app/_metronic/core/utils/types-convertion.utils.ts","./src/app/_metronic/partials/layout/splash-screen/splash-screen.component.ts","./src/app/_metronic/partials/layout/splash-screen/splash-screen.component.html","./src/app/_metronic/partials/layout/splash-screen/splash-screen.module.ts","./src/app/_metronic/partials/layout/splash-screen/splash-screen.service.ts","./src/app/_metronic/shared/crud-table/components/paginator/ng-pagination/ng-pagination.component.ts","./src/app/_metronic/shared/crud-table/components/paginator/ng-pagination/ng-pagination.component.html","./src/app/_metronic/shared/crud-table/components/paginator/ng-pagination/ng-pagination.config.ts","./src/app/_metronic/shared/crud-table/components/paginator/paginator.component.ts","./src/app/_metronic/shared/crud-table/components/paginator/paginator.component.html","./src/app/_metronic/shared/crud-table/components/sort-icon/sort-icon.component.ts","./src/app/_metronic/shared/crud-table/components/sort-icon/sort-icon.component.html","./src/app/_metronic/shared/crud-table/crud-table.module.ts","./src/app/_metronic/shared/crud-table/index.ts","./src/app/_metronic/shared/crud-table/models/grouping.model.ts","./src/app/_metronic/shared/crud-table/models/paginator.model.ts","./src/app/_metronic/shared/crud-table/models/sort.model.ts","./src/app/_metronic/shared/crud-table/services/table.extended.service.ts","./src/app/_metronic/shared/crud-table/services/table.service.ts","./src/app/app-routing.module.ts","./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/modules/auth/_services/auth-http/auth-http.service.ts","./src/app/modules/auth/_services/auth-http/index.ts","./src/app/modules/auth/_services/auth.guard.ts","./src/app/modules/auth/_services/auth.service.ts","./src/app/modules/i18n/translation.service.ts","./src/app/modules/i18n/vocabs/es.ts","./src/app/pages/_services/document.services.ts","./src/app/pages/_services/helper.services.ts","./src/app/pages/_services/insurance.services.ts","./src/app/pages/_services/interest.services.ts","./src/app/pages/list-insurance/list-insurance.component.ts","./src/app/pages/list-insurance/list-insurance.component.html","./src/environments/environment.ts","./src/main.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\nimport { InMemoryDbService } from 'angular-in-memory-web-api';\r\nimport { Observable } from 'rxjs';\r\nimport { UsersTable } from './fake-db/users.table';\r\nimport { CarsTable } from './fake-db/cars.table';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class FakeAPIService implements InMemoryDbService {\r\n constructor() { }\r\n\r\n /**\r\n * Create Fake DB and API\r\n */\r\n createDb(): {} | Observable<{}> {\r\n // tslint:disable-next-line:class-name\r\n const db = {\r\n // auth module\r\n users: UsersTable.users,\r\n };\r\n return db;\r\n }\r\n}\r\n","export class UsersTable {\r\n public static users: any = [\r\n {\r\n id: 1,\r\n username: '',\r\n password: '',\r\n email: '',\r\n accessToken: 'access-token-8f3ae836da744329a6f93bf20594b5cc',\r\n refreshToken: 'access-token-f8c137a2c98743f48b643e71161d90aa',\r\n roles: [1], // Administrator\r\n pic: './assets/media/users/300_25.jpg',\r\n fullname: '',\r\n firstname: '',\r\n lastname: '',\r\n occupation: '',\r\n companyName: '',\r\n phone: '507-000-0000',\r\n language: 'es',\r\n timeZone: 'America/Panama',\r\n website: '',\r\n emailSettings: {\r\n emailNotification: false,\r\n sendCopyToPersonalEmail: false,\r\n activityRelatesEmail: {\r\n youHaveNewNotifications: false,\r\n youAreSentADirectMessage: false,\r\n someoneAddsYouAsAsAConnection: false,\r\n uponNewOrder: false,\r\n newMembershipApproval: false,\r\n memberRegistration: true\r\n },\r\n updatesFromKeenthemes: {\r\n newsAboutKeenthemesProductsAndFeatureUpdates: false,\r\n tipsOnGettingMoreOutOfKeen: false,\r\n thingsYouMissedSindeYouLastLoggedIntoKeen: true,\r\n newsAboutMetronicOnPartnerProductsAndOtherServices: true,\r\n tipsOnMetronicBusinessProducts: true\r\n },\r\n },\r\n communication: {\r\n email: true,\r\n sms: true,\r\n phone: false\r\n },\r\n address: {\r\n addressLine: 'Panama, Ciudad de Panama',\r\n city: 'Panama',\r\n state: 'Panama',\r\n postCode: '9999',\r\n },\r\n socialNetworks: {\r\n linkedIn: 'https://linkedin.com/admin',\r\n facebook: 'https://facebook.com/admin',\r\n twitter: 'https://twitter.com/admin',\r\n instagram: 'https://instagram.com/admin',\r\n },\r\n },\r\n ];\r\n\r\n public static tokens: any = [\r\n {\r\n id: 1,\r\n accessToken: 'access-token-' + Math.random(),\r\n refreshToken: 'access-token-' + Math.random(),\r\n },\r\n ];\r\n}\r\n","import { ITableState } from '../../_metronic/shared/crud-table';\r\n\r\nexport function baseFilter(entities: any[], requestObj: ITableState) {\r\n // Filtration\r\n let entitiesResult = filterArray(entities, requestObj);\r\n // Search\r\n entitiesResult = searchInArray(entitiesResult, requestObj.searchTerm);\r\n\r\n // Sorting\r\n // start\r\n if (requestObj.sorting.column) {\r\n entitiesResult = sortArray(entitiesResult, requestObj.sorting.column, requestObj.sorting.direction);\r\n }\r\n // end\r\n\r\n // Paginator\r\n // start\r\n const totalCount = entitiesResult.length;\r\n const startPosition = (requestObj.paginator.page - 1) * requestObj.paginator.pageSize;\r\n const endPosition = startPosition + requestObj.paginator.pageSize;\r\n entitiesResult = entitiesResult.slice(startPosition, endPosition);\r\n // end\r\n\r\n const responseObj = {\r\n items: entitiesResult,\r\n total: totalCount\r\n };\r\n return responseObj;\r\n}\r\n\r\nexport function sortArray(incomingArray: any[], sortField: string = '', sortOrder: string = 'asc'): any[] {\r\n if (!sortField) {\r\n return incomingArray;\r\n }\r\n\r\n let result: any[] = [];\r\n result = incomingArray.sort((a, b) => {\r\n if (a[sortField] < b[sortField]) {\r\n return sortOrder === 'asc' ? -1 : 1;\r\n }\r\n\r\n if (a[sortField] > b[sortField]) {\r\n return sortOrder === 'asc' ? 1 : -1;\r\n }\r\n\r\n return 0;\r\n });\r\n return result;\r\n}\r\n\r\nexport function filterArray(incomingArray: any[], requestObj: ITableState): any[] {\r\n if (!requestObj || !requestObj.filter) {\r\n return incomingArray;\r\n }\r\n\r\n let result: any[] = incomingArray;\r\n const filtrationFields = Object.keys(requestObj.filter);\r\n filtrationFields.forEach((keyName: string) => {\r\n // tslint:disable-next-line:triple-equals\r\n result = result.filter(el => el[keyName] == requestObj.filter[keyName]);\r\n });\r\n return result;\r\n}\r\n\r\nexport function searchInArray(incomingArray: any[], searchTerm: string = ''): any[] {\r\n if (!searchTerm) {\r\n return incomingArray;\r\n }\r\n\r\n const acceptableForSearchTypes = { number: 1, string: 2 };\r\n const result = incomingArray.filter(row => {\r\n let termIsFoundInRow = false;\r\n const keys = Object.keys(row).filter(keyName => acceptableForSearchTypes[typeof row[keyName]] && row[keyName]);\r\n for (const keyName of keys) {\r\n if (row[keyName].toString().toLowerCase().indexOf(searchTerm) > -1) {\r\n termIsFoundInRow = true;\r\n break;\r\n }\r\n }\r\n return termIsFoundInRow;\r\n });\r\n return result;\r\n}\r\n","export const DefaultLayoutConfig = {\r\n \"demo\": \"portal-de-corredores\",\r\n \"app\" : {\r\n \"title\" : \"\",\r\n \"showWelcomeTitle\" : false,\r\n \"logo\" : \"\",\r\n \"powered_name\" : \"SW FACTORY\",\r\n \"powered_link\" : \"\",\r\n \"url\": 'http://186.159.118.22:61920/SF.YoSeguroInsuredProducer.Api',\r\n \"apiUrl\": 'api',\r\n \"urlTest\": \"\",\r\n \"autoplayTimeout\": 4000,\r\n \"modalLoadingConfig\": { \"keyboard\" : false, \"backdrop\" : 'static' },\r\n },\r\n \"js\": {\r\n \"breakpoints\": {\r\n \"sm\": 576,\r\n \"md\": 768,\r\n \"lg\": 992,\r\n \"xl\": 1200,\r\n \"xxl\": 1400\r\n },\r\n \"colors\": {\r\n \"theme\": {\r\n \"base\": {\r\n \"white\": \"#ffffff\",\r\n \"primary\": \"#3699FF\",\r\n \"secondary\": \"#E5EAEE\",\r\n \"success\": \"#1BC5BD\",\r\n \"info\": \"#8950FC\",\r\n \"warning\": \"#FFA800\",\r\n \"danger\": \"#F64E60\",\r\n \"light\": \"#E4E6EF\",\r\n \"dark\": \"#181C32\"\r\n },\r\n \"light\": {\r\n \"white\": \"#ffffff\",\r\n \"primary\": \"#E1F0FF\",\r\n \"secondary\": \"#EBEDF3\",\r\n \"success\": \"#C9F7F5\",\r\n \"info\": \"#EEE5FF\",\r\n \"warning\": \"#FFF4DE\",\r\n \"danger\": \"#FFE2E5\",\r\n \"light\": \"#F3F6F9\",\r\n \"dark\": \"#D6D6E0\"\r\n },\r\n \"inverse\": {\r\n \"white\": \"#ffffff\",\r\n \"primary\": \"#ffffff\",\r\n \"secondary\": \"#3F4254\",\r\n \"success\": \"#ffffff\",\r\n \"info\": \"#ffffff\",\r\n \"warning\": \"#ffffff\",\r\n \"danger\": \"#ffffff\",\r\n \"light\": \"#464E5F\",\r\n \"dark\": \"#ffffff\"\r\n }\r\n },\r\n \"gray\": {\r\n \"gray-100\": \"#F3F6F9\",\r\n \"gray-200\": \"#EBEDF3\",\r\n \"gray-300\": \"#E4E6EF\",\r\n \"gray-400\": \"#D1D3E0\",\r\n \"gray-500\": \"#B5B5C3\",\r\n \"gray-600\": \"#7E8299\",\r\n \"gray-700\": \"#5E6278\",\r\n \"gray-800\": \"#3F4254\",\r\n \"gray-900\": \"#181C32\"\r\n }\r\n },\r\n \"fontFamily\": \"Poppins\"\r\n },\r\n \"self\": {\r\n \"layout\": \"default\"\r\n },\r\n \"pageLoader\": {\r\n \"type\": \"\"\r\n },\r\n \"header\": {\r\n \"self\": {\r\n \"display\": true,\r\n \"width\": \"fluid\",\r\n \"theme\": \"light\",\r\n \"fixed\": {\r\n \"desktop\": true,\r\n \"mobile\": true\r\n }\r\n },\r\n \"menu\": {\r\n \"self\": {\r\n \"display\": true,\r\n \"static\": true,\r\n \"layout\": \"tab\",\r\n \"rootArrow\": false,\r\n \"iconStyle\": \"duotone\"\r\n },\r\n \"desktop\": {\r\n \"arrow\": true,\r\n \"toggle\": \"click\",\r\n \"submenu\": {\r\n \"theme\": \"light\",\r\n \"arrow\": true\r\n }\r\n },\r\n \"mobile\": {\r\n \"submenu\": {\r\n \"theme\": \"dark\",\r\n \"accordion\": true\r\n }\r\n }\r\n }\r\n },\r\n \"subheader\": {\r\n \"display\": false,\r\n \"displayDesc\": true,\r\n \"displayDaterangepicker\": true,\r\n \"layoutVersion\": \"v6\",\r\n \"fixed\": false,\r\n \"width\": \"fluid\",\r\n \"clear\": false,\r\n \"style\": \"solid\"\r\n },\r\n \"content\": {\r\n \"width\": \"fixed\"\r\n },\r\n \"brand\": {\r\n \"self\": {\r\n \"theme\": \"dark\"\r\n }\r\n },\r\n \"aside\": {\r\n \"self\": {\r\n \"theme\": \"dark\",\r\n \"display\": false,\r\n \"fixed\": true,\r\n \"minimize\": {\r\n \"toggle\": true,\r\n \"default\": false,\r\n \"hoverable\": true\r\n }\r\n },\r\n \"footer\": {\r\n \"self\": {\r\n \"display\": true\r\n }\r\n },\r\n \"menu\": {\r\n \"static\": true,\r\n \"dropdown\": false,\r\n \"scroll\": true,\r\n \"iconStyle\": \"duotone\",\r\n \"submenu\": {\r\n \"accordion\": true,\r\n \"dropdown\": {\r\n \"arrow\": true,\r\n \"hoverTimeout\": 500\r\n }\r\n }\r\n }\r\n },\r\n \"footer\": {\r\n \"display\": true,\r\n \"width\": \"fluid\",\r\n \"fixed\": true\r\n },\r\n \"extras\": {\r\n \"search\": {\r\n \"display\": false,\r\n \"layout\": \"dropdown\",\r\n \"offcanvas\": {\r\n \"direction\": \"right\"\r\n }\r\n },\r\n \"notifications\": {\r\n \"display\": false,\r\n \"layout\": \"dropdown\",\r\n \"dropdown\": {\r\n \"style\": \"dark\"\r\n },\r\n \"offcanvas\": {\r\n \"direction\": \"right\"\r\n }\r\n },\r\n \"quickActions\": {\r\n \"display\": false,\r\n \"layout\": \"dropdown\",\r\n \"dropdown\": {\r\n \"style\": \"dark\"\r\n },\r\n \"offcanvas\": {\r\n \"direction\": \"right\"\r\n }\r\n },\r\n \"user\": {\r\n \"display\": true,\r\n \"layout\": \"dropdown\",\r\n \"dropdown\": {\r\n \"style\": \"dark\"\r\n },\r\n \"offcanvas\": {\r\n \"direction\": \"right\"\r\n }\r\n },\r\n \"languages\": {\r\n \"display\": false\r\n },\r\n \"cart\": {\r\n \"display\": false,\r\n \"layout\": \"dropdown\",\r\n \"offcanvas\": {\r\n \"direction\": \"right\"\r\n },\r\n \"dropdown\": {\r\n \"style\": \"dark\"\r\n }\r\n },\r\n \"chat\": {\r\n \"display\": false\r\n },\r\n \"quickPanel\": {\r\n \"display\": false,\r\n \"offcanvas\": {\r\n \"direction\": \"right\"\r\n }\r\n },\r\n \"toolbar\": {\r\n \"display\": false\r\n },\r\n \"scrolltop\": {\r\n \"display\": true\r\n }\r\n }\r\n};\r\n","export const DynamicAsideMenuConfig = {\r\n items: [\r\n {\r\n title: 'Home',\r\n root: true,\r\n alignment: 'left',\r\n page: '/dashboard',\r\n translate: 'MENU.DASHBOARD',\r\n },\r\n {\r\n title: 'Polizas',\r\n root: true,\r\n alignment: 'left',\r\n page: '/list-insurance',\r\n },\r\n {\r\n title: 'Documentos',\r\n root: true,\r\n alignment: 'left',\r\n page: '/list-documents',\r\n },\r\n {\r\n title: 'Estados de Cuenta',\r\n root: true,\r\n alignment: 'left',\r\n page: '/account-statements',\r\n },\r\n {\r\n title: 'Pagos',\r\n root: true,\r\n alignment: 'left',\r\n page: '/my-payments',\r\n },\r\n ]\r\n};\r\n","export const DynamicHeaderMenuConfig = {\r\n items: [\r\n {\r\n title: 'Home',\r\n root: true,\r\n alignment: 'left',\r\n page: '/dashboard',\r\n translate: 'MENU.DASHBOARD',\r\n },\r\n {\r\n title: 'Polizas',\r\n root: true,\r\n alignment: 'left',\r\n page: '/list-insurance',\r\n },\r\n {\r\n title: 'Documentos',\r\n root: true,\r\n alignment: 'left',\r\n page: '/list-documents',\r\n },\r\n {\r\n title: 'Estados de Cuenta',\r\n root: true,\r\n alignment: 'left',\r\n page: '/account-statements',\r\n },\r\n {\r\n title: 'Pagos',\r\n root: true,\r\n alignment: 'left',\r\n page: '/my-payments',\r\n },\r\n ]\r\n};\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FirstLetterPipe } from './pipes/first-letter.pipe';\r\nimport { SafePipe } from './pipes/safe.pipe';\r\n\r\n@NgModule({\r\n declarations: [FirstLetterPipe, SafePipe],\r\n imports: [CommonModule],\r\n exports: [FirstLetterPipe, SafePipe],\r\n})\r\nexport class CoreModule { }\r\n","// Services\r\nexport { LayoutService } from './services/layout.service';\r\nexport { LayoutInitService } from './services/layout-init.service';\r\nexport { DynamicAsideMenuService } from './services/dynamic-aside-menu.service';\r\nexport { DynamicHeaderMenuService } from './services/dynamic-header-menu.service';\r\n// Utils\r\nexport * from './utils/types-convertion.utils';\r\nexport * from './utils/date-picker.utils';\r\n// Module\r\nexport { CoreModule } from './core.module';\r\n","// Angular\r\nimport { Pipe, PipeTransform } from '@angular/core';\r\n\r\n/**\r\n * Returns only first letter of string\r\n */\r\n@Pipe({\r\n name: 'firstLetter',\r\n})\r\nexport class FirstLetterPipe implements PipeTransform {\r\n /**\r\n * Transform\r\n *\r\n * @param value: any\r\n * @param args: any\r\n */\r\n transform(value: any, args?: any): any {\r\n return value\r\n .split(' ')\r\n .map((n) => n[0])\r\n .join('');\r\n }\r\n}\r\n","// Angular\r\nimport { Pipe, PipeTransform } from '@angular/core';\r\nimport {\r\n DomSanitizer,\r\n SafeHtml,\r\n SafeStyle,\r\n SafeScript,\r\n SafeUrl,\r\n SafeResourceUrl,\r\n} from '@angular/platform-browser';\r\n\r\n/**\r\n * Sanitize HTML\r\n */\r\n@Pipe({\r\n name: 'safe',\r\n})\r\nexport class SafePipe implements PipeTransform {\r\n /**\r\n * Pipe Constructor\r\n *\r\n * @param _sanitizer: DomSanitezer\r\n */\r\n // tslint:disable-next-line\r\n constructor(protected _sanitizer: DomSanitizer) {}\r\n\r\n /**\r\n * Transform\r\n *\r\n * @param value: string\r\n * @param type: string\r\n */\r\n transform(\r\n value: string,\r\n type: string\r\n ): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl {\r\n switch (type) {\r\n case 'html':\r\n return this._sanitizer.bypassSecurityTrustHtml(value);\r\n case 'style':\r\n return this._sanitizer.bypassSecurityTrustStyle(value);\r\n case 'script':\r\n return this._sanitizer.bypassSecurityTrustScript(value);\r\n case 'url':\r\n return this._sanitizer.bypassSecurityTrustUrl(value);\r\n case 'resourceUrl':\r\n return this._sanitizer.bypassSecurityTrustResourceUrl(value);\r\n default:\r\n return this._sanitizer.bypassSecurityTrustHtml(value);\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { DynamicAsideMenuConfig } from '../../configs/dynamic-aside-menu.config';\r\n\r\nconst emptyMenuConfig = {\r\n items: []\r\n};\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DynamicAsideMenuService {\r\n private menuConfigSubject = new BehaviorSubject(emptyMenuConfig);\r\n menuConfig$: Observable;\r\n constructor() {\r\n this.menuConfig$ = this.menuConfigSubject.asObservable();\r\n this.loadMenu();\r\n }\r\n\r\n // Here you able to load your menu from server/data-base/localStorage\r\n // Default => from DynamicAsideMenuConfig\r\n private loadMenu() {\r\n this.setMenu(DynamicAsideMenuConfig);\r\n }\r\n\r\n private setMenu(menuConfig) {\r\n this.menuConfigSubject.next(menuConfig);\r\n }\r\n\r\n private getMenu(): any {\r\n return this.menuConfigSubject.value;\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject, Observable } from 'rxjs';\r\nimport { DynamicHeaderMenuConfig } from '../../configs/dynamic-header-menu.config';\r\n\r\nconst emptyMenuConfig = {\r\n items: []\r\n};\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DynamicHeaderMenuService {\r\n private menuConfigSubject = new BehaviorSubject(emptyMenuConfig);\r\n menuConfig$: Observable;\r\n constructor() {\r\n this.menuConfig$ = this.menuConfigSubject.asObservable();\r\n this.loadMenu();\r\n }\r\n\r\n // Here you able to load your menu from server/data-base/localeStorage\r\n // Default => from DynamicHeaderMenuConfig\r\n private loadMenu() {\r\n this.setMenu(DynamicHeaderMenuConfig);\r\n }\r\n\r\n private setMenu(menuConfig) {\r\n this.menuConfigSubject.next(menuConfig);\r\n }\r\n\r\n private getMenu(): any {\r\n return this.menuConfigSubject.value;\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { environment } from 'src/environments/environment';\r\nimport { LayoutService } from './layout.service';\r\nimport { Subscription, Observable } from 'rxjs';\r\nimport { Config } from '../../../pages/_models/config.model';\r\nimport { HelperServices } from '../../../pages/_services/helper.services';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class LayoutInitService {\r\n constructor(private layout: LayoutService, private helperServices: HelperServices) {\r\n }\r\n\r\n\r\n readonly config: Observable;\r\n\r\n init() {\r\n this.layout.initConfig();\r\n\r\n this.preInitLayout();\r\n\r\n this.initCustomApp();\r\n\r\n // init base layout\r\n this.initLayout();\r\n this.initLoader();\r\n\r\n // init header and subheader menu\r\n this.initHeader();\r\n this.initSubheader();\r\n\r\n // init content\r\n this.initContent();\r\n // init aside and aside menu\r\n this.initAside();\r\n\r\n // init footer\r\n this.initFooter();\r\n\r\n this.initSkins();\r\n }\r\n\r\n // init base layout\r\n preInitLayout() {\r\n const config = this.layout.getConfig();\r\n const updatedConfig = Object.assign({}, config);\r\n const subheaderFixed = this.layout.getProp('subheader.fixed');\r\n const headerSelfFixedDesktop = this.layout.getProp(\r\n 'header.self.fixed.desktop'\r\n );\r\n if (subheaderFixed && headerSelfFixedDesktop) {\r\n updatedConfig.subheader.style = 'solid';\r\n } else {\r\n updatedConfig.subheader.fixed = false;\r\n }\r\n\r\n this.layout.setConfigWithoutLocalStorageChanges(updatedConfig);\r\n }\r\n\r\n private initLayout() {\r\n const selfBodyBackgroundImage = this.layout.getProp(\r\n 'self.body.background-image'\r\n );\r\n if (selfBodyBackgroundImage) {\r\n document.body.style.backgroundImage = `url(\"${selfBodyBackgroundImage}\")`;\r\n }\r\n\r\n const selfBodyClass = (\r\n this.layout.getProp('self.body.class') || ''\r\n ).toString();\r\n if (selfBodyClass) {\r\n const bodyClasses: string[] = selfBodyClass.split(' ');\r\n bodyClasses.forEach((cssClass) => document.body.classList.add(cssClass));\r\n }\r\n }\r\n\r\n private initLoader() { }\r\n\r\n // init header and subheader menu\r\n private initHeader() {\r\n // Fixed header\r\n const headerSelfFixedDesktop = this.layout.getProp(\r\n 'header.self.fixed.desktop'\r\n );\r\n if (headerSelfFixedDesktop) {\r\n document.body.classList.add('header-fixed');\r\n this.layout.setCSSClass('header', 'header-fixed');\r\n } else {\r\n document.body.classList.add('header-static');\r\n }\r\n\r\n const headerSelfFixedMobile = this.layout.getProp(\r\n 'header.self.fixed.mobile'\r\n );\r\n if (headerSelfFixedMobile) {\r\n document.body.classList.add('header-mobile-fixed');\r\n this.layout.setCSSClass('header_mobile', 'header-mobile-fixed');\r\n }\r\n\r\n // Menu\r\n const headerMenuSelfDisplay = this.layout.getProp(\r\n 'header.menu.self.display'\r\n );\r\n const headerMenuSelfLayout = this.layout.getProp('header.menu.self.layout');\r\n if (headerMenuSelfDisplay) {\r\n this.layout.setCSSClass(\r\n 'header_menu',\r\n `header-menu-layout-${headerMenuSelfLayout}`\r\n );\r\n\r\n if (this.layout.getProp('header.menu.self.rootArrow')) {\r\n this.layout.setCSSClass('header_menu', 'header-menu-root-arrow');\r\n }\r\n }\r\n\r\n if (this.layout.getProp('header.self.width') === 'fluid') {\r\n this.layout.setCSSClass('header_container', 'container-fluid');\r\n } else {\r\n this.layout.setCSSClass('header_container', 'container');\r\n }\r\n\r\n \r\n }\r\n\r\n private initCustomApp() {\r\n // App Config\r\n document.title = this.layout.getProp(\"app.title\");\r\n }\r\n\r\n private initSubheader() {\r\n const subheaderDisplay = this.layout.getProp('subheader.display');\r\n if (subheaderDisplay) {\r\n document.body.classList.add('subheader-enabled');\r\n } else {\r\n return;\r\n }\r\n\r\n // Fixed content head\r\n const subheaderFixed = this.layout.getProp('subheader.fixed');\r\n const headerSelfFixedDesktop = this.layout.getProp(\r\n 'header.self.fixed.desktop'\r\n );\r\n if (subheaderFixed && headerSelfFixedDesktop) {\r\n document.body.classList.add('subheader-fixed');\r\n }\r\n\r\n const subheaderStyle = this.layout.getProp('subheader.style');\r\n if (subheaderStyle) {\r\n this.layout.setCSSClass('subheader', `subheader-${subheaderStyle}`);\r\n }\r\n\r\n if (this.layout.getProp('subheader.width') === 'fluid') {\r\n this.layout.setCSSClass('subheader_container', 'container-fluid');\r\n } else {\r\n this.layout.setCSSClass('subheader_container', 'container');\r\n }\r\n\r\n if (this.layout.getProp('subheader.clear')) {\r\n this.layout.setCSSClass('subheader', 'mb-0');\r\n }\r\n }\r\n\r\n // init content\r\n private initContent() {\r\n if (this.layout.getProp('content.fit-top')) {\r\n this.layout.setCSSClass('content', 'pt-0');\r\n }\r\n\r\n if (this.layout.getProp('content.fit-bottom')) {\r\n this.layout.setCSSClass('content', 'pb-0');\r\n }\r\n\r\n if (this.layout.getProp('content.width') === 'fluid') {\r\n this.layout.setCSSClass('content_container', 'container-fluid');\r\n } else {\r\n this.layout.setCSSClass('content_container', 'container');\r\n }\r\n }\r\n\r\n // init aside and aside menu\r\n private initAside() {\r\n if (this.layout.getProp('aside.self.display') !== true) {\r\n return;\r\n }\r\n\r\n // Enable Aside\r\n document.body.classList.add('aside-enabled');\r\n\r\n // Fixed Aside\r\n if (this.layout.getProp('aside.self.fixed')) {\r\n document.body.classList.add('aside-fixed');\r\n this.layout.setCSSClass('aside', 'aside-fixed');\r\n } else {\r\n document.body.classList.add('aside-static');\r\n }\r\n\r\n // Check Aside\r\n if (this.layout.getProp('aside.self.display') !== true) {\r\n return;\r\n }\r\n\r\n // Default fixed\r\n if (this.layout.getProp('aside.self.minimize.default')) {\r\n document.body.classList.add('aside-minimize');\r\n }\r\n\r\n if (this.layout.getProp('aside.self.minimize.hoverable')) {\r\n document.body.classList.add('aside-minimize-hoverable');\r\n }\r\n\r\n // Menu\r\n // Dropdown Submenu\r\n const asideMenuDropdown = this.layout.getProp('aside.menu.dropdown');\r\n if (asideMenuDropdown) {\r\n this.layout.setCSSClass('aside_menu', 'aside-menu-dropdown');\r\n this.layout.setHTMLAttribute('aside_menu', 'data-menu-dropdown', '1');\r\n }\r\n\r\n // Scrollable Menu\r\n if (asideMenuDropdown !== true) {\r\n this.layout.setHTMLAttribute('aside_menu', 'data-menu-scroll', '1');\r\n } else {\r\n this.layout.setHTMLAttribute('aside_menu', 'data-menu-scroll', '0');\r\n }\r\n\r\n const asideMenuSubmenuDropdownHoverTimout = this.layout.getProp(\r\n 'aside.menu.submenu.dropdown.hoverTimeout'\r\n );\r\n if (asideMenuSubmenuDropdownHoverTimout) {\r\n this.layout.setHTMLAttribute(\r\n 'aside_menu',\r\n 'data-menu-dropdown-timeout',\r\n asideMenuSubmenuDropdownHoverTimout\r\n );\r\n }\r\n }\r\n\r\n // init footer\r\n private initFooter() {\r\n // Fixed header\r\n if (this.layout.getProp('footer.fixed') === true) {\r\n document.body.classList.add('footer-fixed');\r\n }\r\n\r\n if (this.layout.getProp('footer.width') === 'fluid') {\r\n this.layout.setCSSClass('footer_container', 'container-fluid');\r\n } else {\r\n this.layout.setCSSClass('footer_container', 'container');\r\n }\r\n }\r\n\r\n /**\r\n * Set the body class name based on page skin options\r\n */\r\n private initSkins() {\r\n const headerSelfTheme = this.layout.getProp('header.self.theme') || '';\r\n const brandSelfTheme = this.layout.getProp('brand.self.theme') || '';\r\n const asideSelfDisplay = this.layout.getProp('aside.self.display');\r\n if (asideSelfDisplay === false) {\r\n document.body.classList.add(`brand-${headerSelfTheme}`);\r\n } else {\r\n document.body.classList.add(`brand-${brandSelfTheme}`);\r\n }\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { environment } from 'src/environments/environment';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { DefaultLayoutConfig } from '../../configs/default-layout.config';\r\nimport { HelperServices } from '../../../pages/_services/helper.services';\r\nimport * as objectPath from 'object-path';\r\n\r\nconst LAYOUT_CONFIG_LOCAL_STORAGE_KEY = `${environment.appVersion}-layoutConfig`;\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class LayoutService {\r\n private layoutConfigSubject: BehaviorSubject = new BehaviorSubject(\r\n undefined\r\n );\r\n\r\n // scope list of css classes\r\n private classes = {\r\n header: [],\r\n header_container: [],\r\n header_mobile: [],\r\n header_menu: [],\r\n aside_menu: [],\r\n subheader: [],\r\n subheader_container: [],\r\n content: [],\r\n content_container: [],\r\n footer_container: [],\r\n params: []\r\n };\r\n\r\n // scope list of html attributes\r\n private attrs = {\r\n aside_menu: {},\r\n };\r\n\r\n constructor(\r\n private helperServices: HelperServices\r\n ) {}\r\n\r\n async initConfig(): Promise {\r\n\r\n const configFromLocalStorage = localStorage.getItem(\r\n LAYOUT_CONFIG_LOCAL_STORAGE_KEY\r\n );\r\n if (configFromLocalStorage) {\r\n try {\r\n\r\n \r\n\r\n this.layoutConfigSubject.next(JSON.parse(configFromLocalStorage));\r\n\r\n \r\n } catch (error) {\r\n this.removeConfig();\r\n console.error('config parse from local storage', error);\r\n }\r\n }\r\n \r\n await this.helperServices.getConfig().then( x => {\r\n this.classes.params = x[0];\r\n //var c = JSON.parse(configFromLocalStorage);\r\n\r\n //c.app.title = x[0].CompaniaAplicacion;\r\n //c.app.powered_link = x[0].UrlSwfFactory;\r\n document.title = x[0].CompaniaAplicacion;\r\n\r\n //this.layoutConfigSubject.next(c);\r\n });\r\n\r\n //console.log(DefaultLayoutConfig);\r\n }\r\n\r\n layoutSubject() {\r\n\r\n }\r\n\r\n private removeConfig() {\r\n localStorage.removeItem(LAYOUT_CONFIG_LOCAL_STORAGE_KEY);\r\n }\r\n\r\n refreshConfigToDefault() {\r\n this.setConfigWithPageRefresh(undefined);\r\n }\r\n\r\n getConfig(): any {\r\n const config = this.layoutConfigSubject.value;\r\n if (!config) {\r\n return DefaultLayoutConfig;\r\n }\r\n return config;\r\n }\r\n\r\n setConfig(config: any) {\r\n if (!config) {\r\n this.removeConfig();\r\n } else {\r\n localStorage.setItem(\r\n LAYOUT_CONFIG_LOCAL_STORAGE_KEY,\r\n JSON.stringify(config)\r\n );\r\n }\r\n this.layoutConfigSubject.next(config);\r\n }\r\n\r\n setConfigWithoutLocalStorageChanges(config: any) {\r\n this.layoutConfigSubject.next(config);\r\n }\r\n\r\n setConfigWithPageRefresh(config: any) {\r\n this.setConfig(config);\r\n document.location.reload();\r\n }\r\n\r\n getProp(path: string): any {\r\n return objectPath.get(this.layoutConfigSubject.value, path);\r\n }\r\n\r\n setCSSClass(path: string, classesInStr: string) {\r\n const cssClasses = this.classes[path];\r\n if (!cssClasses) {\r\n this.classes[path] = [];\r\n }\r\n classesInStr\r\n .split(' ')\r\n .forEach((cssClass: string) => this.classes[path].push(cssClass));\r\n }\r\n\r\n getCSSClasses(path: string): string[] {\r\n const cssClasses = this.classes[path];\r\n if (!cssClasses) {\r\n return [];\r\n }\r\n\r\n return cssClasses;\r\n }\r\n\r\n getStringCSSClasses(path: string) {\r\n return this.getCSSClasses(path).join(' ');\r\n }\r\n\r\n getHTMLAttributes(path: string): any {\r\n const attributesObj = this.attrs[path];\r\n if (!attributesObj) {\r\n return {};\r\n }\r\n return attributesObj;\r\n }\r\n\r\n setHTMLAttribute(path, attrKey: string, attrValue: any) {\r\n const attributesObj = this.attrs[path];\r\n if (!attributesObj) {\r\n this.attrs[path] = {};\r\n }\r\n this.attrs[path][attrKey] = attrValue;\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { NgbDateAdapter, NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n/**\r\n * This Service handles how the date is represented in scripts i.e. ngModel.\r\n */\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CustomAdapter extends NgbDateAdapter {\r\n\r\n readonly DELIMITER = '/';\r\n\r\n fromModel(value: string | null): NgbDateStruct | null {\r\n if (value) {\r\n const date = value.split(this.DELIMITER);\r\n return {\r\n month: parseInt(date[0], 10),\r\n day: parseInt(date[1], 10),\r\n year: parseInt(date[2], 10)\r\n };\r\n }\r\n return null;\r\n }\r\n\r\n toModel(date: NgbDateStruct | null): string | null {\r\n return date ? date.month + this.DELIMITER + date.day + this.DELIMITER + date.year : null;\r\n }\r\n}\r\n\r\n/**\r\n * This Service handles how the date is rendered and parsed from keyboard i.e. in the bound input field.\r\n */\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CustomDateParserFormatter extends NgbDateParserFormatter {\r\n\r\n readonly DELIMITER = '/';\r\n\r\n parse(value: string): NgbDateStruct | null {\r\n if (value) {\r\n const date = value.split(this.DELIMITER);\r\n return {\r\n month: parseInt(date[0], 10),\r\n day: parseInt(date[1], 10),\r\n year: parseInt(date[2], 10)\r\n };\r\n }\r\n return null;\r\n }\r\n\r\n format(date: NgbDateStruct | null): string {\r\n return date ? date.month + this.DELIMITER + date.day + this.DELIMITER + date.year : '';\r\n }\r\n}\r\n","/**\r\n * Convert string to Date\r\n *\r\n * @param dateInStr: string (format => 'MM/dd/yyyy')\r\n */\r\nexport function getDateFromString(dateInStr: string = ''): Date {\r\n if (dateInStr && dateInStr.length > 0) {\r\n const dateParts = dateInStr.trim().split('/');\r\n const year = toInteger(dateParts[2]);\r\n const month = toInteger(dateParts[0]);\r\n const day = toInteger(dateParts[1]);\r\n // tslint:disable-next-line:prefer-const\r\n let result = new Date();\r\n result.setDate(day);\r\n result.setMonth(month - 1);\r\n result.setFullYear(year);\r\n return result;\r\n }\r\n\r\n return new Date();\r\n}\r\n\r\n/**\r\n * Covert value to number\r\n *\r\n * @param value: any\r\n */\r\nexport function toInteger(value: any): number {\r\n return parseInt(`${value}`, 10);\r\n}\r\n","import { Component, OnInit, ViewChild, ElementRef } from '@angular/core';\r\nimport { SplashScreenService } from './splash-screen.service';\r\n\r\n@Component({\r\n selector: 'app-splash-screen',\r\n templateUrl: './splash-screen.component.html',\r\n styleUrls: ['./splash-screen.component.scss'],\r\n})\r\nexport class SplashScreenComponent implements OnInit {\r\n @ViewChild('splashScreen', { static: true }) splashScreen: ElementRef;\r\n\r\n constructor(\r\n private el: ElementRef,\r\n private splashScreenService: SplashScreenService\r\n ) {}\r\n\r\n ngOnInit(): void {\r\n this.splashScreenService.init(this.splashScreen);\r\n }\r\n}\r\n","\r\n
\r\n \"Logo\"\r\n \r\n \r\n \r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { SplashScreenComponent } from './splash-screen.component';\r\n\r\n@NgModule({\r\n declarations: [SplashScreenComponent],\r\n imports: [CommonModule],\r\n exports: [SplashScreenComponent],\r\n})\r\nexport class SplashScreenModule {}\r\n","import { ElementRef, Injectable } from '@angular/core';\r\nimport { animate, AnimationBuilder, style } from '@angular/animations';\r\nimport { environment } from '../../../../../environments/environment';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class SplashScreenService {\r\n // Private properties\r\n private el: ElementRef;\r\n private stopped: boolean;\r\n\r\n /**\r\n * Service constructor\r\n *\r\n * @param animationBuilder: AnimationBuilder\r\n */\r\n constructor(private animationBuilder: AnimationBuilder) {}\r\n\r\n /**\r\n * Init\r\n *\r\n * @param element: ElementRef\r\n */\r\n init(element: ElementRef) {\r\n this.el = element;\r\n }\r\n\r\n /**\r\n * Hide\r\n */\r\n hide() {\r\n if (this.stopped || !this.el) {\r\n return;\r\n }\r\n\r\n const player = this.animationBuilder\r\n .build([style({ opacity: '1' }), animate(800, style({ opacity: '0' }))])\r\n .create(this.el.nativeElement);\r\n\r\n player.onDone(() => {\r\n if (typeof this.el.nativeElement.remove === 'function') {\r\n this.el.nativeElement.remove();\r\n } else {\r\n this.el.nativeElement.style.display = 'none !important';\r\n }\r\n this.stopped = true;\r\n });\r\n\r\n setTimeout(() => player.play(), 100);\r\n }\r\n}\r\n","// tslint:disable:max-line-length component-class-suffix directive-selector directive-class-suffix component-selector no-host-metadata-property object-literal-key-quotes prefer-const\r\n// fork of https://github.com/ng-bootstrap/ng-bootstrap/blob/master/src/pagination/pagination.ts\r\nimport {\r\n Component,\r\n ContentChild,\r\n Directive,\r\n EventEmitter,\r\n Input,\r\n Output,\r\n OnChanges,\r\n ChangeDetectionStrategy,\r\n SimpleChanges,\r\n TemplateRef\r\n} from '@angular/core';\r\nimport { NgPaginationConfig } from './ng-pagination.config';\r\n\r\nfunction getValueInRange(value: number, max: number, min = 0): number {\r\n return Math.max(Math.min(value, max), min);\r\n}\r\n\r\nfunction isNumber(value: any): value is number {\r\n return !isNaN(toInteger(value));\r\n}\r\n\r\nfunction toInteger(value: any): number {\r\n return parseInt(`${value}`, 10);\r\n}\r\n\r\n/**\r\n * A context for the\r\n * * `NgPaginationFirst`\r\n * * `NgPaginationPrevious`\r\n * * `NgPaginationNext`\r\n * * `NgPaginationLast`\r\n * * `NgPaginationEllipsis`\r\n *\r\n * link templates in case you want to override one.\r\n *\r\n * @since 4.1.0\r\n */\r\nexport interface NgPaginationLinkContext {\r\n /**\r\n * The currently selected page number\r\n */\r\n currentPage: number;\r\n\r\n /**\r\n * If `true`, the current link is disabled\r\n */\r\n disabled: boolean;\r\n}\r\n\r\n/**\r\n * A context for the `NgPaginationNumber` link template in case you want to override one.\r\n *\r\n * Extends `NgPaginationLinkContext`.\r\n *\r\n * @since 4.1.0\r\n */\r\nexport interface NgPaginationNumberContext extends NgPaginationLinkContext {\r\n /**\r\n * The page number, displayed by the current page link.\r\n */\r\n $implicit: number;\r\n}\r\n\r\n/**\r\n * A directive to match the 'ellipsis' link template\r\n *\r\n * @since 4.1.0\r\n */\r\n@Directive({ selector: 'ng-template[ngPaginationEllipsis]' })\r\nexport class NgPaginationEllipsis {\r\n constructor(public templateRef: TemplateRef) { }\r\n}\r\n\r\n/**\r\n * A directive to match the 'first' link template\r\n *\r\n * @since 4.1.0\r\n */\r\n@Directive({ selector: 'ng-template[ngPaginationFirst]' })\r\nexport class NgPaginationFirst {\r\n constructor(public templateRef: TemplateRef) { }\r\n}\r\n\r\n/**\r\n * A directive to match the 'last' link template\r\n *\r\n * @since 4.1.0\r\n */\r\n@Directive({ selector: 'ng-template[ngPaginationLast]' })\r\nexport class NgPaginationLast {\r\n constructor(public templateRef: TemplateRef) { }\r\n}\r\n\r\n/**\r\n * A directive to match the 'next' link template\r\n *\r\n * @since 4.1.0\r\n */\r\n@Directive({ selector: 'ng-template[ngPaginationNext]' })\r\nexport class NgPaginationNext {\r\n constructor(public templateRef: TemplateRef) { }\r\n}\r\n\r\n/**\r\n * A directive to match the page 'number' link template\r\n *\r\n * @since 4.1.0\r\n */\r\n@Directive({ selector: 'ng-template[ngPaginationNumber]' })\r\nexport class NgPaginationNumber {\r\n constructor(public templateRef: TemplateRef) { }\r\n}\r\n\r\n/**\r\n * A directive to match the 'previous' link template\r\n *\r\n * @since 4.1.0\r\n */\r\n@Directive({ selector: 'ng-template[ngPaginationPrevious]' })\r\nexport class NgPaginationPrevious {\r\n constructor(public templateRef: TemplateRef) { }\r\n}\r\n\r\n/**\r\n * A component that displays page numbers and allows to customize them in several ways.\r\n */\r\n@Component({\r\n selector: 'ng-pagination',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n host: { 'role': 'navigation' },\r\n templateUrl: './ng-pagination.component.html',\r\n\r\n})\r\nexport class NgPagination implements OnChanges {\r\n pageCount = 0;\r\n pages: number[] = [];\r\n\r\n @ContentChild(NgPaginationEllipsis, { static: false }) tplEllipsis: NgPaginationEllipsis;\r\n @ContentChild(NgPaginationFirst, { static: false }) tplFirst: NgPaginationFirst;\r\n @ContentChild(NgPaginationLast, { static: false }) tplLast: NgPaginationLast;\r\n @ContentChild(NgPaginationNext, { static: false }) tplNext: NgPaginationNext;\r\n @ContentChild(NgPaginationNumber, { static: false }) tplNumber: NgPaginationNumber;\r\n @ContentChild(NgPaginationPrevious, { static: false }) tplPrevious: NgPaginationPrevious;\r\n\r\n /**\r\n * If `true`, pagination links will be disabled.\r\n */\r\n @Input() disabled: boolean;\r\n\r\n /**\r\n * If `true`, the \"First\" and \"Last\" page links are shown.\r\n */\r\n @Input() boundaryLinks: boolean;\r\n\r\n /**\r\n * If `true`, the \"Next\" and \"Previous\" page links are shown.\r\n */\r\n @Input() directionLinks: boolean;\r\n\r\n /**\r\n * If `true`, the ellipsis symbols and first/last page numbers will be shown when `maxSize` > number of pages.\r\n */\r\n @Input() ellipses: boolean;\r\n\r\n /**\r\n * Whether to rotate pages when `maxSize` > number of pages.\r\n *\r\n * The current page always stays in the middle if `true`.\r\n */\r\n @Input() rotate: boolean;\r\n\r\n /**\r\n * The number of items in your paginated collection.\r\n *\r\n * Note, that this is not the number of pages. Page numbers are calculated dynamically based on\r\n * `collectionSize` and `pageSize`. Ex. if you have 100 items in your collection and displaying 20 items per page,\r\n * you'll end up with 5 pages.\r\n */\r\n @Input() collectionSize: number;\r\n\r\n /**\r\n * The maximum number of pages to display.\r\n */\r\n @Input() maxSize: number;\r\n\r\n /**\r\n * The current page.\r\n *\r\n * Page numbers start with `1`.\r\n */\r\n @Input() page = 1;\r\n\r\n /**\r\n * The number of items per page.\r\n */\r\n @Input() pageSize: number;\r\n\r\n /**\r\n * An event fired when the page is changed. Will fire only if collection size is set and all values are valid.\r\n *\r\n * Event payload is the number of the newly selected page.\r\n *\r\n * Page numbers start with `1`.\r\n */\r\n @Output() pageChange = new EventEmitter(true);\r\n\r\n /**\r\n * The pagination display size.\r\n *\r\n * Bootstrap currently supports small and large sizes.\r\n */\r\n @Input() size: 'sm' | 'lg';\r\n\r\n constructor(config: NgPaginationConfig) {\r\n this.disabled = config.disabled;\r\n this.boundaryLinks = config.boundaryLinks;\r\n this.directionLinks = config.directionLinks;\r\n this.ellipses = config.ellipses;\r\n this.maxSize = config.maxSize;\r\n this.pageSize = config.pageSize;\r\n this.rotate = config.rotate;\r\n this.size = config.size;\r\n }\r\n\r\n hasPrevious(): boolean { return this.page > 1; }\r\n\r\n hasNext(): boolean { return this.page < this.pageCount; }\r\n\r\n nextDisabled(): boolean { return !this.hasNext() || this.disabled; }\r\n\r\n previousDisabled(): boolean { return !this.hasPrevious() || this.disabled; }\r\n\r\n selectPage(pageNumber: number): void { this._updatePages(pageNumber); }\r\n\r\n ngOnChanges(changes: SimpleChanges): void { this._updatePages(this.page); }\r\n\r\n isEllipsis(pageNumber): boolean { return pageNumber === -1; }\r\n\r\n /**\r\n * Appends ellipses and first/last page number to the displayed pages\r\n */\r\n private _applyEllipses(start: number, end: number) {\r\n if (this.ellipses) {\r\n if (start > 0) {\r\n // The first page will always be included. If the displayed range\r\n // starts after the third page, then add ellipsis. But if the range\r\n // starts on the third page, then add the second page instead of\r\n // an ellipsis, because the ellipsis would only hide a single page.\r\n if (start > 2) {\r\n this.pages.unshift(-1);\r\n } else if (start === 2) {\r\n this.pages.unshift(2);\r\n }\r\n this.pages.unshift(1);\r\n }\r\n if (end < this.pageCount) {\r\n // The last page will always be included. If the displayed range\r\n // ends before the third-last page, then add ellipsis. But if the range\r\n // ends on third-last page, then add the second-last page instead of\r\n // an ellipsis, because the ellipsis would only hide a single page.\r\n if (end < (this.pageCount - 2)) {\r\n this.pages.push(-1);\r\n } else if (end === (this.pageCount - 2)) {\r\n this.pages.push(this.pageCount - 1);\r\n }\r\n this.pages.push(this.pageCount);\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Rotates page numbers based on maxSize items visible.\r\n * Currently selected page stays in the middle:\r\n *\r\n * Ex. for selected page = 6:\r\n * [5,*6*,7] for maxSize = 3\r\n * [4,5,*6*,7] for maxSize = 4\r\n */\r\n private _applyRotation(): [number, number] {\r\n let start = 0;\r\n let end = this.pageCount;\r\n let leftOffset = Math.floor(this.maxSize / 2);\r\n let rightOffset = this.maxSize % 2 === 0 ? leftOffset - 1 : leftOffset;\r\n\r\n if (this.page <= leftOffset) {\r\n // very beginning, no rotation -> [0..maxSize]\r\n end = this.maxSize;\r\n } else if (this.pageCount - this.page < leftOffset) {\r\n // very end, no rotation -> [len-maxSize..len]\r\n start = this.pageCount - this.maxSize;\r\n } else {\r\n // rotate\r\n start = this.page - leftOffset - 1;\r\n end = this.page + rightOffset;\r\n }\r\n\r\n return [start, end];\r\n }\r\n\r\n /**\r\n * Paginates page numbers based on maxSize items per page.\r\n */\r\n private _applyPagination(): [number, number] {\r\n let page = Math.ceil(this.page / this.maxSize) - 1;\r\n let start = page * this.maxSize;\r\n let end = start + this.maxSize;\r\n\r\n return [start, end];\r\n }\r\n\r\n private _setPageInRange(newPageNo) {\r\n const prevPageNo = this.page;\r\n this.page = getValueInRange(newPageNo, this.pageCount, 1);\r\n\r\n if (this.page !== prevPageNo && isNumber(this.collectionSize)) {\r\n this.pageChange.emit(this.page);\r\n }\r\n }\r\n\r\n private _updatePages(newPage: number) {\r\n this.pageCount = Math.ceil(this.collectionSize / this.pageSize);\r\n\r\n if (!isNumber(this.pageCount)) {\r\n this.pageCount = 0;\r\n }\r\n\r\n // fill-in model needed to render pages\r\n this.pages.length = 0;\r\n for (let i = 1; i <= this.pageCount; i++) {\r\n this.pages.push(i);\r\n }\r\n\r\n // set page within 1..max range\r\n this._setPageInRange(newPage);\r\n\r\n // apply maxSize if necessary\r\n if (this.maxSize > 0 && this.pageCount > this.maxSize) {\r\n let start = 0;\r\n let end = this.pageCount;\r\n\r\n // either paginating or rotating page numbers\r\n if (this.rotate) {\r\n [start, end] = this._applyRotation();\r\n } else {\r\n [start, end] = this._applyPagination();\r\n }\r\n\r\n this.pages = this.pages.slice(start, end);\r\n\r\n // adding ellipses\r\n this._applyEllipses(start, end);\r\n }\r\n }\r\n}\r\n","\r\n \r\n\r\n\r\n \r\n\r\n\r\n \r\n\r\n\r\n \r\n\r\n...\r\n\r\n {{ page }}\r\n (current)\r\n\r\n\r\n \r\n\r\n\r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n\r\n\r\n \r\n\r\n","// Fork of https://github.com/ng-bootstrap/ng-bootstrap/blob/master/src/pagination/pagination-config.ts\r\nimport { Injectable } from '@angular/core';\r\nimport { PageSizes } from '../../../models/paginator.model';\r\n\r\n/**\r\n * A configuration service for the [`NgPagination`](#/components/paginator/api#NgPagination) component.\r\n *\r\n * You can inject this service, typically in your root component, and customize the values of its properties in\r\n * order to provide default values for all the paginations used in the application.\r\n */\r\n@Injectable({ providedIn: 'root' })\r\nexport class NgPaginationConfig {\r\n disabled = false;\r\n boundaryLinks = false;\r\n directionLinks = true;\r\n ellipses = true;\r\n maxSize = 0;\r\n pageSize = PageSizes[2];\r\n rotate = false;\r\n size: 'sm' | 'lg';\r\n}\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { PageSizes, PaginatorState } from '../../models/paginator.model';\r\n\r\n@Component({\r\n selector: 'app-paginator',\r\n templateUrl: './paginator.component.html',\r\n styleUrls: ['./paginator.component.scss']\r\n})\r\nexport class PaginatorComponent implements OnInit {\r\n @Input() paginator: PaginatorState;\r\n @Input() isLoading;\r\n @Output() paginate: EventEmitter = new EventEmitter();\r\n pageSizes: number[] = PageSizes;\r\n constructor() {}\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n pageChange(num: number) {\r\n this.paginator.page = num;\r\n this.paginate.emit(this.paginator);\r\n }\r\n\r\n sizeChange() {\r\n this.paginator.pageSize = +this.paginator.pageSize;\r\n this.paginator.page = 1;\r\n this.paginate.emit(this.paginator);\r\n }\r\n}\r\n","\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
Loading...
\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n  Showing rows {{ paginator.page }} to {{\r\n paginator.pageSize\r\n }}\r\n of {{ paginator.total }}\r\n \r\n
\r\n\r\n","import { Component, OnInit, Input, OnChanges, ElementRef, Output, EventEmitter } from '@angular/core';\r\nimport { SortDirection } from '../../models/sort.model';\r\n\r\n@Component({\r\n selector: 'app-sort-icon',\r\n templateUrl: './sort-icon.component.html',\r\n styleUrls: ['./sort-icon.component.scss']\r\n})\r\nexport class SortIconComponent implements OnInit, OnChanges {\r\n @Input() column: string;\r\n @Input() activeColumn: string;\r\n @Input() activeDirection: SortDirection;\r\n @Output() sort: EventEmitter = new EventEmitter();\r\n isActive = false;\r\n\r\n constructor(private el: ElementRef) { }\r\n\r\n ngOnChanges(): void {\r\n const parent = this.el.nativeElement.parentElement;\r\n if (!parent) {\r\n return;\r\n }\r\n\r\n // Load css classes\r\n parent.classList.add('sortable');\r\n parent.classList.remove('sortable-active');\r\n if (this.column === this.activeColumn) {\r\n parent.classList.add('sortable-active');\r\n }\r\n\r\n // load icons\r\n this.isActive = this.column === this.activeColumn;\r\n }\r\n\r\n ngOnInit(): void {\r\n const parent = this.el.nativeElement.parentElement as Element;\r\n if (!parent) {\r\n return;\r\n }\r\n\r\n parent.addEventListener('click', () => {\r\n this.sort.emit(this.column);\r\n });\r\n }\r\n}\r\n","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n \r\n \r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { PaginatorComponent } from './components/paginator/paginator.component';\r\nimport { NgPagination } from './components/paginator/ng-pagination/ng-pagination.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { SortIconComponent } from './components/sort-icon/sort-icon.component';\r\nimport { InlineSVGModule } from 'ng-inline-svg';\r\n@NgModule({\r\n declarations: [PaginatorComponent, NgPagination, SortIconComponent],\r\n imports: [CommonModule, FormsModule, InlineSVGModule ],\r\n exports: [PaginatorComponent, NgPagination, SortIconComponent],\r\n})\r\nexport class CRUDTableModule { }\r\n","// Models\r\nexport * from './models/table.model';\r\nexport * from './models/sort.model';\r\nexport * from './models/paginator.model';\r\nexport * from './models/grouping.model';\r\nexport * from './models/search.model';\r\nexport * from './models/filter.model';\r\nexport { BaseModel } from './models/base.model';\r\n// Directives\r\n// Services\r\nexport * from './services/table.service';\r\nexport * from './services/table.extended.service';\r\n// Module\r\nexport { CRUDTableModule } from './crud-table.module';\r\n","export interface IGroupingState {\r\n selectedRowIds: Set;\r\n itemIds: number[];\r\n checkAreAllRowsSelected(): boolean;\r\n selectRow(id: number): IGroupingState;\r\n // tslint:disable-next-line:variable-name\r\n clearRows(_itemIds: number[]): IGroupingState;\r\n isRowSelected(id: number): boolean;\r\n selectAllRows(): IGroupingState;\r\n getSelectedRows(): number[];\r\n getSelectedRowsCount(): number;\r\n}\r\n\r\nexport class GroupingState implements IGroupingState {\r\n selectedRowIds: Set = new Set();\r\n itemIds = [];\r\n\r\n\r\n checkAreAllRowsSelected(): boolean {\r\n if (this.itemIds.length === 0) {\r\n return false;\r\n }\r\n\r\n return this.selectedRowIds.size === this.itemIds.length;\r\n }\r\n\r\n selectRow(id: number): GroupingState {\r\n if (this.selectedRowIds.has(id)) {\r\n this.selectedRowIds.delete(id);\r\n } else {\r\n this.selectedRowIds.add(id);\r\n }\r\n return this;\r\n }\r\n\r\n // tslint:disable-next-line:variable-name\r\n clearRows(_itemIds: number[]): GroupingState {\r\n this.itemIds = _itemIds;\r\n this.selectedRowIds = new Set();\r\n return this;\r\n }\r\n\r\n isRowSelected(id: number): boolean {\r\n return this.selectedRowIds.has(id);\r\n }\r\n\r\n selectAllRows(): GroupingState {\r\n const areAllSelected = this.itemIds.length === this.selectedRowIds.size;\r\n if (areAllSelected) {\r\n this.selectedRowIds = new Set();\r\n } else {\r\n this.selectedRowIds = new Set();\r\n this.itemIds.forEach(id => this.selectedRowIds.add(id));\r\n }\r\n return this;\r\n }\r\n\r\n getSelectedRows(): number[] {\r\n return Array.from(this.selectedRowIds);\r\n }\r\n\r\n getSelectedRowsCount(): number {\r\n return this.selectedRowIds.size;\r\n }\r\n}\r\n\r\nexport interface IGroupingView {\r\n grouping: GroupingState;\r\n ngOnInit(): void;\r\n}\r\n","export const PageSizes = [3, 5, 10, 15, 50, 100];\r\n\r\nexport interface IPaginatorState {\r\n page: number;\r\n pageSize: number;\r\n total: number;\r\n recalculatePaginator(total: number): IPaginatorState;\r\n}\r\n\r\nexport class PaginatorState implements IPaginatorState {\r\n page = 1;\r\n pageSize = PageSizes[2];\r\n total = 0;\r\n pageSizes: number[] = [];\r\n\r\n recalculatePaginator(total: number): PaginatorState {\r\n this.total = total;\r\n return this;\r\n }\r\n}\r\n\r\nexport interface IPaginatorView {\r\n paginator: PaginatorState;\r\n ngOnInit(): void;\r\n paginate(paginator: PaginatorState): void;\r\n}\r\n","export type SortDirection = 'asc' | 'desc' | '';\r\n\r\nexport interface ISortState {\r\n column: string;\r\n direction: SortDirection;\r\n}\r\n\r\nexport class SortState implements ISortState {\r\n column = 'id'; // Id by default\r\n direction: SortDirection = 'asc'; // asc by default;\r\n}\r\n\r\nexport interface ISortView {\r\n sorting: SortState;\r\n ngOnInit(): void;\r\n sort(column: string): void;\r\n}\r\n","import { Inject, Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { TableService } from './table.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TableExtendedService extends TableService {\r\n constructor(@Inject(HttpClient) http) {\r\n super(http);\r\n }\r\n}\r\n","// tslint:disable:variable-name\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { BehaviorSubject, Observable, of, Subscription } from 'rxjs';\r\nimport { catchError, finalize, tap } from 'rxjs/operators';\r\nimport { PaginatorState } from '../models/paginator.model';\r\nimport { ITableState, TableResponseModel } from '../models/table.model';\r\nimport { BaseModel } from '../models/base.model';\r\nimport { SortState } from '../models/sort.model';\r\nimport { GroupingState } from '../models/grouping.model';\r\nimport { environment } from '../../../../../environments/environment';\r\n\r\n\r\nvar DEFAULT_STATE: ITableState = {\r\n filter: {},\r\n paginator: new PaginatorState(),\r\n sorting: new SortState(),\r\n searchTerm: '',\r\n grouping: new GroupingState(),\r\n entityId: undefined,\r\n paramsGet: \"\",\r\n paramsPost: {}\r\n};\r\n\r\nexport abstract class TableService {\r\n // Private fields\r\n private _items$ = new BehaviorSubject([]);\r\n private _isLoading$ = new BehaviorSubject(false);\r\n private _isFirstLoading$ = new BehaviorSubject(true);\r\n private _tableState$ = new BehaviorSubject(DEFAULT_STATE);\r\n private _errorMessage = new BehaviorSubject('');\r\n private _subscriptions: Subscription[] = [];\r\n\r\n\r\n // Getters\r\n get items$() {\r\n return this._items$.asObservable();\r\n }\r\n get isLoading$() {\r\n return this._isLoading$.asObservable();\r\n }\r\n get isFirstLoading$() {\r\n return this._isFirstLoading$.asObservable();\r\n }\r\n get errorMessage$() {\r\n return this._errorMessage.asObservable();\r\n }\r\n get subscriptions() {\r\n return this._subscriptions;\r\n }\r\n // State getters\r\n get paginator() {\r\n return this._tableState$.value.paginator;\r\n }\r\n get filter() {\r\n return this._tableState$.value.filter;\r\n }\r\n get sorting() {\r\n return this._tableState$.value.sorting;\r\n }\r\n get searchTerm() {\r\n return this._tableState$.value.searchTerm;\r\n }\r\n get grouping() {\r\n return this._tableState$.value.grouping;\r\n }\r\n\r\n protected http: HttpClient;\r\n // API URL has to be overrided\r\n API_URL = `${environment.apiUrl}/endpoint`;\r\n constructor(http: HttpClient) {\r\n this.http = http;\r\n }\r\n\r\n // CREATE\r\n // server should return the object with ID\r\n create(item: BaseModel): Observable {\r\n this._isLoading$.next(true);\r\n this._errorMessage.next('');\r\n return this.http.post(this.API_URL, item).pipe(\r\n catchError(err => {\r\n this._errorMessage.next(err);\r\n console.error('CREATE ITEM', err);\r\n return of({ id: undefined });\r\n }),\r\n finalize(() => this._isLoading$.next(false))\r\n );\r\n }\r\n\r\n // READ (Returning filtered list of entities)\r\n find2(tableState: ITableState): Observable> {\r\n const url = this.API_URL + '/';\r\n this._errorMessage.next('');\r\n return this.http.get>(url).pipe(\r\n catchError(err => {\r\n this._errorMessage.next(err);\r\n console.error('FIND ITEMS', err);\r\n return of({ items: [], total: 0 });\r\n })\r\n );\r\n }\r\n\r\n // READ\r\n find(tableState: ITableState): Observable> {\r\n return this.http.get>(this.API_URL).pipe(\r\n catchError(err => {\r\n this._errorMessage.next(err);\r\n console.error('FIND ITEMS', err);\r\n return of({ items: [], total: 0 });\r\n })\r\n )\r\n }\r\n\r\n getItemById(id: number): Observable {\r\n this._isLoading$.next(true);\r\n this._errorMessage.next('');\r\n const url = `${this.API_URL}/${id}`;\r\n return this.http.get(url).pipe(\r\n catchError(err => {\r\n this._errorMessage.next(err);\r\n console.error('GET ITEM BY IT', id, err);\r\n return of({ id: undefined });\r\n }),\r\n finalize(() => this._isLoading$.next(false))\r\n );\r\n }\r\n\r\n // UPDATE\r\n update(item: BaseModel): Observable {\r\n const url = `${this.API_URL}/${item.id}`;\r\n this._isLoading$.next(true);\r\n this._errorMessage.next('');\r\n return this.http.put(url, item).pipe(\r\n catchError(err => {\r\n this._errorMessage.next(err);\r\n console.error('UPDATE ITEM', item, err);\r\n return of(item);\r\n }),\r\n finalize(() => this._isLoading$.next(false))\r\n );\r\n }\r\n\r\n // UPDATE Status\r\n updateStatusForItems(ids: number[], status: number): Observable {\r\n this._isLoading$.next(true);\r\n this._errorMessage.next('');\r\n const body = { ids, status };\r\n const url = this.API_URL + '/updateStatus';\r\n return this.http.put(url, body).pipe(\r\n catchError(err => {\r\n this._errorMessage.next(err);\r\n console.error('UPDATE STATUS FOR SELECTED ITEMS', ids, status, err);\r\n return of([]);\r\n }),\r\n finalize(() => this._isLoading$.next(false))\r\n );\r\n }\r\n\r\n // DELETE\r\n delete(id: any): Observable {\r\n this._isLoading$.next(true);\r\n this._errorMessage.next('');\r\n const url = `${this.API_URL}/${id}`;\r\n return this.http.delete(url).pipe(\r\n catchError(err => {\r\n this._errorMessage.next(err);\r\n console.error('DELETE ITEM', id, err);\r\n return of({});\r\n }),\r\n finalize(() => this._isLoading$.next(false))\r\n );\r\n }\r\n\r\n // delete list of items\r\n deleteItems(ids: number[] = []): Observable {\r\n this._isLoading$.next(true);\r\n this._errorMessage.next('');\r\n const url = this.API_URL + '/deleteItems';\r\n const body = { ids };\r\n return this.http.put(url, body).pipe(\r\n catchError(err => {\r\n this._errorMessage.next(err);\r\n console.error('DELETE SELECTED ITEMS', ids, err);\r\n return of([]);\r\n }),\r\n finalize(() => this._isLoading$.next(false))\r\n );\r\n }\r\n\r\n public fetch(params =\"\") {\r\n this._isLoading$.next(true);\r\n this._errorMessage.next('');\r\n\r\n const request = this.find(this._tableState$.value)\r\n .pipe(\r\n tap((res: TableResponseModel) => {\r\n this._items$.next(res.items);\r\n this.patchStateWithoutFetch({\r\n paginator: this._tableState$.value.paginator.recalculatePaginator(\r\n res.total\r\n ),\r\n });\r\n }),\r\n catchError((err) => {\r\n this._errorMessage.next(err);\r\n return of({\r\n items: [],\r\n total: 0\r\n });\r\n }),\r\n finalize(() => {\r\n this._isLoading$.next(false);\r\n const itemIds = this._items$.value.map((el: T) => {\r\n const item = (el as unknown) as BaseModel;\r\n return item.id;\r\n });\r\n this.patchStateWithoutFetch({\r\n grouping: this._tableState$.value.grouping.clearRows(itemIds),\r\n });\r\n })\r\n )\r\n .subscribe();\r\n this._subscriptions.push(request);\r\n }\r\n\r\n public setDefaults() {\r\n this.patchStateWithoutFetch({ filter: {} });\r\n this.patchStateWithoutFetch({ sorting: new SortState() });\r\n this.patchStateWithoutFetch({ grouping: new GroupingState() });\r\n this.patchStateWithoutFetch({ searchTerm: '' });\r\n this.patchStateWithoutFetch({\r\n paginator: new PaginatorState()\r\n });\r\n this._isFirstLoading$.next(true);\r\n this._isLoading$.next(true);\r\n this._tableState$.next(DEFAULT_STATE);\r\n this._errorMessage.next('');\r\n }\r\n\r\n // Base Methods\r\n public patchState(patch: Partial) {\r\n this.patchStateWithoutFetch(patch);\r\n this.fetch();\r\n }\r\n\r\n public patchStateWithoutFetch(patch: Partial) {\r\n const newState = Object.assign(this._tableState$.value, patch);\r\n this._tableState$.next(newState);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { AuthGuard } from './modules/auth/_services/auth.guard';\r\n\r\nexport const routes: Routes = [\r\n {\r\n path: 'auth',\r\n loadChildren: () =>\r\n import('./modules/auth/auth.module').then((m) => m.AuthModule),\r\n },\r\n {\r\n path: 'error',\r\n loadChildren: () =>\r\n import('./modules/errors/errors.module').then((m) => m.ErrorsModule),\r\n },\r\n {\r\n path: '',\r\n canActivate: [AuthGuard],\r\n data: {\r\n permission: ''\r\n },\r\n loadChildren: () =>\r\n import('./pages/layout.module').then((m) => m.LayoutModule),\r\n },\r\n { path: '**', redirectTo: 'error/404' },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forRoot(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class AppRoutingModule { }\r\n","import {\r\n Component,\r\n HostListener,\r\n ChangeDetectionStrategy,\r\n OnDestroy,\r\n OnInit,\r\n} from '@angular/core';\r\nimport { TranslationService } from './modules/i18n/translation.service';\r\n// language list\r\n//import { locale as enLang } from './modules/i18n/vocabs/en';\r\nimport { locale as enLang } from './modules/i18n/vocabs/es'; \r\nimport { SplashScreenService } from './_metronic/partials/layout/splash-screen/splash-screen.service';\r\nimport { Router, NavigationEnd, NavigationError } from '@angular/router';\r\nimport { Subscription } from 'rxjs';\r\nimport { TableExtendedService } from './_metronic/shared/crud-table';\r\nimport { environment } from '../environments/environment';\r\nimport { HelperServices } from '../app/pages/_services/helper.services';\r\nimport { Config } from '../app/pages/_models/config.model';\r\nimport { LayoutService } from '../app/_metronic/core/';\r\n\r\n@Component({\r\n // tslint:disable-next-line:component-selector\r\n selector: 'body[root]',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.scss'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\nexport class AppComponent implements OnInit, OnDestroy {\r\n private unsubscribe: Subscription[] = []; // Read more: => https://brianflove.com/2016/12/11/anguar-2-unsubscribe-observables/\r\n private params: Config;\r\n\r\n \r\n @HostListener('contextmenu', ['$event'])\r\n onRightClick(event: MouseEvent) {\r\n if(environment.contexmenu){\r\n event.preventDefault(); // Previene el comportamiento predeterminado del clic derecho\r\n }\r\n }\r\n\r\n constructor(\r\n private translationService: TranslationService,\r\n private splashScreenService: SplashScreenService,\r\n private router: Router,\r\n private tableService: TableExtendedService,\r\n private layout: LayoutService,\r\n private helperServices: HelperServices\r\n \r\n ) {\r\n // register translations\r\n this.translationService.loadTranslations(\r\n enLang,\r\n //chLang,\r\n //esLang,\r\n //jpLang,\r\n //deLang,\r\n //frLang\r\n );\r\n }\r\n\r\n async ngOnInit() {\r\n document.documentElement.lang = navigator.language;\r\n const routerSubscription = this.router.events.subscribe(async (event) => {\r\n if (event instanceof NavigationEnd) {\r\n // clear filtration paginations and others\r\n this.tableService.setDefaults();\r\n \r\n // hide splash screen\r\n this.splashScreenService.hide();\r\n\r\n // scroll to top on every route change\r\n window.scrollTo(0, 0);\r\n\r\n\r\n // oForzado de reload\r\n this.router.routeReuseStrategy.shouldReuseRoute = function(){\r\n return false;\r\n }\r\n \r\n // oForzado de reload\r\n this.router.events.subscribe((evt) => {\r\n if (evt instanceof NavigationEnd) {\r\n // trick the Router into believing it's last link wasn't previously loaded\r\n this.router.navigated = false;\r\n // if you need to scroll back to top, here is the right place\r\n window.scrollTo(0, 0);\r\n }\r\n });\r\n\r\n // to display back the body content\r\n setTimeout(() => {\r\n document.body.classList.add('page-loaded');\r\n }, 500);\r\n }\r\n \r\n });\r\n\r\n await this.helperServices.getConfig().then( x => {\r\n this.params = x[0];\r\n localStorage.setItem(\"params\", JSON.stringify( this.params ));\r\n document.title = this.params.CompaniaAplicacion || environment.title;\r\n });\r\n\r\n this.unsubscribe.push(routerSubscription);\r\n }\r\n\r\n get p() {\r\n return this.params;\r\n }\r\n\r\n ngOnDestroy() {\r\n this.unsubscribe.forEach((sb) => sb.unsubscribe());\r\n }\r\n}\r\n","\r\n\r\n","import { NgModule, APP_INITIALIZER } from '@angular/core';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { HttpClientInMemoryWebApiModule } from 'angular-in-memory-web-api';\r\nimport { ClipboardModule } from 'ngx-clipboard';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\nimport { InlineSVGModule } from 'ng-inline-svg';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { AppRoutingModule } from './app-routing.module';\r\nimport { AppComponent } from './app.component';\r\nimport { AuthService } from './modules/auth/_services/auth.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport { FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\r\n// Highlight JS\r\nimport { HighlightModule, HIGHLIGHT_OPTIONS } from 'ngx-highlightjs';\r\nimport { SplashScreenModule } from './_metronic/partials/layout/splash-screen/splash-screen.module';\r\n// #fake-start#\r\nimport { FakeAPIService } from './_fake/fake-api.service';\r\nimport { ListInsuranceComponent } from './pages/list-insurance/list-insurance.component';\r\nimport { X } from '@angular/cdk/keycodes';\r\nimport { InputCurrencyMaskModule } from 'input-currency-mask';\r\n// #fake-end#\r\n\r\nfunction appInitializer(authService: AuthService) {\r\n\r\n\r\n\r\n //\r\n return () => {\r\n return new Promise((resolve) => {\r\n authService.getUserByToken().subscribe().add(resolve);\r\n });\r\n };\r\n}\r\n\r\n@NgModule({\r\n declarations: [AppComponent, ListInsuranceComponent],\r\n imports: [\r\n FormsModule,\r\n ReactiveFormsModule,\r\n BrowserModule,\r\n BrowserAnimationsModule,\r\n SplashScreenModule,\r\n TranslateModule.forRoot(),\r\n HttpClientModule,\r\n HighlightModule,\r\n ClipboardModule,\r\n InputCurrencyMaskModule,\r\n NgbModule,\r\n // #fake-start#\r\n environment.isMockEnabled\r\n ? HttpClientInMemoryWebApiModule.forRoot(FakeAPIService, {\r\n passThruUnknownUrl: true,\r\n dataEncapsulation: false,\r\n })\r\n : [],\r\n // #fake-end#\r\n AppRoutingModule,\r\n InlineSVGModule.forRoot(),\r\n ],\r\n providers: [\r\n {\r\n provide: APP_INITIALIZER,\r\n useFactory: appInitializer,\r\n multi: true,\r\n deps: [AuthService],\r\n },\r\n {\r\n provide: HIGHLIGHT_OPTIONS,\r\n useValue: {\r\n coreLibraryLoader: () => import('highlight.js/lib/core'),\r\n languages: {\r\n xml: () => import('highlight.js/lib/languages/xml'),\r\n typescript: () => import('highlight.js/lib/languages/typescript'),\r\n scss: () => import('highlight.js/lib/languages/scss'),\r\n json: () => import('highlight.js/lib/languages/json')\r\n },\r\n },\r\n },\r\n\r\n ],\r\n bootstrap: [AppComponent],\r\n})\r\nexport class AppModule { }\r\n","import { Injectable } from '@angular/core';\r\nimport { Observable, of } from 'rxjs';\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { UserModel, NewUserModel } from '../../_models/user.model';\r\nimport { environment } from '../../../../../environments/environment';\r\nimport { AuthModel, PassChange } from '../../_models/auth.model';\r\nimport { MenuPermission } from '../../_models/menupermission.model';\r\nimport { Config } from \"../../../../pages/_models/config.model\"\r\n\r\nconst API_USERS_URL = `${environment.apiUrl}/Entidad/get_login?`;\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuthHTTPService {\r\n apiUrls = {\r\n getLogin : `${environment.url}/${environment.apiUrl}/Entidad/get_login?`,\r\n getUserInfo : `${environment.url}/${environment.apiUrl}/Entidad/get_user_info?`,\r\n createUser : `${environment.url}/${environment.apiUrl}/Entidad/post_solicitud_usuario?`,\r\n createUser2: `${environment.url}/${environment.apiUrl}/Entidad/post_crear_usuario_corredor?`,\r\n forgotPassword: `${environment.url}/${environment.apiUrl}/Entidad/get_codigo_cambio_clave?`,\r\n forgotPassword2: `${environment.url}/${environment.apiUrl}/Entidad/get_codigo_cambio_clave_usuario?`,\r\n changePassword: `${environment.url}/${environment.apiUrl}/Entidad/post_cambio_clave`,\r\n changePassword2: `${environment.url}/${environment.apiUrl}/Entidad/post_cambio_clave_usuario`,\r\n getMenuPermission : `${environment.url}/${environment.apiUrl}/Entidad/get_permiso_menu?`,\r\n getLinkPagos : `${environment.url}/${environment.apiUrl}/Producer/get_link_pagos?`,\r\n getAuthByCode : `${environment.url}/${environment.apiUrl}/Entidad/get_login_email_telefono?`,\r\n getValidateInsured: `${environment.url}/${environment.apiUrl}/Entidad/get_validar_asegurado?`,\r\n getTermAndCondition : `${environment.url}/${environment.apiUrl}/Generico/get_terminoscondiciones?`,\r\n createInsuredUser : `${environment.url}/${environment.apiUrl}/Entidad/crear_usuario_asegurado?`,\r\n contactInsured: `${environment.url}/${environment.apiUrl}/Entidad/set_asegurado_contactar?`,\r\n }\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n // public methods\r\n login(email: string, password: string): Observable {\r\n let formData = new FormData();\r\n formData.append(\"Usuario\", email);\r\n formData.append(\"Clave\", password);\r\n return this.http.post(this.apiUrls.getLogin, formData);\r\n }\r\n\r\n code2f(id:string, code: string): Observable {\r\n let formData = new FormData();\r\n formData.append(\"IdCodigoLogin\", id);\r\n formData.append(\"Codigo\", code);\r\n return this.http.post(this.apiUrls.getAuthByCode, formData);\r\n}\r\n\r\n createUser(user: NewUserModel): Observable {\r\n var form = new FormData();\r\n form.append(\"data\", JSON.stringify([user]));\r\n return this.http.post(this.apiUrls.createUser, form);\r\n }\r\n\r\n createUserMode2(data, httpHeaders): Observable {\r\n return this.http.post(this.apiUrls.createUser2, data, {headers: httpHeaders});\r\n }\r\n\r\n createInsuredUser(data, httpHeaders): Observable {\r\n let formData = new FormData();\r\n formData.append(\"IdEntidad\", data.IdEntidad);\r\n formData.append(\"IdTerminosCondiciones\", data.IdTerminosCondiciones);\r\n return this.http.post(this.apiUrls.createInsuredUser, formData, {headers: httpHeaders});\r\n }\r\n\r\n contactInsured(data, httpHeaders): Observable {\r\n let formData = new FormData();\r\n formData.append(\"Identificacion\", data.Identificacion);\r\n formData.append(\"Telefono\", data.Telefono);\r\n formData.append(\"Correo\", data.Correo);\r\n return this.http.post(this.apiUrls.contactInsured, formData, {headers: httpHeaders});\r\n }\r\n\r\n getValidateInsured(id: string = \"\", httpHeaders): Observable {\r\n return this.http.get(this.apiUrls.getValidateInsured + `Identificacion=${id}`, {headers: httpHeaders});\r\n }\r\n\r\n // Your server should check email => If email exists send link to the user and return true | If email doesn't exist return false\r\n forgotPassword(email: string): Observable {\r\n return this.http.get(this.apiUrls.forgotPassword + \"usuario=\" + email);\r\n }\r\n\r\n forgotPasswordMode2(httpHeaders): Observable {\r\n return this.http.get(this.apiUrls.forgotPassword2, {headers: httpHeaders});\r\n }\r\n\r\n changePassword(data: FormData): Observable {\r\n return this.http.post(this.apiUrls.changePassword, data);\r\n }\r\n\r\n changePasswordMode2(data: FormData, httpHeaders): Observable {\r\n return this.http.post(this.apiUrls.changePassword2, data, {headers: httpHeaders});\r\n }\r\n\r\n getTermAndCondition(httpHeaders): Observable {\r\n return this.http.get(this.apiUrls.getTermAndCondition, {headers: httpHeaders});\r\n }\r\n\r\n getUserByToken(httpHeaders): Observable {\r\n return this.http.get(this.apiUrls.getUserInfo, {\r\n headers: httpHeaders,\r\n });\r\n }\r\n\r\n getMenuPermission(httpHeaders): Observable {\r\n return this.http.get(this.apiUrls.getMenuPermission, {\r\n headers: httpHeaders,\r\n });\r\n }\r\n\r\n getLinkPagos(httpHeaders): Observable {\r\n return this.http.get(this.apiUrls.getLinkPagos, {\r\n headers: httpHeaders,\r\n });\r\n }\r\n/*\r\n // READ\r\n async getMenuPermission(paramsGet: string = \"\", httpHeaders) {\r\n return await this.http.get(this.apiUrls.getMenuPermission + paramsGet, {headers: httpHeaders}).toPromise();\r\n }\r\n*/\r\n\r\n}\r\n","// #fake-start#\r\n//export { AuthHTTPService } from './fake/auth-fake-http.service'; // You have to comment this, when your real back-end is done\r\n// #fake-end#\r\n\r\n// #real-start#\r\nexport { AuthHTTPService } from './auth-http.service'; // You have to uncomment this, when your real back-end is done\r\n// #real-end#\r\n","import { Injectable } from '@angular/core';\r\nimport {\r\n Router,\r\n CanActivate,\r\n ActivatedRouteSnapshot,\r\n RouterStateSnapshot,\r\n} from '@angular/router';\r\nimport { AuthService } from './auth.service';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AuthGuard implements CanActivate {\r\n constructor(private authService: AuthService) {}\r\n\r\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\r\n const currentUser = this.authService.currentUserValue;\r\n \r\n if (currentUser) {\r\n const permissionMenu = this.authService.permissionMenu;\r\n const permission = parseInt((typeof(permissionMenu[route.data.permission]) != \"undefined\") ? permissionMenu[route.data.permission] : 1);\r\n\r\n if(permission === 2) {\r\n this.authService.home();\r\n return false;\r\n }\r\n\r\n // logged in so return true\r\n return true;\r\n }\r\n\r\n // not logged in so redirect to login page with the return url\r\n this.authService.logout();\r\n return false;\r\n }\r\n}\r\n","import { Injectable, OnDestroy } from '@angular/core';\r\nimport { HttpHeaders } from '@angular/common/http';\r\nimport { Observable, BehaviorSubject, of, Subscription, Subject } from 'rxjs';\r\nimport { map, catchError, switchMap, finalize } from 'rxjs/operators';\r\nimport { UserModel, NewUserModel, UserLoginModel} from '../_models/user.model';\r\nimport { AuthModel, PassChange } from '../_models/auth.model';\r\nimport { AuthHTTPService } from './auth-http';\r\nimport { environment } from 'src/environments/environment';\r\nimport { Router } from '@angular/router';\r\nimport { JwtHelperService } from '@auth0/angular-jwt';\r\n/*\r\n// npm install crypto-js --force\r\nimport * as CryptoJS from 'crypto-js';\r\nimport {AES, enc } from 'crypto-ts';\r\nimport { Buffer } from 'buffer';\r\n*/\r\n//import _ from 'highlight.js/lib/languages/*';\r\n\r\nconst jwt = new JwtHelperService();\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class AuthService implements OnDestroy {\r\n\r\n // private fields\r\n private unsubscribe: Subscription[] = []; // Read more: => https://brianflove.com/2016/12/11/anguar-2-unsubscribe-observables/\r\n private authLocalStorageToken = `${environment.appVersion}-${environment.USERDATA_KEY}`;\r\n\r\n // public fields\r\n permissionMenu$: Observable;\r\n currentUser$: Observable;\r\n isLoading$: Observable;\r\n currentUserSubject: BehaviorSubject;\r\n permissionMenuSubject: BehaviorSubject;\r\n isDobleFactor: boolean = false;\r\n private secretKey = '';\r\n\r\n isLoadingSubject: BehaviorSubject;\r\n auth: any;\r\n httpHeaders: HttpHeaders;\r\n\r\n constructor(\r\n private authHttpService: AuthHTTPService,\r\n private router: Router\r\n\r\n ) {\r\n this.initHttHeaders();\r\n this.secretKey = environment.secretKey;\r\n this.isLoadingSubject = new BehaviorSubject(false);\r\n this.currentUserSubject = new BehaviorSubject(undefined);\r\n this.permissionMenuSubject = new BehaviorSubject(undefined);\r\n\r\n this.currentUser$ = this.currentUserSubject.asObservable();\r\n this.isLoading$ = this.isLoadingSubject.asObservable();\r\n this.permissionMenu$ = this.permissionMenuSubject.asObservable();\r\n const subscr = this.getUserByToken().subscribe();\r\n \r\n this.unsubscribe.push(subscr);\r\n }\r\n\r\n get currentUserValue(): UserModel {\r\n return this.currentUserSubject.value;\r\n }\r\n\r\n set currentUserValue(user: UserModel) {\r\n this.currentUserSubject.next(user);\r\n }\r\n\r\n get permissionMenu() {\r\n return this.permissionMenuSubject.value;\r\n }\r\n\r\n permissionMenuOb() {\r\n return this.permissionMenuSubject.asObservable();\r\n }\r\n\r\n token() {\r\n return this.getAuthFromLocalStorage().accessToken || \"\";\r\n }\r\n\r\n decodeToken(accessToken) {\r\n return jwt.decodeToken(accessToken || \"\");\r\n }\r\n \r\n initHttHeaders() {\r\n try {\r\n this.httpHeaders = new HttpHeaders({\r\n Authorization: `Bearer ` + this.token(),\r\n });\r\n }\r\n catch{\r\n }\r\n }\r\n\r\n // public methods\r\n login2f(email: string, password: string): Observable {\r\n\r\n this.isLoadingSubject.next(true);\r\n return this.authHttpService.login(email, password).pipe(\r\n map(async (_auth: any) => {\r\n const permissionMenu = localStorage.setItem(\"permissionMenu\", JSON.stringify( [_auth.permisoMenu] ));\r\n this.permissionMenuSubject = new BehaviorSubject([_auth.permisoMenu][0]);\r\n this.isDobleFactor = _auth.idAplicaDobleFactor;\r\n\r\n if(_auth.idAplicaDobleFactor == 1) {\r\n this.auth = { \r\n id: null,\r\n accessToken: null,\r\n refreshToken: null,\r\n expiresIn: null,\r\n role: null,\r\n primarygroupsid: null,\r\n primarysid: null,\r\n idAplicaDobleFactor: _auth.idAplicaDobleFactor\r\n };\r\n\r\n const result = this.setAuthFromLocalStorage(this.auth);\r\n return { \"idAplicaDobleFactor\" : _auth.idAplicaDobleFactor, \"id\" : _auth.dobleFactor[0].CodigoLogin };\r\n }\r\n else {\r\n const token = this.decodeToken(_auth.jwtToken);\r\n this.auth = { \r\n id: _auth.jwtToken,\r\n accessToken: _auth.jwtToken,\r\n refreshToken: _auth.refreshToken,\r\n expiresIn: new Date(token.exp * 1000), //new Date(Date.now() + 100 * 24 * 60 * 60 * 1000)\r\n role: token.role,\r\n primarygroupsid: token.primarygroupsid,\r\n primarysid: token.primarysid,\r\n idAplicaDobleFactor: _auth.idAplicaDobleFactor\r\n };\r\n\r\n const result = this.setAuthFromLocalStorage(this.auth);\r\n return { \"idAplicaDobleFactor\" : _auth.idAplicaDobleFactor, \"id\" : 0 };\r\n }\r\n }),\r\n //switchMap(() => this.getUserByToken()),\r\n //switchMap(() => this.getIs2Factor(),\r\n /*catchError((err) => {\r\n //console.error('login2f err', err);\r\n return of(undefined);\r\n }),*/\r\n finalize(() => this.isLoadingSubject.next(false))\r\n );\r\n }\r\n\r\n code2f(id: string, code: string): Observable {\r\n this.isLoadingSubject.next(true);\r\n return this.authHttpService.code2f(id, code).pipe(\r\n map(async (_auth: any) => {\r\n const token = this.decodeToken(_auth.jwtToken);\r\n this.auth = { \r\n id: _auth.jwtToken,\r\n accessToken: _auth.jwtToken,\r\n refreshToken: _auth.refreshToken,\r\n expiresIn: new Date(token.exp * 1000), //new Date(Date.now() + 100 * 24 * 60 * 60 * 1000)\r\n role: token.role,\r\n primarygroupsid: token.primarygroupsid,\r\n primarysid: token.primarysid\r\n };\r\n \r\n const result = this.setAuthFromLocalStorage(this.auth);\r\n return result;\r\n }),\r\n switchMap(() => this.getUserByToken()),\r\n catchError((err) => {\r\n console.error('code2f err', err);\r\n return of(undefined);\r\n }),\r\n finalize(() => this.isLoadingSubject.next(false))\r\n );\r\n }\r\n\r\n // public methods\r\n login(email: string, password: string): Observable {\r\n this.isLoadingSubject.next(true);\r\n return this.authHttpService.login(email, password).pipe(\r\n map(async (_auth: any) => {\r\n const permissionMenu = localStorage.setItem(\"permissionMenu\", JSON.stringify( [_auth.permisoMenu] ));\r\n \r\n const token = this.decodeToken(_auth.jwtToken);\r\n this.auth = { \r\n id: _auth.jwtToken,\r\n accessToken: _auth.jwtToken,\r\n refreshToken: _auth.refreshToken,\r\n expiresIn: new Date(token.exp * 1000), //new Date(Date.now() + 100 * 24 * 60 * 60 * 1000)\r\n role: token.role,\r\n primarygroupsid: token.primarygroupsid,\r\n primarysid: token.primarysid\r\n };\r\n\r\n const result = this.setAuthFromLocalStorage(this.auth);\r\n\r\n this.permissionMenuSubject = new BehaviorSubject([_auth.permisoMenu][0]);\r\n return result;\r\n }),\r\n switchMap(() => this.getUserByToken()),\r\n //switchMap(() => this.isDobleFactor(),\r\n catchError((err) => {\r\n console.error('err', err);\r\n return of(undefined);\r\n }),\r\n finalize(() => this.isLoadingSubject.next(false))\r\n );\r\n }\r\n\r\n validateInsured(code: string): Observable {\r\n this.isLoadingSubject.next(true);\r\n\r\n return this.authHttpService.getValidateInsured(code, this.httpHeaders).pipe(\r\n map((response: any) => {\r\n if(response) {\r\n \r\n console.log(response);\r\n }\r\n return response;\r\n }),\r\n catchError((err) => {\r\n console.error('err', err);\r\n return of(undefined);\r\n }),\r\n finalize(() => this.isLoadingSubject.next(false))\r\n );\r\n }\r\n\r\n termAndCondition(id: number =0): Observable {\r\n this.isLoadingSubject.next(true);\r\n\r\n return this.authHttpService.getTermAndCondition(this.httpHeaders).pipe(\r\n map((response: any) => {\r\n if(response) {\r\n console.log(response);\r\n }\r\n return response;\r\n }),\r\n catchError((err) => {\r\n console.error('err', err);\r\n return of(undefined);\r\n }),\r\n finalize(() => this.isLoadingSubject.next(false))\r\n );\r\n }\r\n\r\n \r\n\r\n createInsuredUser(data): Observable {\r\n this.isLoadingSubject.next(true);\r\n\r\n return this.authHttpService.createInsuredUser(data, this.httpHeaders).pipe(\r\n map((response: any) => {\r\n if(response) {\r\n console.log(response);\r\n }\r\n return response;\r\n }),\r\n catchError((err) => {\r\n console.error('err', err);\r\n return of(undefined);\r\n }),\r\n finalize(() => this.isLoadingSubject.next(false))\r\n )\r\n }\r\n\r\n contactInsured(data): Observable {\r\n this.isLoadingSubject.next(true);\r\n\r\n return this.authHttpService.contactInsured(data, this.httpHeaders).pipe(\r\n map((response: any) => {\r\n if(response) {\r\n console.log(response);\r\n }\r\n return response;\r\n }),\r\n catchError((err) => {\r\n console.error('err', err);\r\n return of(undefined);\r\n }),\r\n finalize(() => this.isLoadingSubject.next(false))\r\n )\r\n }\r\n\r\n getIs2Factor() : Observable{\r\n return of( undefined );\r\n }\r\n\r\n home() {\r\n this.router.navigate(['/home']);\r\n }\r\n\r\n logout(message = \"\") {\r\n localStorage.removeItem(this.authLocalStorageToken);\r\n this.router.navigate(['/auth/login?user=invalid'], {\r\n queryParams: {},\r\n });\r\n }\r\n\r\n getUserByToken(): Observable {\r\n const auth = this.getAuthFromLocalStorage();\r\n var user : any;\r\n\r\n if (!auth || !auth.accessToken) {\r\n return of(undefined);\r\n }\r\n this.isLoadingSubject.next(true);\r\n\r\n this.httpHeaders = new HttpHeaders({\r\n Authorization: `Bearer ` + auth.accessToken,\r\n });\r\n\r\n return this.authHttpService.getUserByToken(this.httpHeaders).pipe(\r\n map((_user: any) => {\r\n \r\n if (_user[0]) {\r\n var fullname = _user[0].NombreCompleto.split(' ');\r\n user = {\r\n role : parseInt(auth.role.toString()),\r\n id : _user[0].IdVinculo,\r\n fullname : _user[0].NombreCompleto,\r\n firstname : fullname[0] || _user[0].NombreCompleto,\r\n lastname : fullname[1] || '',\r\n vinculo : _user[0].Vinculo,\r\n isAdmin: _user[0].IdEsAdministrador,\r\n idAplicaDobleFactor: this.isDobleFactor\r\n };\r\n this.currentUserSubject = new BehaviorSubject(user);\r\n this.permissionMenuSubject = new BehaviorSubject( JSON.parse(localStorage.getItem(\"permissionMenu\"))[0] )\r\n } else {\r\n this.logout();\r\n }\r\n return user;\r\n }),\r\n finalize(() => this.isLoadingSubject.next(false))\r\n );\r\n }\r\n\r\n // need create new user then login\r\n registration(user: NewUserModel): Observable {\r\n this.isLoadingSubject.next(true);\r\n return this.authHttpService.createUser(user).pipe(\r\n map((response) => {\r\n this.isLoadingSubject.next(false);\r\n return response;\r\n }),\r\n //switchMap(() => this.login(user.email, user.password)),\r\n catchError((err) => {\r\n console.error('err', err);\r\n return of(undefined);\r\n }),\r\n\r\n finalize(() => this.isLoadingSubject.next(false))\r\n );\r\n }\r\n\r\n // need create new user then login\r\n createUserMode2(user: any): Observable {\r\n this.isLoadingSubject.next(true);\r\n var form = new FormData();\r\n form.append(\"Usuario\", user.Email);\r\n form.append(\"Clave\", user.Clave);\r\n return this.authHttpService.createUserMode2(form, this.httpHeaders).pipe(\r\n map((response) => {\r\n this.isLoadingSubject.next(false);\r\n return response;\r\n }),\r\n //switchMap(() => this.login(user.email, user.password)),\r\n catchError((err) => {\r\n console.error('err', err);\r\n return of(undefined);\r\n }),\r\n\r\n finalize(() => this.isLoadingSubject.next(false))\r\n );\r\n }\r\n\r\n forgotPassword(email: string): Observable {\r\n this.isLoadingSubject.next(true);\r\n return this.authHttpService\r\n .forgotPassword(email)\r\n .pipe(finalize(() => this.isLoadingSubject.next(false)));\r\n }\r\n\r\n forgotPasswordMode2(email: string = \"\"): Observable {\r\n this.isLoadingSubject.next(true);\r\n return this.authHttpService\r\n .forgotPasswordMode2(this.httpHeaders)\r\n .pipe(finalize(() => this.isLoadingSubject.next(false)));\r\n }\r\n\r\n changePassword(code: string, email:string, password: string): Observable {\r\n var data = new FormData();\r\n data.append(\"usuario\", email);\r\n data.append(\"clave\", password);\r\n this.isLoadingSubject.next(true);\r\n return this.authHttpService\r\n .changePassword(data)\r\n .pipe(finalize(() => this.isLoadingSubject.next(false)));\r\n }\r\n\r\n changePasswordMode2(code: string, email:string, password: string): Observable {\r\n var data = new FormData();\r\n data.append(\"usuario\", email);\r\n data.append(\"clave\", password);\r\n\r\n this.isLoadingSubject.next(true);\r\n return this.authHttpService\r\n .changePasswordMode2(data, this.httpHeaders)\r\n .pipe(finalize(() => this.isLoadingSubject.next(false)));\r\n }\r\n\r\n // private methods\r\n private setAuthFromLocalStorage(auth: AuthModel): boolean {\r\n // store auth accessToken/refreshToken/epiresIn in local storage to keep user logged in between page refreshes\r\n if (auth && auth.accessToken) {\r\n localStorage.setItem(this.authLocalStorageToken, JSON.stringify(auth));\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n private getAuthFromLocalStorage(): AuthModel {\r\n try {\r\n const authData = JSON.parse(\r\n localStorage.getItem(this.authLocalStorageToken)\r\n );\r\n return authData;\r\n } catch (error) {\r\n console.error(error);\r\n return undefined;\r\n }\r\n }\r\n\r\n public get_local_user(username) {\r\n return JSON.parse(localStorage.getItem(username));\r\n }\r\n \r\n\r\n ngOnDestroy() {\r\n this.unsubscribe.forEach((sb) => sb.unsubscribe());\r\n }\r\n}\r\n","// Localization is based on '@ngx-translate/core';\r\n// Please be familiar with official documentations first => https://github.com/ngx-translate/core\r\n\r\nimport { Injectable } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\nexport interface Locale {\r\n lang: string;\r\n data: any;\r\n}\r\n\r\nconst LOCALIZATION_LOCAL_STORAGE_KEY = 'language';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class TranslationService {\r\n // Private properties\r\n private langIds: any = [];\r\n\r\n constructor(private translate: TranslateService) {\r\n // add new langIds to the list\r\n this.translate.addLangs(['en']);\r\n\r\n // this language will be used as a fallback when a translation isn't found in the current language\r\n this.translate.setDefaultLang('en');\r\n }\r\n\r\n loadTranslations(...args: Locale[]): void {\r\n const locales = [...args];\r\n\r\n locales.forEach((locale) => {\r\n // use setTranslation() with the third argument set to true\r\n // to append translations instead of replacing them\r\n this.translate.setTranslation(locale.lang, locale.data, true);\r\n\r\n this.langIds.push(locale.lang);\r\n });\r\n\r\n // add new languages to the list\r\n this.translate.addLangs(this.langIds);\r\n }\r\n\r\n setLanguage(lang) {\r\n if (lang) {\r\n this.translate.use(this.translate.getDefaultLang());\r\n this.translate.use(lang);\r\n localStorage.setItem(LOCALIZATION_LOCAL_STORAGE_KEY, lang);\r\n }\r\n }\r\n\r\n /**\r\n * Returns selected language\r\n */\r\n getSelectedLanguage(): any {\r\n return (\r\n localStorage.getItem(LOCALIZATION_LOCAL_STORAGE_KEY) ||\r\n this.translate.getDefaultLang()\r\n );\r\n }\r\n}\r\n","import { P, T } from \"@angular/cdk/keycodes\";\r\n\r\n// Spain\r\nexport const locale = {\r\n lang: 'en',\r\n data: {\r\n TRANSLATOR: {\r\n SELECT: 'Elige tu idioma',\r\n AND: 'y',\r\n },\r\n MENU: {\r\n NEW: 'nuevo',\r\n ACTIONS: 'Comportamiento',\r\n CREATE_POST: 'Crear nueva publicación',\r\n PAGES: 'Pages',\r\n FEATURES: 'Caracteristicas',\r\n APPS: 'Aplicaciones',\r\n DASHBOARD: 'INICIO',\r\n INSURANCE: 'PÓLIZAS',\r\n DOCUMENTS: 'DOCUMENTOS',\r\n ACCOUNT_ESTATEMENTS: 'Informes',\r\n DOCUMENT_FORMS: \"Descargar Formularios\",\r\n PAYMENTS: 'PAGOS',\r\n CONTACTUS: 'CONTACTENOS',\r\n REPORTS: \"Informes\",\r\n REQUEST: \"Solicitudes\",\r\n QUOTES: \"Cotizaciones\",\r\n H4FILTER: \"FILTRO DE BÚSQUEDA\",\r\n CLAIMS: \"Reclamos\",\r\n NOTIFY_CLAIMS: \"Notificar Reclamo\",\r\n LIST_CLAIMS: \"Consultar Reclamos\",\r\n SEND_DOCUMENTS_MASSIVE: \"Enviar Documentos Póliza\",\r\n TICKETS: \"Tickets\",\r\n },\r\n HOME: {\r\n WELCOME: 'Bienvenido',\r\n COMISIONXCOBRO: \"Comisión por Cobro\",\r\n PRIMASUSCRITO: \"Prima Suscrito\",\r\n COBRO: \"Cobro\",\r\n SINIESTROS_PAGADOS: \"Siniestros Pagados\",\r\n DESCRIPTIONS: \"Descripción\",\r\n TOTAL: \"Total\"\r\n },\r\n MYPROFILE: {\r\n PROFILE: 'Mi Perfil',\r\n FIRSTNAME: 'Primer Nombre',\r\n SECONDNAME: 'Segundo Nombre',\r\n LASTNAME: 'Primer Apellido',\r\n SECONDLASTNAME: 'Segundo Apellido',\r\n CONTRATANTE: \"Contratante\",\r\n CEDULA: \"Cédula de Identidad\",\r\n PERSONID: \"Cedula|Ruc|Pasaporte\",\r\n RUC: \"RUC\",\r\n GROUP: \"Grupo\",\r\n AREA: \"Sector de Mercado\",\r\n EMAIL: \"Correo\",\r\n PHONE:\"Teléfono\",\r\n PHONE_OFFICE:\"Teléfono de Oficina\",\r\n PHONE_MOBILE: \"Teléfono Móvil\",\r\n ADDRESSES: \"Direcciones\",\r\n ADDRESS_TYPE : \"Tipo de Dirección\",\r\n ADDRESS: \"Dirección\",\r\n ADD_ADDRESS: \"Agregar Dirección\",\r\n A2F: \"Doble Autenticación\",\r\n EDITPROFILE: \"Editar Perfil\",\r\n },\r\n DOCUMENTS: {\r\n HELP_1 : \"Formatos de archivos permitidos: word, excel, pdf, jpg, png. Máximo hasta 20 MB.\",\r\n TYPE: \"Tipo de Documento\",\r\n TYPES: \"Tipos de Documento\",\r\n DOCUMENT: \"Documento\",\r\n SELECT_FILE: \"Seleccionar Archivo\",\r\n CEDULA: \"Cédula\",\r\n PASAPORTE: \"Pasaporte\",\r\n DOWNLOADBLES: \"Descargables\",\r\n UPLOAD_REQUIRED_DOCUMENTS: \"Subir Documentos\",\r\n UPLOAD_REQUIRED_DOCUMENT: \"Subir\",\r\n REQUIRED_DOCUMENTS: \"Documentos Requeridos\",\r\n UPLOADLOADING: \"Cargando documento ...\",\r\n REQUIRED_DOCUMENTS2: \"Debe seleccionar un documento para poder subirlo\",\r\n REQUIRED_DOCUMENTS_LIFE: \"Descargue los documentos requeridos para la emisión. Llenar y enviarlos.\",\r\n UPLOAD_REQUIRED_DOCUMENTS_LIFE:\"Suba los documentos que ha completado y firmado para su debido proceso de emisión.\",\r\n FORM01: \"Formulario conoce tu cliente\",\r\n FORM02: \"Formulario TC o ACH\",\r\n FORM03: \"Copia de cédula o pasaporte\",\r\n FORM04: \"Modelo de carnet digital\",\r\n FORM05: \"Solicitud de vida\",\r\n FORM06: \"Cuestionario de Extranjero\",\r\n },\r\n QUOTES: {\r\n QUOTESCZ: \"Evaluación CZ Vida\",\r\n QUOTESOFLIFE: \"Cotizador de Vida\",\r\n QUOTEID: \"Nro.\\nCotización\",\r\n QUOTE: \"Generar la cotización\",\r\n PRINTDETAILS: \"Imprimir Cotización\",\r\n PRINT: \"Imprimir\",\r\n QUOTETOEMIT: \"Enviar Solicitud\",\r\n QUOTEVIEW: \"Ver Cotización\",\r\n QUOTEDETAILS: \"Detalle de Cotización\",\r\n QUOTESSENDAPPROVAL:\"Enviar Ajuste de recargo\",\r\n APPROVALPOLICIE: \"Aprobar cotización y Emitir póliza\",\r\n NEWQUOTE: \"Nueva Cotización\",\r\n ERROR1: \"Hubo un error al procesar la cotización. Intente nuevamente.\",\r\n REASONOFSURCHARGE: \"Motivo de Recargo\",\r\n HASPOLICIELIFE: \"Cliente mantiene seguro de vida con Acerta\",\r\n },\r\n REPORT: {\r\n REPORT_TYPE: \"Tipo de Reporte\",\r\n REPORT_LIST: \"Lista de Reportes\",\r\n REPORT_BI: \"Reporte BI\",\r\n GENERAL_REPORTS: \"Informes Gerenciales\",\r\n TRANSTYPE: \"Tipo Transacción\",\r\n },\r\n ACCOUNT_ESTATEMENTS: {\r\n ACCOUNT_ESTATEMENTS: \"Informes\",\r\n },\r\n GENERAL: {\r\n HI: \"Hola\",\r\n CONTACT: 'Contacto',\r\n CONTACTS: 'Contactos',\r\n CONTACT_INFO: \"Información de los contactos\", \r\n LISTING_INSURANCE: 'Listado de Pólizas',\r\n LISTING_REQUEST: 'Listado de Solicitudes',\r\n LISTING_CLAIMS: \"Listado de Reclamos\",\r\n POLICY_VIEW: 'Consulta de Póliza',\r\n QUOTE_VIEW: \"Consulta de Cotización\",\r\n DOCUMENTS: 'Documentos',\r\n PAYMENTS: 'Pagos',\r\n CONTACTUS: 'Contactenos',\r\n DOWNLOAD: \"Descargar\",\r\n UPLOAD: \"Subir Documento\",\r\n ACCOUNT_ESTATEMENTS: \"Informes\",\r\n ACCOUNT_ESTATEMENT: \"Informes\",\r\n DOCUMENT_FORMS: \"Descargar Formularios\",\r\n MONTHYEAR: \"Mes y Año\",\r\n REPORTS: \"Informes\",\r\n REPORTPRINT: \"Imprimir\",\r\n REPORT_SOLICITUDES: \"Reporte de Solicitudes Pendientes o en Trámites \",\r\n REPORT_CLAINS: \"Reporte de Reclamos Pendientes\",\r\n REPORT_SALESCOMISSION : \"Reporte de Comisiones\",\r\n REPORT_PAYMENTS : \"Reporte de Pagos Aplicados\",\r\n REPORT_INVOICES: \"Reporte de Listado de Facturación\",\r\n REPORT_DELINQUENCY: \"Reporte de Morosidad\",\r\n LOADING: \"Procesando\",\r\n FORGOTTEN_PASSWORD: \"Olvidé mi contraseña\",\r\n FORGOTTEN_PASSWORD_SUCCESS: \"Información correcta.\",\r\n FORGOTTEN_PASSWORD_SUCCESS_HELP: \"Prontamente recibirá información para recuperar su contraseña.\",\r\n FORGOTTEN_PASSWORD_HELP: \"Ingrese su correo electrónico\",\r\n FORGOTTEN_PASSWORD_ERROR: \"La información ingresada es incorrecta.\",\r\n EMPTY_QUERY: \"No hay información para mostrar.\",\r\n EMPTY_QUERY_SEARCH: \"No hay información para mostrar. Realice una búsqueda filtrada.\",\r\n\r\n BY_DOCUMENT_NAME: \"Nombre de documento\",\r\n VIEWCLAIM : \"Consulta de Reclamo\",\r\n SEND_DOCUMENTS_MASSIVE: \"Enviar Documentos Póliza\",\r\n LOADING2 : \"Cargando información ...\",\r\n ADMIN_PERMISSIONS: \"Administrar de Permisos\",\r\n },\r\n TICKETS: {\r\n LISTING: \"Listado de Tickets\",\r\n TICKETS: \"Tickets\",\r\n TICKET: \"Ticket\",\r\n TICKETS_LIST: \"Listado de Tickets\",\r\n TYPE: \"Tipo\",\r\n STATUS: \"Estatus\",\r\n DATE: \"Fecha\",\r\n ID: \"Nro. de Ticket\",\r\n NEW: \"Nuevo Ticket\",\r\n EDIT: \"Editar Ticket\",\r\n DETAILS: \"Observación\",\r\n STAFF: \"Usuario\",\r\n VIEW: \"Datos de Tickets\",\r\n EMPTY_UPLOAED_FILES: \"No hay archivos cargados\",\r\n DOCUMENTS_UPLOADED: \"Documentos Cargados\",\r\n },\r\n INPUT: {\r\n OPTIONS : \"Opciones\",\r\n CONFIG: \"Configuración\",\r\n SETTING: \"Configuración\",\r\n ENTITY: \"Entidad\",\r\n TERM_REQUIRED: \"Debe aceptar los términos y condiciones para continuar.\",\r\n T: \"-\",\r\n CREATE: \"Crear\",\r\n SEND: \"ENVIAR\",\r\n SELECTALL: \"Seleccionar Todo\",\r\n PROCESS_SELECTED: \"Procesar Selección\",\r\n UNSELECTED: \"Borrar Selección\",\r\n SELECT: \"Seleccionar\",\r\n EMAIL: \"Correo Electrónico\",\r\n SELECTEDS: \"Seleccionados\",\r\n COMPLAINT: \"Querella\",\r\n ACCIDENT_DESCRIPTION: \"Descripción del accidente\",\r\n INSURED_UNIT: \"Unidad Asegurada\",\r\n CLAIM_LOCATION: \"Ubicación del Reclamo\",\r\n ECONOMICGROUP: \"Grupo Económico\",\r\n SELECT_ECONOMICGROUP: \"Seleccione Grupo Económico\",\r\n DONTAPPLY: \"No aplica\",\r\n AGE: \"Edad\",\r\n AGE2: \"Edad Cumplida\",\r\n STATUS: \"Estatus\",\r\n CHANGE: \"Cambiar\",\r\n GENERATE: \"Generar\",\r\n RESET: \"Limpiar\",\r\n VIEW: \"Consultar\",\r\n COMPANIES: \"Compañias\",\r\n RETURN_TO_LIST: \"Regresar\",\r\n FILTER: 'Buscar',\r\n FILTER_BY: 'Buscar Por',\r\n BY_DESCRIPTION: 'Descripción',\r\n BY_POLICY_NUM: 'Nro de Póliza',\r\n BY_STATUS: 'Por Estado',\r\n NUM_CERTIFICATE: \"Nro De Certificado\",\r\n PRODUCT: \"Producto\",\r\n DOWNLOAD: \"Descargar\",\r\n UPLOAD: \"Subir Documento\",\r\n EDIT: \"Editar\",\r\n DELETE: \"Eliminar\",\r\n SUBMIT: \"Enviar\",\r\n CANCEL: \"Cancelar\",\r\n CLOSE: \"Cerrar\",\r\n ALL: 'Todo',\r\n CEDULA: \"Cédula\",\r\n FULLNAME: 'Fullname',\r\n FIRSTNAME: 'Nombre',\r\n MIDDLENAME: 'Segundo Nombre',\r\n LASTNAME: 'Apellido',\r\n PHONE: 'Teléfono',\r\n SECONDLASTNAME: 'Segundo Apellido',\r\n PASSWORD: 'Password',\r\n CONFIRM_PASSWORD: 'Confirm Password',\r\n USERNAME: 'Usuario',\r\n REQUIRED: \"Campo requerido\",\r\n DATE: \"Fecha\",\r\n AGENT: \"Corredor\",\r\n MONTH: \"Mes\",\r\n YEAR: \"Año\",\r\n SALESCOMISSION: \"Comisión Póliza\",\r\n AGENTCOMISSION: \"Comisión Agente\",\r\n GETENDOSO: \"Solicitar Endoso\",\r\n APPLY: \"Aplicar\",\r\n DATESTART: \"Fecha Desde\",\r\n DETEEND: \"Fecha Hasta\",\r\n DETAIL: \"Detalle\",\r\n ERROR_REQUIRED: \"Por favor completar los campos requeridos\",\r\n DENYPROCCESS: \"La solicitud no se pudo procesar\",\r\n INVOICE: \"Factura\",\r\n DATEP: \"Fecha\",\r\n DATEPAYMENT: \"Fecha Pago\",\r\n DATERECIPT: \"Fecha Recibo\",\r\n PERCENT: \"Porcentaje\",\r\n DOCUMENT_TYPE: \"Tipo de Documento\",\r\n DOWNLOAD_PDF: \"Descargar PDF\",\r\n DOWNLOAD_EXCEL: \"Descargar Excel\",\r\n DOWNLOAD_CSV: \"Descargar CSV\",\r\n CODCORREDOR: \"Código de Corredor\",\r\n ADDRESS: \"Dirección\",\r\n CITY: \"Ciudad\",\r\n STATE: \"Provincia\",\r\n ZIP: \"Código Postal\",\r\n CREDITCARD: \"Número de Tarjeta\",\r\n CVV: \"Código CVV\",\r\n EXPIRATION_MONTH: \"Mes\",\r\n EXPIRATION_YEAR: \"Año\",\r\n PERSONID: \"Identificación\",\r\n CARID: \"Placa\",\r\n ENDOSOVIEW:\"Solicitudes de endosos\",\r\n BIRTHDATE: \"Fecha de Nacimiento\",\r\n GENDER: \"Género\",\r\n SMOKER: \"Fumador\",\r\n MOBILE: \"Celular\",\r\n PAYMENTTYPE:\"Tipo de Pago\",\r\n PAYMENTCYCLE: \"Frecuencia de Pago\",\r\n RECHARGE: \"Recargo\",\r\n OCURRENCEDATE: \"Fecha\",\r\n POSTALCODE2: \"Código Posta 2\",\r\n POSTALCODE: \"Código Posta\",\r\n CITYCLAIM: \"Ciudad del Reclamo\",\r\n COUNTRY: \"País\",\r\n SAVE: \"Guardar\",\r\n ENDATE: \"Fecha Corte\",\r\n UPLOAD_REQUIRED_DOCUMENTS: \"Subir Documentos Requeridos\",\r\n BTN_SEARCH_DOCUMENTS: \"Buscar Documento\",\r\n POWER_BI: \"Reporte BI\",\r\n ESTATUS: \"Estatus\",\r\n YES: \"Si\",\r\n NO: \"No\",\r\n CONFIRM: \"Confirmar\",\r\n },\r\n USERS: {\r\n LISTING_USERS: \"Listado de Usuarios\",\r\n USER: \"Usuario\",\r\n NAME: \"Nombre\",\r\n IDNAME: \"Identificación\",\r\n EMAIL: \"Correo Electrónico\",\r\n PHONE: \"Teléfono\",\r\n STATUS: \"Estado\",\r\n VIEW: \"Consultar\",\r\n OPTIONS: \"Opciones\",\r\n ENTITY: \"Entidad\",\r\n ENTITY_ID: \"Id de Entidad\",\r\n ENTITYNAME: \"Nombre de la Entidad\",\r\n ENTITYTYPE: \"Tipo de Entidad\",\r\n LINK_ENTITY: \"Vincular otras PJ\",\r\n INVITE: \"Invitar\",\r\n SEARCH_ENTITY_USERS: \"Buscar Asociados\",\r\n ENTITIES_LINKED: \"Entidades Vinculadas\",\r\n UNLINK: \"Desvincular\",\r\n ACTIVE: \"Activar\",\r\n INACTIVE: \"Desactivar\",\r\n IDENTITY: \"Identificación\",\r\n CHECKTERMANDCONDITIONS: \"Confirmo que he leído y estoy de acuerdo con los \",\r\n TERMSANDCONDITIONS: \"Términos y Condiciones\",\r\n PRIVACY_POLICY: \"Política de Privacidad\",\r\n },\r\n CLAIMS : {\r\n POLICY: \"Póliza\",\r\n CLAIM_LISTING : \"Consultar Reclamos\",\r\n CLAIM_LISTING2 : \"Listado de Reclamos por Póliza\",\r\n CLAIM: \"Reclamo\",\r\n NRCLAIMS: \"Nro de Reclamo\",\r\n NRCLAIMSPREMIUM: \"Nro de Reclamo Primium\",\r\n CLAIM_INFO: \"Información del Reclamo\",\r\n NOTIFYCLAIMS: \"Notificar Reclamo\",\r\n COMPLAINT: \"Querella\",\r\n NOTIFICATION: \"Notificación\",\r\n NUM_NOTIFICATION: \"Nro Notificación\",\r\n AMOUNT_PAID: \"Monto pagado del reclamo\",\r\n AMOUNT_THRID: \"Monto pagado a terceros\",\r\n TRACKING_STATUS: \"Estado de seguimiento del reclamo\",\r\n ORIGIN_CLAIM: \"Origen Reclamo\",\r\n BROKER_NAME: \"Nombre de Corredor\",\r\n FILE_REGISTER: \"Registro\",\r\n PLACE: \"Lugar de Ocurrencia\",\r\n DATE_SUCCESS: \"Fecha Ocurrencia\",\r\n HOUR_SUCCESS: \"Hora Ocurrencia\",\r\n TIME: \"Hora\",\r\n DESCRIPTION: \"Descripción\",\r\n DETAILS: \"Narración de hechos\",\r\n UPLOAD_DOCUMENTS: \"Subir Documentos\",\r\n ERROR_UPLOAD_DOCUMENTS: \"Error al subir documentos\",\r\n UPLOAD: \"Subir\",\r\n DOCUMENTS: \"Documentos\",\r\n UPLOAD_REQUIRED_DOCUMENTS: \"Subir Documentos Requeridos\",\r\n DOCUMENTS_UPLOADED: \"Documentos Cargados\",\r\n EMPTY_UPLOAED_FILES: \"No hay archivos cargados\",\r\n ERROR_UPLOAD_DOCUMENT: \"Error al subir documento\",\r\n STATUS: \"Estado\",\r\n DETAILS2: \"Detalles\",\r\n DATECREATED : \"Fecha Gestión\",\r\n DETAILS3: \"Observación\",\r\n STAFF: \"Operador\",\r\n },\r\n INSURANCE: {\r\n INFO: \"Información de la Póliza\", \r\n CLOSE_CREATE_USER: \"El usuario ha sido creado con éxito.\",\r\n POLICY_NUM : \"Nro de Póliza\",\r\n ROLLOVER: \"Rollover\",\r\n POLICY_INFORMATION: \"Información de Póliza\",\r\n PLACEOFOCURRENCE: \"Lugar de Ocurrencia\",\r\n DATEOFOCURRENCE: \"Fecha Ocurrencia\",\r\n HOUROFOCURRENCE: \"Hora Ocurrencia\",\r\n REQUIREDDOCS: \"Aplica Requisitos\",\r\n INSURED: 'Asegurado',\r\n INFO_INSURED: 'Información del Asegurado',\r\n INSURED_DIRECCION: \"Dirección\",\r\n INFO_CONTRATANTE: \"Información del Contratante\",\r\n CONTRATANTE: \"Contratante\",\r\n CEDULA: \"Cédula de Identidad\",\r\n PERSONID: \"Cédula|Ruc|Pasaporte\",\r\n TELEFONO: \"Teléfono\",\r\n CORREO: \"Correo\",\r\n DIRECCION: \"Dirección\",\r\n CONTRATANTE_PERSONID: \"Cédula|Ruc|Pasaporte\",\r\n CONTRATANTE_EMAIL: \"Correo\",\r\n CONTRATANTE_PHONE:\"Teléfono\",\r\n CONTRATANTE_DIRECCION: \"Dirección\",\r\n INSUREDFULLNAME: 'Asegurado (Nombre Completo)',\r\n SUB_CATEGORY: \"Sub-Ramo\",\r\n CATEGORY: 'Ramo',\r\n BY_STATUS: 'Por Estado',\r\n POLICY: \"Póliza\",\r\n POLICIES: \"Pólizas\",\r\n NUM_POLICY: \"No. De Póliza\",\r\n START: \"Vigencia\",\r\n START_DATE: \"Vigencia Desde\",\r\n DUE_DATE: \"Vigencia Hasta\",\r\n COMPANY: \"Aseguradora\",\r\n OPTIONS: \"Opciones\",\r\n DEDUCIBLE: \"Deducible\",\r\n PRIMA: \"Prima\",\r\n CURRENT_BALANCE : \"Saldo Corriente\",\r\n BALANCE_NOT_DUE: \"Saldo No Vencido\",\r\n INSURED_PAYMENT_MADE: \"Pagos Realizados\",\r\n TOTAL: \"Total\",\r\n STOTAL: \"Saldo Total\",\r\n S30DAYS: \"Saldo 30 Dias\",\r\n S60DAYS: \"Saldo 60 Dias\",\r\n S90DAYS: \"Saldo 90 Dias\",\r\n S120DAYS: \"Saldo 120 Dias\",\r\n S180DAYS: \"Saldo 180 Dias\",\r\n PRIMAYEARLY: \"Prima Anual\",\r\n PRIMAMONTHLY: \"Prima Mensual\",\r\n SUMA_ASEGURADA_POLIZA: \"Suma Asegurada Póliza\",\r\n SUMA_ASEGURADA: \"Suma Asegurada\",\r\n SUMABR_ASEGURADA_INCENDIO: \"Suma Asegurada
Incendio\",\r\n SUMABR_ASEGURADA_CONTENIDO: \"Suma Asegurada
Contenido\",\r\n SUMA_ASEGURADA_INCENDIO: \"Suma Asegurada Incendio\",\r\n SUMA_ASEGURADA_CONTENIDO: \"Suma Asegurada Contenido\",\r\n LOCATION_OF_RISK: \"Ubicación del riesgo\",\r\n QUALIFICATION: \"Porcentaje de clasificación\",\r\n TERM: \"Plazo cobertura años\",\r\n DIVISA: \"Moneda\",\r\n INSURED_INTEREST: \"Interés Asegurado\",\r\n DOCUMENTO: \"Documento\",\r\n DOCUMENTO_NOMBRE: \"Nombre Documento\",\r\n DESCARGA: \"Descarga\",\r\n DEDUCTIBLE: \"Deducible\",\r\n COVERAGE: \"Coverage\",\r\n ACTIVE: \"Activo\",\r\n INACTIVE: \"Inactivo\",\r\n DESCRIPTION: \"Descripción\",\r\n NUM_CERTIFICATE: \"Nro De Certificado\",\r\n CERTIFICATE: \"Certificado\",\r\n UNITY: \"Unidad\",\r\n ENDOSOTYPE: \"Tipo de Endoso\",\r\n CATEGORYDETAIL: \"Detalle por ramo\",\r\n TYPEOFRISK: \"Tipo de Riesgo\",\r\n STATUS: \"Estatus\",\r\n NO_DATA: \"No hay resultados para mostrar.\",\r\n AGENT:\"Agente\",\r\n REQUEST: \"Solicitud\",\r\n REQUEST_TYPE: \"Tipo de Endoso\",\r\n REQUEST_DATE: \"Fecha Solicitud\",\r\n R_DATE: \"F. Solicitud\",\r\n REQUEST_CREATED: \"Fecha Aplicación\",\r\n R_CREATED: \"F. Aplicación\",\r\n HIGH_DATE: \"Fecha Alta\",\r\n LOW_DATE: \"Fecha Baja\",\r\n SURCHARGE: \"Recargo Millar\",\r\n SETPAYMENTYEARS: \"Nro Años Pagos Prima\",\r\n DETAILS: \"Detalle\",\r\n POLICY_GENERAL_CONDITION: \"Ver Condiciones Generales\",\r\n DAYS_PASSED: \"Días Transcurridos\",\r\n DAYS: \"día(s)\",\r\n BRAND: \"Marca\",\r\n MODEL: \"Modelo\",\r\n COUNTRY: \"País\",\r\n CURRENCY: \"Divisa\",\r\n PAYMENT_DETAIL: \"Detalle\",\r\n PAYMENT_FORM: \"Forma de Pago\",\r\n PAYMENT_TYPE: \"Tipo de Pago\",\r\n PAYMENT_DATE: \"Fecha de Transacción\",\r\n REFERENCE: \"Referencia\",\r\n DEBIT: \"Debito\",\r\n CREDIT: \"Credito\",\r\n BALANCE: \"Saldo\",\r\n DETAILFACT: \"Narracion de hecho\",\r\n GENERAL_CONDITIONS: \"Condiciones Generales\",\r\n PROCESS_SELECTED_INSURANCES: \"Procesar Pólizas Selecionadas\",\r\n PROCESS_SELECTED_INSURANCES_CONFIRM: \"¿Está seguro que desea procesar las pólizas seleccionadas?\",\r\n PROCESS_SELECTED_INSURANCES_CLIENTS: \"Los documentos serán enviados a los correos selecionados.\",\r\n \r\n \"QP01\": \"Prima Mensual Básica por Seguro de Vida\",\r\n \"QP02\": \"Recargo Mensual Por Agravación Riesgo\",\r\n \"QP03\": \"Prima Mensual Adicional por Seguro de Vida\",\r\n \"QP04\": \"Prima Mensual Básica por Beneficios Adicionales\",\r\n \"QP05\": \"Prima Mensual Total Nivelada a Pagar por plazo\",\r\n \"QP06\": \"Prima Anual a Pagar Nivelada Por el Plazo\",\r\n \"QP07\": \"Numero de Años Pago de Primas\",\r\n \"QP08\": \"Prima Anual a Pagar según años de Pago\",\r\n \"QP09\": \"Recargo Anual por Forma de Pago\",\r\n \r\n \"QP11\": \"Prima Anual Básica por Seguro de Vida\",\r\n \"QP12\": \"Recargo Por Agravación Riesgo\",\r\n \"QP13\": \"Prima Anual Adicional por Seguro de Vida\",\r\n \"QP14\": \"Prima Anual Básica por Beneficios Adicionales\",\r\n \"QP15\": \"Prima Anual Total Nivelada a Pagar por plazo\",\r\n //\"QP16\": \"Prima MENSUAL a Pagar Nivelada Por el Plazo\",\r\n \"QP16\": \"Prima a Pagar Nivelada Por el Plazo \",\r\n \"QP17\": \"Numero de Años Pago de Primas\",\r\n \"QP18\": \"Prima Anual a Pagar según años de Pago\",\r\n // \"QP19\": \"Prima MENSUAL a Pagar según años de Pago\",\r\n \"QP19\": \"Prima a Pagar según años de Pago \",\r\n \"QP20\": \"Recargo Anual por Forma de Pago\"\r\n },\r\n PAYMENTS: {\r\n PROCESS_PAYMENT: \"Procesar Pago\",\r\n MAKE_PAYMENTS: \"Realizar Pagos\",\r\n BALANCE: \"Saldo\",\r\n DELINQUENCY: \"Exigible\",\r\n PAYMENT: \"Pagar\",\r\n DUE: \"Monto a pagar\",\r\n PANDDING_PAYMENT: \"Pagos Pendientes\",\r\n PAYMENT_ERROR: \"Hubo un error al procesar el pago.\",\r\n PAYMENT_PROCESS: \"Su pago fue procesado satisfactoriamente.\",\r\n PAYMENTMODE: \"Modo de Pago\",\r\n PAYMENTCYCLE: \"Frecuencia\",\r\n AMOUNTOFPAYMENTS: \"Cantidad de Pagos\"\r\n },\r\n PERMISSION: {\r\n PERMISSION: \"Permiso\",\r\n TYPE : \"Tipo\",\r\n TYPES : \"Tipos\",\r\n NAME : \"Nombre\",\r\n DESCRIPTION : \"Descripción\",\r\n LISTING_PERMISSION: \"Listado de Permisos\",\r\n OPTIONS: \"Opciones\",\r\n VIEW: \"Consultar\",\r\n DETAIL: \"Detalle\",\r\n EDITANDCREATE: \"Editar Permisos\",\r\n EMPTY_PERMISSION_QUERY:\"No hay permisos para mostrar.\"\r\n },\r\n AUTH: {\r\n GENERAL: {\r\n OR: 'O',\r\n SUBMIT_BUTTON: 'Enviar',\r\n NO_ACCOUNT: 'No tienes una cuenta?',\r\n SIGNUP_BUTTON: 'Regístrate',\r\n FORGOT_BUTTON: 'Se te olvidó tu contraseña',\r\n BACK_BUTTON: 'Espalda',\r\n PRIVACY: 'Intimidad',\r\n LEGAL: 'Legal',\r\n CONTACT: 'Contacto',\r\n LISTING_INSURANCE: 'Listado de Pólizas',\r\n LISTING_QUOTES_LIFE: \"Cotizaciones de Vida\",\r\n DOCUMENTS: 'Documentos',\r\n PAYMENTS: 'Pagos',\r\n CONTACTUS: 'Contactenos',\r\n CODEPASSWORD: \"Código de seguridad\",\r\n CHANGEPASSWORD: \"Cambiar la contraseña\",\r\n USER_CREATE: \"Crear un usuario\",\r\n ADMIN_PERMISSIONS: \"Administración de Permisos\",\r\n USER_CREATE_ENTITY: \"Administración de Usuarios\",\r\n SUCCESS_USER_CREATE: \"Se creo un nuevo usuario.\",\r\n CREATE_USER_ERROR: \"Hubo un error al crear el usuario. Es posible que el usuario ya exista.\",\r\n CONFIRM_CREATE_USER: \"¿Los datos que se muestran le pertenecen?\",\r\n },\r\n LOGIN: {\r\n LOGIN: \"Ingresar\",\r\n TITLE: 'Crear una cuenta',\r\n BUTTON: 'Registrarse',\r\n WELCOME: \"Bienvenido\",\r\n WELCOMEMB: \"Bienvenido a MB Seguros\",\r\n WELCOME_HELP: \"Introduzca su usuario y contraseña de acceso.\",\r\n SIGNIN_BUTTON: \"Entrar\",\r\n USERNAME: \"Usuario\",\r\n PASSWORD: \"Contraseña\",\r\n ENTER: \"ENTRAR\",\r\n ENTER2: \"INGRESAR\",\r\n ERROR: \"El usuario o la contraseña son invalidos.\",\r\n FORGOT: 'Olvidé mi contraseña',\r\n CLOSE_SESION: \"Cerrar Sesión\",\r\n CODE: \"Código de autenticación\",\r\n CODEERROR: \"Código de autenticación incorrecto.\",\r\n REGISTER_INSURED: \"Registrarse\",\r\n },\r\n FORGOT: {\r\n TITLE: 'Olvidé mi contraseña',\r\n DESC: 'Ingrese su correo electrónico para restablecer su contraseña',\r\n SUCCESS: 'Your account has been successfully reset.',\r\n },\r\n INSURED: {\r\n INSERT_INSURED_CODE: \"Ingrese su número de identificación\",\r\n VALIDATE_CODE: \"Validar\",\r\n INSURED_ID:\"Identificación\",\r\n CONFIRM_DATA: \"Confirmar datos\",\r\n INPUT_INSURED_DATA: \"Ingrese los datos para ser contactado\"\r\n },\r\n CODEPASSWORD: {\r\n TITLE: 'Código de Verificación',\r\n FORGOTTEN_PASSWORD_HELP: 'Ingrese el código enviado a su correo electrónico y la nueva contraseña',\r\n SUCCESS: 'Su contraseña de acceso se actualizo.',\r\n CODE_PASSWORD_ERROR: \"El código de seguridad es inválido\",\r\n REQUESTCHANGEPASSWORD: \"Solicitar cambio de contraseña\"\r\n },\r\n SUCCESSPASSWORD: {\r\n TITLE: 'Se actualizo la contraseña',\r\n },\r\n RESETPASSWORD: {\r\n TITLE: 'Olvidé mi contraseña',\r\n DESC: 'Ingrese la nueva contraseña',\r\n },\r\n REGISTER: {\r\n TITLE: '¿Aún no estás registrado?',\r\n DESC: 'CREAR CUENTA',\r\n CREATE_ACCOUNT: 'Crear Cuenta',\r\n SUCCESS_CREATE_ACCOUNT: 'Solicitud de registro de usuario',\r\n SUCCESS: 'Su cuenta se ha registrado correctamente.',\r\n RETURN_LOGIN_PAGE: \"Regresar al login\",\r\n HELP_REGISTER: 'Introduzca los siguientes datos para registrarse.',\r\n HELP_SUCCESS_REGISTER: 'Su solicitud de registro de cuenta fue enviada correctamente.',\r\n ERROR_1: \"No se pudo enviar tu solicitud. Intenta nuevamente.\",\r\n ERROR_2: \"La contraseña no coinciden\",\r\n DOCUMENT_TYPE: \"Tipo de Documento\",\r\n NUM_DOCUMENT: \"Número de documento\",\r\n EMAIL: \"EMAIL\",\r\n PASSWORD: \"Contraseña\",\r\n REPEAT_PASSWORD: \"Repetir Contraseña\",\r\n ALL_READY_REGISTER: \"¿Ya estás registrado?\",\r\n CEDULA: \"Cédula\",\r\n PASAPORTE: \"Pasaporte\",\r\n NROIDENTIFICACION: \"Identificación\"\r\n },\r\n VALIDATION: {\r\n INVALID: '{{name}} is not valid',\r\n REQUIRED: '{{name}} is required',\r\n MIN_LENGTH: '{{name}} minimum length is {{min}}',\r\n AGREEMENT_REQUIRED: 'Accepting terms & conditions are required',\r\n NOT_FOUND: 'The requested {{name}} is not found',\r\n INVALID_LOGIN: 'The login detail is incorrect',\r\n REQUIRED_FIELD: 'Campo requerido',\r\n MIN_LENGTH_FIELD: 'Minimum field length:',\r\n MAX_LENGTH_FIELD: 'Maximum field length:',\r\n INVALID_FIELD: 'Field is not valid',\r\n }\r\n },\r\n ECOMMERCE: {\r\n COMMON: {\r\n SELECTED_RECORDS_COUNT: 'Selected records count: ',\r\n ALL: 'All',\r\n SUSPENDED: 'Suspended',\r\n ACTIVE: 'Active',\r\n FILTER: 'Filter',\r\n BY_STATUS: 'by Status',\r\n BY_TYPE: 'by Type',\r\n BUSINESS: 'Business',\r\n INDIVIDUAL: 'Individual',\r\n SEARCH: 'Search',\r\n IN_ALL_FIELDS: 'in all fields'\r\n },\r\n ECOMMERCE: 'eCommerce',\r\n CUSTOMERS: {\r\n CUSTOMERS: 'Customers',\r\n CUSTOMERS_LIST: 'Customers list',\r\n NEW_CUSTOMER: 'New Customer',\r\n DELETE_CUSTOMER_SIMPLE: {\r\n TITLE: 'Customer Delete',\r\n DESCRIPTION: 'Are you sure to permanently delete this customer?',\r\n WAIT_DESCRIPTION: 'Customer is deleting...',\r\n MESSAGE: 'Customer has been deleted'\r\n },\r\n DELETE_CUSTOMER_MULTY: {\r\n TITLE: 'Customers Delete',\r\n DESCRIPTION: 'Are you sure to permanently delete selected customers?',\r\n WAIT_DESCRIPTION: 'Customers are deleting...',\r\n MESSAGE: 'Selected customers have been deleted'\r\n },\r\n UPDATE_STATUS: {\r\n TITLE: 'Status has been updated for selected customers',\r\n MESSAGE: 'Selected customers status have successfully been updated'\r\n },\r\n EDIT: {\r\n UPDATE_MESSAGE: 'Customer has been updated',\r\n ADD_MESSAGE: 'Customer has been created'\r\n }\r\n }\r\n }\r\n }\r\n };\r\n ","import { Injectable, Inject, OnDestroy } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { BehaviorSubject, forkJoin, Observable } from 'rxjs';\r\nimport { catchError, finalize, tap, exhaustMap, map } from 'rxjs/operators';\r\nimport { environment } from '../../../environments/environment';\r\nimport { TableService, TableResponseModel, ITableState, BaseModel, PaginatorState, SortState, GroupingState } from '../../_metronic/shared/crud-table';\r\nimport { Document } from '../_models/document.model';\r\nimport { baseFilter } from '../../_fake/fake-helpers/http-extenstions';\r\nimport { first } from 'rxjs/operators';\r\nimport { AuthService } from '../../modules/auth/_services/auth.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DocumentService extends TableService implements OnDestroy {\r\n\r\n apiUrls = {\r\n getPolicyDocuments : `${environment.url}/${environment.apiUrl}/Producer/get_polizas_documentos?`,\r\n getDocument : `${environment.url}/${environment.apiUrl}/Producer/get_buscar_documento_poliza?`,\r\n uploadDocument: `${environment.url}/${environment.apiUrl}/Generico/post_cargar_documento_poliza?`,\r\n getPolicyEstatement: `${environment.url}/${environment.apiUrl}/Producer/get_estado_cuenta?`,\r\n getPolicyGeneralCondition: `${environment.url}/${environment.apiUrl}/Producer/get_descargar_generales_poliza?`,\r\n postEnviarDocumentosPolizas: `${environment.url}/${environment.apiUrl}/Producer/post_enviar_documentos_polizas?`,\r\n }\r\n //API_URL = `${environment.url}/${environment.apiUrl}/Producer/get_polizas_documentos`;\r\n API_URL = `${environment.url}/${environment.apiUrl}/Producer/get_polizas_documentos`;\r\n constructor(@Inject(HttpClient) http, private auth: AuthService) {\r\n super(http);\r\n }\r\n\r\n\r\n // READ\r\n find(tableState: ITableState): Observable> {\r\n return this.http.get(this.apiUrls.getPolicyDocuments + tableState.paramsGet, {headers: this.auth.httpHeaders}).pipe(\r\n map((response: Document[]) => {\r\n const filteredResult = baseFilter(response, tableState);\r\n const result: TableResponseModel = {\r\n items: filteredResult.items,\r\n total: filteredResult.total\r\n };\r\n return result;\r\n })\r\n );\r\n }\r\n\r\n // READ\r\n async get_documents_by(paramsGet: string) {\r\n var response = await this.http.get(this.apiUrls.getDocument + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n if(typeof response[0].Documento != 'undefined') {\r\n return response[0].Documento;\r\n }\r\n }\r\n\r\n async upploadDocument(paramsGet: string)\r\n {\r\n \r\n }\r\n\r\n async sendMassiveDocuments(params: any)\r\n {\r\n var data = new FormData();\r\n data.append(\"data\", JSON.stringify([params]));\r\n\r\n return await this.http.post(this.apiUrls.postEnviarDocumentosPolizas, data, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n\r\n async getPolicyEstatement(paramsGet: string) {\r\n var response = await this.http.get(this.apiUrls.getPolicyEstatement + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n if(typeof response != 'undefined') {\r\n return response;\r\n }\r\n }\r\n\r\n async getPolicyGeneralCondition(paramsGet: string) {\r\n var response = await this.http.get(this.apiUrls.getPolicyGeneralCondition + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n if(typeof response != 'undefined') {\r\n return response;\r\n }\r\n }\r\n\r\n extracData(id, policies) {\r\n var item;\r\n\r\n //FEXME\r\n policies.pipe().subscribe(items => {\r\n return items.filter(c => {\r\n if(c.IdDocumento == id) {\r\n return (item = c);\r\n }\r\n });\r\n });\r\n \r\n return item;\r\n }\r\n\r\n ngOnDestroy() {\r\n this.subscriptions.forEach(sb => sb.unsubscribe());\r\n }\r\n\r\n \r\n}","import { Injectable, Inject, OnDestroy } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { BehaviorSubject, forkJoin, of, Observable } from 'rxjs';\r\nimport { exhaustMap, map } from 'rxjs/operators';\r\nimport { environment } from '../../../environments/environment';\r\nimport { TableService, TableResponseModel, ITableState , BaseModel, PaginatorState, SortState, GroupingState } from '../../_metronic/shared/crud-table';\r\nimport { Policy } from '../_models/policy.model';\r\nimport { Ramo, SubRamo, Mes, Anyo, Genero, Fumador, TipoRiesgo } from '../_models/general.model';\r\nimport { baseFilter } from '../../_fake/fake-helpers/http-extenstions';\r\nimport { catchError, finalize, tap } from 'rxjs/operators';\r\nimport { first } from 'rxjs/operators';\r\nimport { AuthService } from '../../modules/auth/_services/auth.service';\r\nimport {saveAs as importedSaveAs} from \"file-saver\";\r\nimport { Config } from \"../_models/config.model\"\r\n\r\ndeclare var require: any\r\nconst FileSaver = require('file-saver');\r\n\r\ndeclare var download: any;\r\n\r\nconst DEFAULT_STATE: ITableState = {\r\n filter: {},\r\n paginator: new PaginatorState(),\r\n sorting: new SortState(),\r\n searchTerm: '',\r\n grouping: new GroupingState(),\r\n entityId: undefined,\r\n paramsGet: \"\",\r\n paramsPost: {}\r\n};\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class HelperServices extends TableService implements OnDestroy {\r\n \r\n apiUrls = {\r\n getRamo : `${environment.url}/${environment.apiUrl}/Generico/get_ramos?`,\r\n getSubRamo : `${environment.url}/${environment.apiUrl}/Generico/get_sub_ramos?`,\r\n getMes : `${environment.url}/${environment.apiUrl}/Generico/get_meses?`,\r\n getAnyo : `${environment.url}/${environment.apiUrl}/Generico/get_anos?`,\r\n getConfig : `${environment.url}/${environment.apiUrl}/Generico/get_configuracion_parametros?`,\r\n getMenuPermission : `${environment.url}/${environment.apiUrl}/Entidad/get_permiso_menu?`,\r\n getLinkPagos : `${environment.url}/${environment.apiUrl}/Producer/get_link_pagos?`,\r\n getCompaniaSeguros : `${environment.url}/${environment.apiUrl}/Generico/get_compania_seguros?`,\r\n getSexo : `${environment.url}/${environment.apiUrl}/Generico/get_sexo?`,\r\n getFumador : `${environment.url}/${environment.apiUrl}/Generico/get_fumador?`,\r\n getTipoRiesgo: `${environment.url}/${environment.apiUrl}/Generico/get_tipo_riesgo?`,\r\n getTipoPago: `${environment.url}/${environment.apiUrl}/Generico/get_tipo_pago?`,\r\n getFrecuencia: `${environment.url}/${environment.apiUrl}/Generico/get_frecuencia_pago?`,\r\n getFechaCorte: `${environment.url}/${environment.apiUrl}/Generico/get_fecha_corte?`,\r\n getSiNo: `${environment.url}/${environment.apiUrl}/Generico/get_sino?`,\r\n getEstatus : `${environment.url}/${environment.apiUrl}/Generico/get_estatus?`,\r\n getPais : `${environment.url}/${environment.apiUrl}/Generico/get_pais?`,\r\n getDivisa : `${environment.url}/${environment.apiUrl}/Generico/get_moneda?`,\r\n }\r\n\r\n API_URL = `${environment.url}/${environment.apiUrl}/Producer/get_Listados_De_Polizas`;\r\n constructor(@Inject(HttpClient) http, private auth: AuthService) {\r\n super(http);\r\n }\r\n\r\n // READ\r\n async getConfig(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getConfig + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n// READ\r\n async getSiNo(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getSiNo + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n\r\n async getEstatus(paramsGet: string = \"\") {\r\n var response = await this.http.get(this.apiUrls.getEstatus + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n if(typeof response != 'undefined') {\r\n return response;\r\n }\r\n }\r\n\r\nasync getFechaCorte(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getFechaCorte + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n}\r\n // READ\r\n async getDivisa(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getDivisa + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n\r\n async getPais(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getPais + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n\r\n async getSexo(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getSexo + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n\r\n // READ\r\n async getFumador(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getFumador + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n\r\n // READ\r\n async getTipoPago(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getTipoPago + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n\r\n // READ\r\n async getFrecuencia(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getFrecuencia + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n\r\n // READ\r\n async getTipoRiesgo(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getTipoRiesgo + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n\r\n // READ\r\n async getCompaniaSeguros(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getCompaniaSeguros + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n\r\n // READ\r\n async getMenuPermission(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getMenuPermission + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n \r\n // READ\r\n async getLinkPagos(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getLinkPagos + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n\r\n // READ\r\n async getRamos(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getRamo + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n\r\n // READ\r\n async getSubRamos(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getSubRamo + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n\r\n // READ\r\n async getMeses(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getMes + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n\r\n // READ\r\n async getAnyos(paramsGet: string = \"\") {\r\n return await this.http.get(this.apiUrls.getAnyo + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n\r\n printPreview2(data, filename, type = 'application/pdf') {\r\n const blob = new Blob([data], { type : type });\r\n const file = new File([blob], filename, { type: type });\r\n download(data,filename, type);\r\n }\r\n\r\n printPreview3(data, filename, type = 'application/pdf') {\r\n download(`data:${type};base64,${data}`, filename, type);\r\n }\r\n\r\n forceDowndload(data, filename, type = 'application/pdf') {\r\n // header('Content-Disposition: attachment; filename=\"'. urlencode($filename).'\"');\r\n const blob = new Blob([data], { type : type });\r\n const file = new File([blob], filename, { type: type });\r\n saveAs(file);\r\n\r\n /*\r\n var link = document.createElement('a');\r\n link.href = window.URL.createObjectURL(blob); \r\n link.download = filename;\r\n document.body.appendChild(link);\r\n link.click();\r\n document.body.removeChild(link);\r\n */\r\n }\r\n\r\n printPreview (data, filename, type = 'application/pdf') {\r\n let blob = null;\r\n blob = this.b64toBlob(data, type);\r\n const blobURL = URL.createObjectURL(blob);\r\n const theWindow = window.open(blobURL);\r\n const theDoc = theWindow.document;\r\n const theScript = document.createElement('script');\r\n function injectThis() {\r\n window.print();\r\n }\r\n theScript.innerHTML = `window.onload = ${injectThis.toString()};`;\r\n theDoc.body.appendChild(theScript);\r\n }\r\n\r\n b64toBlob(content, contentType) {\r\n contentType = contentType || '';\r\n const sliceSize = 512;\r\n // method which converts base64 to binary\r\n const byteCharacters = window.atob(content); \r\n\r\n const byteArrays = [];\r\n for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) {\r\n const slice = byteCharacters.slice(offset, offset + sliceSize);\r\n const byteNumbers = new Array(slice.length);\r\n for (let i = 0; i < slice.length; i++) {\r\n byteNumbers[i] = slice.charCodeAt(i);\r\n }\r\n const byteArray = new Uint8Array(byteNumbers);\r\n byteArrays.push(byteArray);\r\n }\r\n const blob = new Blob(byteArrays, {\r\n type: contentType\r\n }); // statement which creates the blob\r\n return blob;\r\n }\r\n getType(t) {\r\n switch(t) {\r\n case 1: return \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\";\r\n case 2: return \"application/pdf\";\r\n }\r\n }\r\n\r\n formatHora(hora: string): string {\r\n const [h, m, s] = hora.split(':').map(num => num.padStart(2, '0'));\r\n return `${h}:${m}`;\r\n }\r\n\r\n formatDate(date: any): string {\r\n return date.split('-').reverse().join('-');\r\n }\r\n\r\n\r\n ngOnDestroy() {\r\n this.subscriptions.forEach(sb => sb.unsubscribe());\r\n }\r\n}\r\n","import { Injectable, Inject, OnDestroy } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { BehaviorSubject, forkJoin, of, Observable } from 'rxjs';\r\nimport { exhaustMap, map } from 'rxjs/operators';\r\nimport { environment } from '../../../environments/environment';\r\nimport { TableService, TableResponseModel, ITableState , BaseModel, PaginatorState, SortState, GroupingState } from '../../_metronic/shared/crud-table';\r\nimport { Policy } from '../_models/policy.model';\r\nimport { Ramo, SubRamo, Mes, Anyo, Endoso } from '../_models/general.model';\r\nimport { baseFilter } from '../../_fake/fake-helpers/http-extenstions';\r\nimport { catchError, finalize, tap } from 'rxjs/operators';\r\nimport { first } from 'rxjs/operators';\r\nimport { AuthService } from '../../modules/auth/_services/auth.service';\r\n\r\nconst DEFAULT_STATE: ITableState = {\r\n filter: {},\r\n paginator: new PaginatorState(),\r\n sorting: new SortState(),\r\n searchTerm: '',\r\n grouping: new GroupingState(),\r\n entityId: undefined,\r\n paramsGet: \"\",\r\n paramsPost: {}\r\n};\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class InsuranceService extends TableService implements OnDestroy {\r\n \r\n apiUrls = {\r\n getRamo : `${environment.url}/${environment.apiUrl}/Generico/get_ramos?`,\r\n getSubRamo : `${environment.url}/${environment.apiUrl}/Generico/get_sub_ramos?`,\r\n getMes : `${environment.url}/${environment.apiUrl}/Generico/get_meses?`,\r\n getAnyo : `${environment.url}/${environment.apiUrl}/Generico/get_anos?`,\r\n getPolicy : `${environment.url}/${environment.apiUrl}/Producer/get_Listados_De_Polizas?`,\r\n getEndosos : `${environment.url}/${environment.apiUrl}/Generico/get_endosos?`,\r\n postEndosos : `${environment.url}/${environment.apiUrl}/Generico/post_solicitud_endosos?`,\r\n getListaCondicionesGeneralesPoliza : `${environment.url}/${environment.apiUrl}/Producer/get_lista_condiciones_generales_poliza?`,\r\n getDescaragarCondicionesGeneralesPoliza: `${environment.url}/${environment.apiUrl}/Producer/get_descaragar_lista_condiciones_generales_poliza?`,\r\n getEstatus : `${environment.url}/${environment.apiUrl}/Generico/get_estatus?`,\r\n getOptions : `${environment.url}/${environment.apiUrl}/Generico/get_opciones_poliza?`,\r\n getPaymentsMade: `${environment.url}/${environment.apiUrl}/Producer/get_pagos_efectuados_poliza?`,\r\n }\r\n\r\n API_URL = `${environment.url}/${environment.apiUrl}/Producer/get_Listados_De_Polizas`;\r\n constructor(@Inject(HttpClient) http, private auth: AuthService) {\r\n super(http);\r\n }\r\n\r\n // READ\r\n find(tableState: ITableState): Observable> {\r\n return this.http.get(this.apiUrls.getPolicy + tableState.paramsGet, {headers: this.auth.httpHeaders}).pipe(\r\n map((response: Policy[]) => {\r\n const filteredResult = baseFilter(response, tableState);\r\n const result: TableResponseModel = {\r\n items: response, // filteredResult.items,\r\n total: filteredResult.total\r\n };\r\n return result;\r\n })\r\n );\r\n }\r\n\r\n async getEstatus(paramsGet: string = \"\") {\r\n var response = await this.http.get(this.apiUrls.getEstatus + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n if(typeof response != 'undefined') {\r\n return response;\r\n }\r\n } \r\n\r\n async getListaCondicionesGeneralesPoliza(paramsGet: string = \"\") {\r\n var response = await this.http.get(this.apiUrls.getListaCondicionesGeneralesPoliza + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n if(typeof response != 'undefined') {\r\n return response;\r\n }\r\n }\r\n\r\n async getDescaragarCondicionesGeneralesPoliza(paramsGet: string = \"\") {\r\n var response = await this.http.get(this.apiUrls.getDescaragarCondicionesGeneralesPoliza + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n if(typeof response != 'undefined') {\r\n return response;\r\n }\r\n }\r\n \r\n async getPaymentsMade(paramsGet: string = \"\") {\r\n var response = await this.http.get(this.apiUrls.getPaymentsMade + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n if(typeof response != 'undefined') {\r\n return response;\r\n }\r\n }\r\n\r\n async getRamos(paramsGet: string = \"\") {\r\n var response = await this.http.get(this.apiUrls.getRamo + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n if(typeof response != 'undefined') {\r\n return response;\r\n }\r\n }\r\n\r\n // READ\r\n async getSubRamos(paramsGet: string = \"\") {\r\n var response = await this.http.get(this.apiUrls.getSubRamo + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n if(typeof response != 'undefined') {\r\n return response;\r\n }\r\n }\r\n\r\n // READ\r\n async getMeses(paramsGet: string = \"\") {\r\n var response = await this.http.get(this.apiUrls.getMes + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n if(typeof response != 'undefined') {\r\n return response;\r\n }\r\n }\r\n\r\n // READ\r\n async getAnyos(paramsGet: string = \"\") {\r\n var response = await this.http.get(this.apiUrls.getAnyo + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n if(typeof response != 'undefined') {\r\n return response;\r\n }\r\n }\r\n\r\n async getOptions(paramsGet: string = \"\") {\r\n var response = await this.http.get(this.apiUrls.getOptions + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n if(typeof response != 'undefined') {\r\n return response;\r\n }\r\n }\r\n\r\n // READ\r\n async getEndosos(paramsGet: string = \"\") {\r\n var response = await this.http.get(this.apiUrls.getEndosos + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n if(typeof response != 'undefined') {\r\n return response;\r\n }\r\n else {\r\n return false;\r\n }\r\n }\r\n\r\n\r\n async postEndoso(formData: FormData) {\r\n return await this.http.post(this.apiUrls.postEndosos, formData, {headers: this.auth.httpHeaders}).toPromise();\r\n } \r\n\r\n extracData(id, policies) {\r\n var item;\r\n\r\n //FEXME\r\n policies.pipe().subscribe(items => {\r\n return items.filter(c => {\r\n if(c.IdPoliza == id) {\r\n return (item = c);\r\n }\r\n });\r\n });\r\n \r\n return item;\r\n }\r\n\r\n ngOnDestroy() {\r\n this.subscriptions.forEach(sb => sb.unsubscribe());\r\n }\r\n}\r\n","import { Injectable, Inject, OnDestroy } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { BehaviorSubject, forkJoin, Observable } from 'rxjs';\r\nimport { catchError, finalize, tap, exhaustMap, map } from 'rxjs/operators';\r\nimport { environment } from '../../../environments/environment';\r\nimport { TableService, TableResponseModel, ITableState, BaseModel, PaginatorState, SortState, GroupingState } from '../../_metronic/shared/crud-table';\r\nimport { Interest } from '../_models/interest.model';\r\nimport { baseFilter } from '../../_fake/fake-helpers/http-extenstions';\r\nimport { first } from 'rxjs/operators';\r\nimport { AuthService } from '../../modules/auth/_services/auth.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class InterestService extends TableService implements OnDestroy {\r\n\r\n apiUrls = {\r\n getPolicyInterest : `${environment.url}/${environment.apiUrl}/Generico/get_poliza_interes?`,\r\n getPolicyInterestDocs : `${environment.url}/${environment.apiUrl}/Producer/get_polizas_interes_documentos?`,\r\n getPolicyInterestDownloadDocs : `${environment.url}/${environment.apiUrl}/Producer/get_buscar_documento_poliza_interes?`,\r\n }\r\n constructor(@Inject(HttpClient) http, private auth: AuthService) {\r\n super(http);\r\n }\r\n\r\n\r\n // READ\r\n find(tableState: ITableState): Observable> {\r\n return this.http.get(this.apiUrls.getPolicyInterest + tableState.paramsGet, {headers: this.auth.httpHeaders}).pipe(\r\n map((response: Document[]) => {\r\n const filteredResult = baseFilter(response, tableState);\r\n const result: TableResponseModel = {\r\n //items: filteredResult.items, // paginacion\r\n items: response,\r\n total: filteredResult.total\r\n };\r\n return result;\r\n })\r\n );\r\n }\r\n\r\n // READ\r\n async getPolicyInterestDocs (paramsGet: string) {\r\n var response = await this.http.get(this.apiUrls.getPolicyInterestDocs + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n if(typeof response != 'undefined') {\r\n return response;\r\n }\r\n return false;\r\n }\r\n\r\n // READ\r\n async getPolicyInterest(paramsGet: string) {\r\n var response = await this.http.get(this.apiUrls.getPolicyInterest + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n if(typeof response != 'undefined') {\r\n return response;\r\n }\r\n return false;\r\n }\r\n\r\n // READ\r\n async getPolicyInterestDownloadDocs(paramsGet: string) {\r\n return await this.http.get(this.apiUrls.getPolicyInterestDownloadDocs + paramsGet, {headers: this.auth.httpHeaders}).toPromise();\r\n }\r\n\r\n extracData(id, items) {\r\n var item;\r\n\r\n //FEXME\r\n items.pipe().subscribe(items => {\r\n return items.filter(c => {\r\n if(c.IdPolizaInteres == id) {\r\n return (item = c);\r\n }\r\n });\r\n });\r\n \r\n return item;\r\n }\r\n\r\n ngOnDestroy() {\r\n this.subscriptions.forEach(sb => sb.unsubscribe());\r\n }\r\n}","import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, Input, OnDestroy, OnInit, ViewChild } from '@angular/core';\r\nimport { BehaviorSubject, Observable, of, Subscription } from 'rxjs';\r\nimport { InsuranceService } from '../_services/insurance.services';\r\nimport { DocumentService } from '../_services/document.services';\r\nimport { InterestService } from '../_services/interest.services';\r\nimport { HelperServices } from '../_services/helper.services';\r\nimport { exhaustMap, map } from 'rxjs/operators';\r\nimport { Policy } from '../_models/policy.model';\r\nimport { Document } from '../_models/document.model';\r\nimport { Interest } from '../_models/interest.model';\r\nimport { UserModel } from '../../modules/auth/_models/user.model';\r\nimport { Ramo, SubRamo, Mes, Anyo, Endoso } from '../_models/general.model';\r\nimport { AuthService } from '../../modules/auth/_services/auth.service';\r\nimport { LayoutService } from '../../_metronic/core';\r\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\r\nimport { NgbModal, ModalDismissReasons, NgbModalOptions, NgbCalendar} from '@ng-bootstrap/ng-bootstrap';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport {NgbDatepickerI18n, NgbDatepickerConfig} from '@ng-bootstrap/ng-bootstrap';\r\n\r\ndeclare var require: any\r\nconst FileSaver = require('file-saver');\r\n\r\ndeclare var download: any;\r\ninterface DocumentData {\r\n id: number;\r\n NombreDocumento: string;\r\n TipoEndoso: string;\r\n file: File;\r\n}\r\n\r\nimport {\r\n GroupingState,\r\n PaginatorState,\r\n SortState,\r\n ICreateAction,\r\n IEditAction,\r\n IDeleteAction,\r\n IDeleteSelectedAction,\r\n IFetchSelectedAction,\r\n IUpdateStatusForSelectedAction,\r\n ISortView,\r\n IFilterView,\r\n IGroupingView,\r\n ISearchView,\r\n} from '../../_metronic/shared/crud-table';\r\nimport { Subject, SubjectSubscriber } from 'rxjs/internal/Subject';\r\n\r\n@Component({\r\n selector: 'app-list-insurance',\r\n templateUrl: './list-insurance.component.html',\r\n styleUrls: ['./list-insurance.component.scss'],\r\n providers: [NgbDatepickerConfig],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n})\r\n\r\nexport class ListInsuranceComponent implements\r\nOnInit, \r\nOnDestroy {\r\n loadingModalConfig: NgbModalOptions = {\r\n backdrop : 'static',\r\n keyboard : false\r\n };\r\n largeModalConfig: NgbModalOptions = {\r\n backdrop : 'static',\r\n keyboard : false,\r\n\t\t size \t : 'xl'\r\n };\r\n loadingShowModal: boolean = false;\r\n paginator: PaginatorState;\r\n sorting: SortState;\r\n grouping: GroupingState;\r\n isLoading: boolean;\r\n templateView: number = 99;\r\n idPoliza: number = 0;\r\n idDocument: number = 0;\r\n idEntity: number = 0;\r\n insuredFilter: number = 0;\r\n policy_selected: Policy;\r\n document_selected: Document;\r\n documents_policy: Document[];\r\n interest_selected: Interest;\r\n showComapnyName: boolean = false;\r\n extrasUserDropdownStyle: 'light' | 'dark' = 'light';\r\n user$: Observable;\r\n _user: UserModel;\r\n hasError: boolean;\r\n ramos: any;\r\n subramos: any;\r\n anyos: any;\r\n meses: any;\r\n endosos: any;\r\n companies: any;\r\n estatus: any;\r\n pais: any;\r\n policyOptions: any;\r\n divisas: any;\r\n paymentsMade: any;\r\n tiposEndosos;\r\n totalBalance: number = 0.00;\r\n filterPolicyForm: UntypedFormGroup;\r\n interestForm: UntypedFormGroup;\r\n endosoForm: UntypedFormGroup;\r\n optionsForm: UntypedFormGroup;\r\n endosoHasError: boolean;\r\n inputIdTipoEndoso: boolean;\r\n closeResult: string;\r\n activeSubmitFilterPolicy: boolean = false;\r\n IdRamo: boolean = false;\r\n IdPais: boolean = false;\r\n templatePostEndoso: number = 1;\r\n resultPostEndosoMessage: string;\r\n detalleInteresAsegurado: any;\r\n interestDocs = new BehaviorSubject(null);\r\n hasInterestDocsLoading = true;\r\n hasCondicionesDocsLoading = true;\r\n\tpublic uploadedDocuments$: Observable;\r\n public uploadedDocumentsSubject : Subject = new Subject();\r\n private uploadedDocuments = [];\r\n maxDocuments = 10;\r\n maxSize = 20 * 1024 * 1024; // 20 MB en bytes\r\n private subscriptions: Subscription[] = []; // Read more: => https://brianflove.com/2016/12/11/anguar-2-unsubscribe-observables/\r\n permissionMenu: any;\r\n condicionesGenerales$: Observable = new BehaviorSubject([]);\r\n\tcondicionesGeneralesSubject= new Subject();\r\n public isCollapsed1 = false; //Daypicker\r\n public isCollapsed2 = false; //Daypicker\r\n @ViewChild('endosoModal') endosoModal: any;\r\n @ViewChild('loadingModal') loadingModal: any;\r\n @ViewChild('inputIdTipoEndoso') endosoSelect!: ElementRef;\r\n \r\n constructor(\r\n public insuranceService: InsuranceService,\r\n public documentService: DocumentService,\r\n public interestService: InterestService,\r\n private layout: LayoutService,\r\n private auth: AuthService,\r\n private fb: UntypedFormBuilder,\r\n private modalService: NgbModal, \r\n private modalLoading: NgbModal,\r\n private modalConditionDoc: NgbModal,\r\n public sanitizer: DomSanitizer,\r\n public helperServices: HelperServices,\r\n public calendar: NgbCalendar,\r\n private cdr: ChangeDetectorRef\r\n ) {}\r\n\r\n // angular lifecircle hooks\r\n async ngOnInit() {\r\n this.permissionMenu = JSON.parse(localStorage.getItem(\"permissionMenu\"))[0];\r\n\r\n this.initForm();\r\n\r\n this.extrasUserDropdownStyle = this.layout.getProp(\r\n 'extras.user.dropdown.style'\r\n );\r\n this.user$ = this.auth.currentUserSubject.asObservable();\r\n this.user$.subscribe(user=> {\r\n this._user = user;\r\n });\r\n\r\n\r\n this.insuranceService.fetch();\r\n this.paginator = this.insuranceService.paginator;\r\n\r\n this.estatus = this.insuranceService.getEstatus();\r\n this.ramos = this.insuranceService.getRamos();\r\n this.meses = this.insuranceService.getMeses();\r\n this.anyos = this.insuranceService.getAnyos();\r\n this.pais = this.helperServices.getPais();\r\n this.policyOptions = this.insuranceService.getOptions();\r\n this.condicionesGenerales$ = this.condicionesGeneralesSubject.asObservable();\r\n\t this.uploadedDocuments$ = this.uploadedDocumentsSubject.asObservable();\r\n //this.tiposEndosos = this.insuranceService.getAnyos();\r\n\r\n const sb1 = this.insuranceService.isLoading$.subscribe(res => this.isLoading = res);\r\n this.subscriptions.push(sb1);\r\n\r\n this.optionsForm.reset({\r\n 'inputOptions' : 'x'\r\n });\r\n\r\n }\r\n\r\n ngAfterViewInit() {\r\n if (this.loadingModal) {\r\n this.loadingModal.someProperty = 'nuevo valor';\r\n this.cdr.detectChanges();\r\n }\r\n }\r\n\r\n ngOnDestroy() {\r\n this.subscriptions.forEach((sb) => sb.unsubscribe());\r\n }\r\n\r\n async clickView(id = 0, event) {\r\n var _this = this;\r\n if(!id || !event.target.value) { return false; }\r\n\r\n this.idPoliza = id;\r\n this.policy_selected = this.insuranceService.extracData(this.idPoliza, this.insuranceService.items$);\r\n\r\n if (event.target.value == 1) {\r\n this.templateView = 1;\r\n this.documentService.patchState({paramsGet : Array(`IdPoliza=${this.idPoliza}`).join('&')});\r\n }\r\n else if (event.target.value == 2) {\r\n this.clickDownloadEstatement(this.loadingModal, id);\r\n }\r\n else if (event.target.value == 3) {\r\n\t\t this.templateView = 3;\r\n\t\t this.uploadedDocuments = [];\r\n\t\t this.uploadedDocumentsSubject.next(this.uploadedDocuments);\r\n \r\n var filtro = {\r\n IdTipoFiltro : 1,\r\n Texto: \"\",\r\n IdEstatus: 1\r\n }\r\n this.clickGetEndoso(this.endosoModal, this.idPoliza);\r\n }\r\n else if (event.target.value == 4) {\r\n this.paymentsMade = this.insuranceService.getPaymentsMade(\"IdPoliza=\" + id);\r\n this.paymentsMade.then((res) => {\r\n this.totalBalance = res.reduce((acc, item) => acc + parseFloat(item.Saldo), 0) || 0;\r\n });\r\n this.templateView = 4;\r\n }\r\n else if (event.target.value == 7) {\r\n this.templateView = 7;\r\n this.submitFilterInterest();\r\n }\r\n else {\r\n this.policy_selected = null\r\n this.templateView = 99;\r\n }\r\n \r\n this.optionsForm.reset({\r\n 'inputOptions' : 'x'\r\n });\r\n\r\n }\r\n\r\n clickGetEndoso(content, idPoliza) {\r\n this.endosos = this.insuranceService.getEndosos(\"IdPoliza=\" + idPoliza);\r\n this.policy_selected = this.insuranceService.extracData(idPoliza, this.insuranceService.items$);\r\n this.endosoForm.patchValue({ \"inputIdPoliza\" : idPoliza });\r\n }\r\n\r\n clickDownloadEstatement(content, IdPoliza) {\r\n this.modalLoading.open(content, this.loadingModalConfig);\r\n this.documentService.getPolicyEstatement(\"IdPoliza=\"+IdPoliza).then((res) => {\r\n if(res[0]) {\r\n this.helperServices.printPreview(res[0].Documento, res[0].NombreDocumento, \"application/pdf\");\r\n }\r\n else {\r\n alert(\"No se pudo descargar el documento.\");\r\n }\r\n\r\n }).finally(() => {\r\n setTimeout(() => {\r\n this.modalLoading.dismissAll();\r\n }, 500);\r\n })\r\n }\r\n\r\n \r\n\r\n d(text) {\r\n\r\n }\r\n \r\n async clickDownloadDocument(content, id, filename, event) {\r\n //event.currentTarget.disabled = true;\r\n this.modalLoading.open(content, this.loadingModalConfig);\r\n\r\n var base64String = await this.documentService.get_documents_by(Array(`IdDocumento=${id}`).join('&')).then( (base64String) => {\r\n const linkSource = `data:application/pdf;base64,${base64String}`;\r\n const downloadLink = document.createElement(\"a\");\r\n \r\n downloadLink.href = linkSource;\r\n downloadLink.download = filename;\r\n downloadLink.click();\r\n }).finally(() => {\r\n this.modalLoading.dismissAll();\r\n });\r\n /*\r\n const source = `data:application/pdf;base64,${base64String}`;\r\n let pdfWindow = window.open(\"\");\r\n pdfWindow.document.write(\"\");\r\n */\r\n }\r\n\r\n async clickDownloadCondicionesGenerales(content, item) {\r\n //this.modalLoading.open(content, this.loadingModalConfig);\r\n\r\n var base64String = await this.insuranceService.getDescaragarCondicionesGeneralesPoliza(Array(`IdDocCondicionGeneralPoliza=${item.IdDocCondicionGeneralPoliza}`).join('&')).then( (response) => {\r\n if(typeof(response[0].Documento) != 'undefined') {\r\n const linkSource = `data:application/pdf;base64,${response[0].Documento}`;\r\n const downloadLink = document.createElement(\"a\");\r\n \r\n downloadLink.href = linkSource;\r\n downloadLink.download = response[0].NameDoc;\r\n downloadLink.click();\r\n }\r\n else {\r\n alert(\"No se pudo descargar el documento.\");\r\n }\r\n }).finally(() => {\r\n //this.modalLoading.dismissAll();\r\n }).catch((e) => {\r\n alert(\"No se pudo descargar el documento.\");\r\n });\r\n /*\r\n const source = `data:application/pdf;base64,${base64String}`;\r\n let pdfWindow = window.open(\"\");\r\n pdfWindow.document.write(\"\");\r\n */\r\n }\r\n\r\n downloadPolicyGeneralCondition(content) {\r\n this.modalLoading.open(content, this.loadingModalConfig);\r\n\r\n this.documentService.getPolicyGeneralCondition(\"IdPoliza=\"+this.idPoliza).then((res) => {\r\n \r\n this.helperServices.printPreview(res[0].Documento, res[0].NombreDocumento, \"application/pdf\");\r\n\r\n }).finally(() => {\r\n this.modalLoading.dismissAll();\r\n })\r\n }\r\n\r\n downloadPolicyGeneralConditionModal(content) {\r\n this.hasCondicionesDocsLoading = true;\r\n this.modalConditionDoc.open(content, this.loadingModalConfig);\r\n\r\n this.insuranceService.getListaCondicionesGeneralesPoliza(\"IdPoliza=\"+this.idPoliza).then((res) => {\r\n if(res[0]) {\r\n this.condicionesGeneralesSubject.next(res);\r\n }\r\n }).finally(() => {\r\n this.hasCondicionesDocsLoading = false;\r\n });\r\n }\r\n\r\n changeFilterMode(event) {\r\n this.insuredFilter = event.target.value;\r\n }\r\n\r\n changeRamo(event) {\r\n this.subramos = this.insuranceService.getSubRamos(\"IdRamo=\" + event.target.value).finally(() => {\r\n this.IdRamo = event.target.value > 0 ? event.target.value : false;\r\n });\r\n }\r\n\r\n changeCountry(event) {\r\n this.divisas = this.helperServices.getDivisa(\"IdPais=\" + event.target.value).finally(() => {\r\n this.IdPais = event.target.value > 0 ? event.target.value : false;\r\n });\r\n\r\n this.companies = this.helperServices.getCompaniaSeguros(\"IdPais=\" + event.target.value);\r\n }\r\n\r\n initForm() {\r\n this.filterPolicyForm = this.fb.group({\r\n inputMes: [''],\r\n inputAnyo: [''],\r\n inputRamo: [''],\r\n inputSubRamo: [''],\r\n inputNroDePoliza: [''],\r\n inputAsegurado: [''],\r\n inputPlaca: [''],\r\n inputIdentificacion: [''],\r\n inputIdCompania: [''],\r\n inputGrupoEconomico: [''],\r\n inputFechaHasta: [''],\r\n inputFechaDesde:[''],\r\n inputEstatus: [''],\r\n inputPais: [''],\r\n inputMoneda: [''],\r\n });\r\n\r\n this.endosoForm = this.fb.group({\r\n inputObservacion: [''],\r\n inputIdPoliza: [''],\r\n inputIdTipoEndoso: ['', Validators.compose([Validators.required]) ],\r\n file1: ['', Validators.compose([Validators.required])],\r\n });\r\n\r\n this.interestForm = this.fb.group({\r\n insured_filter_mode : [\r\n 1,\r\n Validators.compose([\r\n Validators.minLength(3),\r\n Validators.maxLength(320), // https://stackoverflow.com/questions/386294/what-is-the-maximum-length-of-a-valid-email-address\r\n ]),\r\n ],\r\n insured_filter_mode_1: [\r\n '',\r\n Validators.compose([\r\n Validators.minLength(1),\r\n Validators.maxLength(100),\r\n ]),\r\n ],\r\n insured_filter_mode_2: [\r\n '',\r\n Validators.compose([\r\n Validators.minLength(1),\r\n Validators.maxLength(100),\r\n ]),\r\n ],\r\n insured_filter_mode_3: [\r\n '',\r\n Validators.compose([\r\n Validators.minLength(1),\r\n Validators.maxLength(100),\r\n ]),\r\n ],\r\n });\r\n\r\n this.optionsForm = this.fb.group({\r\n inputOptions: [''],\r\n })\r\n }\r\n\r\n submitFilterPolicy(content) {\r\n //this.modalLoading.open(content, this.loadingModalConfig);\r\n \r\n var paramsGet = Array( \r\n `IdEntidad=${this._user.id}`,\r\n `Asegurado=${this.filterPolicyForm.value.inputAsegurado || ''}`,\r\n `IdRamo=${this.filterPolicyForm.value.inputRamo || ''}`,\r\n `IdSubRamo=${this.filterPolicyForm.value.inputSubRamo || ''}`,\r\n `IdMes=${this.filterPolicyForm.value.inputMes || ''}`,\r\n `IdAno=${this.filterPolicyForm.value.inputAnyo || ''}`,\r\n `NroDePoliza=${this.filterPolicyForm.value.inputNroDePoliza || ''}`,\r\n `Identificacion=${this.filterPolicyForm.value.inputIdentificacion || ''}`,\r\n `Placa=${this.filterPolicyForm.value.inputPlaca || ''}`,\r\n `Estatus=${this.filterPolicyForm.value.inputEstatus || ''}`,\r\n `IdPais=${this.filterPolicyForm.value.inputPais || ''}`,\r\n `IdMoneda=${this.filterPolicyForm.value.inputMoneda || ''}`\r\n )\r\n\r\n if( typeof(this.filterPolicyForm.value.inputFechaDesde) == 'object' && this.filterPolicyForm.value.inputFechaDesde != null) {\r\n if(this.filterPolicyForm.value.inputFechaDesde.year){\r\n let date1 = Array(this.filterPolicyForm.value.inputFechaDesde.year, this.filterPolicyForm.value.inputFechaDesde.month,this.filterPolicyForm.value.inputFechaDesde.day).join('/')\r\n paramsGet.push(`FechaDesde=${date1}`);\r\n }\r\n }\r\n \r\n if( typeof(this.filterPolicyForm.value.inputFechaHasta) == 'object' && this.filterPolicyForm.value.inputFechaHasta != null) {\r\n if(this.filterPolicyForm.value.inputFechaHasta.year){\r\n let date2 = Array(this.filterPolicyForm.value.inputFechaHasta.year,this.filterPolicyForm.value.inputFechaHasta.month,this.filterPolicyForm.value.inputFechaHasta.day).join('/')\r\n paramsGet.push(`FechaHasta=${date2}`);\r\n }\r\n }\r\n\r\n if(this.permissionMenu.VerGrupoEconomico == 1) {\r\n paramsGet.push(`GrupoEconomico=${this.filterPolicyForm.value.inputGrupoEconomico || ''}`);\r\n }\r\n\r\n if(this.permissionMenu.VerCompania == 1) {\r\n paramsGet.push(`IdCompania=${this.filterPolicyForm.value.inputIdCompania || ''}`);\r\n }\r\n\r\n this.insuranceService.patchState({ paramsGet : paramsGet.join('&') });\r\n }\r\n\r\n onFileSelected(event: Event) {\r\n const fileInput = event.target as HTMLInputElement;\r\n const file = fileInput.files ? fileInput.files[0] : null;\r\n const tipoEndoso = (document.getElementById('inputIdTipoEndoso') as HTMLSelectElement).selectedOptions[0].text;\r\n\r\n if (file && this.isWithinLimit(file)) {\r\n const documentData: DocumentData = {\r\n id: this.uploadedDocuments.length,\r\n NombreDocumento: file.name,\r\n file: file,\r\n TipoEndoso: tipoEndoso\r\n };\r\n \r\n this.uploadedDocuments.push(documentData);\r\n this.uploadedDocumentsSubject.next(this.uploadedDocuments);\r\n\r\n this.endosoForm.patchValue({\r\n file: ''\r\n });\r\n (event.target as HTMLInputElement).value = null;\r\n }\r\n }\r\n\r\n isWithinLimit(file: File): boolean {\r\n const totalSize = this.uploadedDocuments.reduce((sum, doc) => sum + doc.file.size, 0) + file.size;\r\n return this.uploadedDocuments.length < this.maxDocuments && totalSize <= this.maxSize;\r\n }\r\n\r\n removeDocument(index: number) {\r\n this.uploadedDocuments.splice(index, 1);\r\n this.uploadedDocumentsSubject.next(this.uploadedDocuments);\r\n }\r\n\r\n submitEndoso(resultPostEndoso) {\r\n this.endosoHasError = false;\r\n this.templatePostEndoso = 2;\r\n\r\n if(this.endosoForm.valid) {\r\n const formData = new FormData();\r\n formData.append('data', JSON.stringify([{\r\n \"IdPoliza\" : this.endosoForm.value.inputIdPoliza,\r\n \"IdTipoEndoso\" : this.endosoForm.value.inputIdTipoEndoso,\r\n \"Observacion\": this.endosoForm.value.inputObservacion, \r\n }]));\r\n var i = 1;\r\n this.uploadedDocuments.forEach(doc =>{ formData.append('file' + i++ + '', doc.file);});\r\n \r\n this.insuranceService.postEndoso(formData).then( (response) =>{\r\n if(typeof response[0].Mensaje != undefined && response[0].Mensaje == \"Solicitud generada\") {\t\t \r\n\t\t this.uploadedDocumentsSubject.next(this.uploadedDocuments);\r\n this.templatePostEndoso = 3;\r\n this.templateView = 99;\r\n alert(response[0].Mensaje);\r\n } else {\r\n alert(\"No se pudo enviar la solicitud.\")\r\n }\r\n })\r\n }else {\r\n this.endosoHasError = true;\r\n }\r\n }\r\n\r\n resetSubmitFilterPolicy() {\r\n this.filterPolicyForm.reset( {\"inputNroDePoliza\" : \"\"} );\r\n }\r\n\r\n submitFilterInterest() {\r\n var s = \"\";\r\n switch(parseInt(this.interestForm.value.insured_filter_mode)) {\r\n case 1:\r\n s = this.interestForm.value.insured_filter_mode_1; // Descrip\r\n break;\r\n case 2:\r\n s = this.interestForm.value.insured_filter_mode_2; // Nro Certificado\r\n break;\r\n case 3:\r\n s = this.interestForm.value.insured_filter_mode_3; // Estado\r\n break;\r\n };\r\n\r\n this.interestService.patchState({paramsGet : Array(`IdTipoFiltro=${this.interestForm.value.insured_filter_mode}`,`Texto=${s}`,`IdPoliza=${this.idPoliza}`).join('&')});\r\n }\r\n\r\n\r\n // pagination\r\n paginate(paginator: PaginatorState) {\r\n this.insuranceService.patchState({ paginator });\r\n }\r\n\r\n onclickModalInteresAsegurado(content, item, id) {\r\n this.loadingShowModal= true;\r\n\r\n this.modalService.open(content, {size: 'lg'} ).result.then((result) => {\r\n console.log(result)\r\n }, (reason) => { // this.getDismissReason(reason)\r\n \r\n });\r\n\r\n console.log(this.detalleInteresAsegurado = item);\r\n this.loadingShowModal = false;\r\n /*\r\n this.interestService.extracData(id, this.interestService.items$).finally(() => {\r\n this.loadingShowModal = false;\r\n }); \r\n */\r\n }\r\n\r\n onclickInterestDocumentModal(content, item) {\r\n this.hasInterestDocsLoading = true;\r\n this.interestDocs.next([]);\r\n\r\n this.modalService.open(content, {size: 'lg'} );\r\n\r\n this.interestService.getPolicyInterestDocs(Array(`IdPoliza=${item.IdPoliza}`, `IdPolizaInteres=${item.IdPolizaInteres}`).join(\"&\")).then((response) => {\r\n if(response[0]) {\r\n this.interestDocs.next(response);\r\n }\r\n else {\r\n\r\n }\r\n }).finally(() => {\r\n this.hasInterestDocsLoading = false;\r\n });\r\n }\r\n\r\n onclickInterestDocumentDownload(content, item) {\r\n this.modalLoading.open(content, this.loadingModalConfig);\r\n\r\n this.interestService.getPolicyInterestDownloadDocs(Array(`IdDocumento=${item.IdDocumento}`).join(\"&\")).then((response) => {\r\n if(response[0]) {\r\n this.helperServices.printPreview3(response[0].Documento, response[0].NameDoc, this.helperServices.getType(2));\r\n }\r\n else {\r\n alert(\"No se pudo descargar el documento.\");\r\n }\r\n }).finally(() => {\r\n this.modalLoading.dismissAll();\r\n });\r\n\r\n }\r\n}\r\n","
\r\n

{{ \"GENERAL.LISTING_INSURANCE\" | translate }}

\r\n\r\n
\r\n
\r\n
\r\n
\r\n {{ \"MENU.H4FILTER\" | translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

{{ \"GENERAL.LISTING_INSURANCE\" | translate }}

\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n {{ \"INSURANCE.INSURED\" | translate }}\r\n \r\n \r\n {{ \"INSURANCE.SUB_CATEGORY\" | translate }}\r\n \r\n {{ \"INSURANCE.NUM_POLICY\" | translate }}\r\n \r\n {{ \"INSURANCE.COMPANY\" | translate }}\r\n \r\n {{ \"INSURANCE.COUNTRY\" | translate }}\r\n \r\n {{ \"INSURANCE.START_DATE\" | translate }}\r\n \r\n {{ \"INSURANCE.DUE_DATE\" | translate }}\r\n \r\n {{ \"INPUT.SALESCOMISSION\" | translate }}\r\n \r\n {{ \"INPUT.AGENTCOMISSION\" | translate }}\r\n {{\"INSURANCE.STATUS\" | translate }}{{ \"INSURANCE.OPTIONS\" | translate }}
{{ policy.Asegurado }}{{ policy.SubRamo }}{{ policy.NroDePoliza }}{{ policy.Aseguradora }}{{ policy.Pais }}{{ policy.VigenciaDesde | date: 'dd/MM/yyyy' }}{{ policy.VigenciaHasta | date: 'dd/MM/yyyy' }}{{ policy.PorcentajeComision }}%{{ policy.PorcentajeComisionAgente }}%{{ policy.Estatus }}\r\n \r\n
\r\n
\r\n {{\"GENERAL.EMPTY_QUERY\" | translate}}\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

\r\n {{ \"GENERAL.POLICY_VIEW\" | translate }}\r\n

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

{{ \"INSURANCE.INFO\" | translate }}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{ \"INSURANCE.NUM_POLICY\" | translate }}
\r\n
{{policy_selected.NroDePoliza}}
\r\n
\r\n\r\n
\r\n {{ \"INSURANCE.CATEGORY\" | translate }}\r\n {{policy_selected.Ramo}}\r\n
\r\n\r\n
\r\n {{ \"INSURANCE.SUB_CATEGORY\" | translate }}\r\n {{policy_selected.SubRamo}}\r\n
\r\n\r\n
\r\n {{ \"INSURANCE.COMPANY\" | translate }}\r\n {{policy_selected.Aseguradora}}\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n {{ \"INSURANCE.STATUS\" | translate }}\r\n {{policy_selected.Estatus}}\r\n
\r\n\r\n
\r\n {{ \"INSURANCE.START_DATE\" | translate }}\r\n {{policy_selected.VigenciaDesde | date: 'dd/MM/yyyy' }}\r\n
\r\n
\r\n {{ \"INSURANCE.DUE_DATE\" | translate }}\r\n {{policy_selected.VigenciaHasta | date: 'dd/MM/yyyy'}}\r\n
\r\n\r\n
\r\n {{ \"PAYMENTS.PAYMENTMODE\" | translate }}\r\n {{policy_selected.FormaDePago}}\r\n
\r\n
\r\n {{ \"PAYMENTS.PAYMENTCYCLE\" | translate }}\r\n {{policy_selected.FrecuenciaDePagos}}\r\n
\r\n
\r\n {{ \"PAYMENTS.AMOUNTOFPAYMENTS\" | translate }}\r\n {{policy_selected.CantidadDePagos}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

{{ \"INSURANCE.INFO_INSURED\" | translate }}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ \"INSURANCE.INSURED\" | translate }}\r\n {{policy_selected.Asegurado}}\r\n
\r\n
\r\n {{ \"INSURANCE.PERSONID\" | translate }}\r\n {{policy_selected.Identificacion }}\r\n
\r\n
\r\n {{ \"INSURANCE.DIRECCION\" | translate }}\r\n {{policy_selected.Direccion}}\r\n
\r\n
\r\n {{ \"INSURANCE.TELEFONO\" | translate }}\r\n {{policy_selected.Telefono}}\r\n
\r\n
\r\n {{ \"INSURANCE.CORREO\" | translate }}\r\n {{policy_selected.Email}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

{{ \"INSURANCE.INFO_CONTRATANTE\" | translate }}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{ \"INSURANCE.CONTRATANTE\" | translate }}\r\n {{policy_selected.Contratante}}\r\n
\r\n
\r\n {{ \"INSURANCE.CONTRATANTE_PERSONID\" | translate }}\r\n {{policy_selected.IdentificacionContratante }}\r\n
\r\n
\r\n {{ \"INSURANCE.CONTRATANTE_DIRECCION\" | translate }}\r\n {{policy_selected.DireccionContratante}}\r\n
\r\n
\r\n {{ \"INSURANCE.CONTRATANTE_PHONE\" | translate }}\r\n {{policy_selected.TelefonoContratante}}\r\n
\r\n
\r\n {{ \"INSURANCE.CONTRATANTE_EMAIL\" | translate }}\r\n {{policy_selected.EmailContratante}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n {{ \"INSURANCE.PRIMA\" | translate }}\r\n {{policy_selected.Prima | currency:policy_selected.Divisa }}\r\n
\r\n\r\n
\r\n {{ \"INSURANCE.DIVISA\" | translate }}\r\n {{policy_selected.Divisa }}\r\n
\r\n\r\n
\r\n {{ \"INPUT.SALESCOMISSION\" | translate }}\r\n {{policy_selected.PorcentajeComision}}%\r\n
\r\n\r\n
\r\n {{ \"INPUT.AGENTCOMISSION\" | translate }}\r\n {{policy_selected.PorcentajeComisionAgente}}%\r\n
\r\n\r\n
\r\n
\r\n

\r\n\r\n
\r\n {{ \"INSURANCE.STOTAL\" | translate }}\r\n {{policy_selected.SaldoTotal || \"0.00\" | currency:policy_selected.Divisa }}\r\n
\r\n\r\n
\r\n {{ \"INSURANCE.BALANCE_NOT_DUE\" | translate }}\r\n {{policy_selected.SaldoNoVencido || \"0.00\" | currency:policy_selected.Divisa }}\r\n
\r\n\r\n
\r\n {{ \"INSURANCE.CURRENT_BALANCE\" | translate }}\r\n {{policy_selected.SaldoCorriente || \"0.00\" | currency:policy_selected.Divisa }}\r\n
\r\n\r\n
\r\n {{ \"INSURANCE.S30DAYS\" | translate }}\r\n {{policy_selected.Saldo30Dias || \"0.00\" | currency:policy_selected.Divisa }}\r\n
\r\n\r\n
\r\n {{ \"INSURANCE.S60DAYS\" | translate }}\r\n {{policy_selected.Saldo60Dias || \"0.00\" | currency:policy_selected.Divisa }}\r\n
\r\n\r\n
\r\n {{ \"INSURANCE.S90DAYS\" | translate }}\r\n {{policy_selected.Saldo90Dias || \"0.00\" | currency:policy_selected.Divisa }}\r\n
\r\n\r\n
\r\n {{ \"INSURANCE.S120DAYS\" | translate }}\r\n {{policy_selected.Saldo120Dias || \"0.00\" | currency:policy_selected.Divisa }}\r\n
\r\n
\r\n
\r\n\r\n

\r\n\r\n
\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

{{ \"GENERAL.LISTING_INSURANCE\" | translate }}

\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n {{ \"INSURANCE.DOCUMENTO\" | translate }}\r\n \r\n {{ \"INSURANCE.DOCUMENTO_NOMBRE\" | translate }}\r\n \r\n {{ \"INSURANCE.DESCARGA\" | translate }}\r\n
{{ document.TipoDocumento }}{{ document.NombreDocumento }}
\r\n
\r\n {{\"GENERAL.EMPTY_QUERY\" | translate}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

\r\n {{ \"INSURANCE.INSURED_INTEREST\" | translate }}\r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

{{ \"GENERAL.LISTING_INSURANCE\" | translate }}

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
{{ \"INSURANCE.CATEGORY\" | translate }}
\r\n
{{policy_selected.Ramo}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{ \"INSURANCE.NUM_POLICY\" | translate }}
\r\n
{{policy_selected.NroDePoliza}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

{{ \"GENERAL.LISTING_INSURANCE\" | translate }}

\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n {{ \"INSURANCE.INSURED\" | translate }}\r\n \r\n {{ \"INSURANCE.NUM_CERTIFICATE\" | translate }}\r\n \r\n {{ \"INSURANCE.SUMA_ASEGURADA\" | translate }}\r\n \r\n {{ \"INSURANCE.PRIMA\" | translate }}\r\n \r\n {{ \"INSURANCE.STATUS\" | translate }}\r\n \r\n {{ \"INSURANCE.OPTIONS\" | translate }}\r\n
{{ interest.Descripcion | slice:0:50}} {{ interest.NroCertificado }}{{ interest.SumaAsegurada | currency:\"$\"}}{{ interest.Prima | currency:\"$\"}}{{ interest.Estatus }}\r\n \r\n
{{ \"INPUT.NO_DATA\"}}
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

\r\n {{ \"INSURANCE.INSURED_PAYMENT_MADE\" | translate }}\r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{{ \"INSURANCE.POLICY_NUM\" | translate}}
\r\n
{{ policy_selected.NroDePoliza }}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
{{ \"INSURANCE.PAYMENT_FORM\" | translate}}
\r\n
\r\n
\r\n {{ payments[payments.length-1].FormaPago }}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

{{ \"GENERAL.LISTING_INSURANCE\" | translate }}

\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n {{ \"INSURANCE.PAYMENT_DATE\" | translate }}\r\n \r\n {{ \"INSURANCE.DETAILS\" | translate }}\r\n \r\n {{ \"INSURANCE.REFERENCE\" | translate }}\r\n \r\n {{ \"INSURANCE.DEBIT\" | translate }}\r\n \r\n {{ \"INSURANCE.CREDIT\" | translate }}\r\n \r\n {{ \"INSURANCE.BALANCE\" | translate }}\r\n
{{ item.FechaDocumento }}{{ item.Detalle }}{{ item.Referencia }}{{ item.Debito }}{{ item.Credito }}
\r\n
\r\n {{\"GENERAL.EMPTY_QUERY\" | translate}}\r\n
\r\n
\r\n
{{ payments[payments.length-1].Saldo}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n

\r\n {{ \"INPUT.GETENDOSO\" | translate }}\r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
{{ \"INPUT.ERROR_REQUIRED\" | translate }}
\r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n

{{ \"DOCUMENTS.UPLOAD_REQUIRED_DOCUMENTS\" | translate }}

\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n \r\n

{{ policy_selected.NroDePoliza }}

\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
{{ \"DOCUMENTS.DOCUMENT\" | translate }}{{ \"INPUT.DOCUMENT_TYPE\" | translate }}{{ \"INPUT.OPTIONS\" | translate }}
{{document.NombreDocumento}}{{document.TipoEndoso}}\r\n \r\n
\r\n
{{ \"CLAIMS.EMPTY_UPLOAED_FILES\" | translate }}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
{{ \"GENERAL.LOADING\" | translate }} ...
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
{{closeResult}}
\r\n
\r\n
\r\n \r\n
\r\n

{{ \"INSURANCE.INSURED_INTEREST\" | translate }}

\r\n \r\n
\r\n
\r\n
\r\n
{{ \"INSURANCE.INSURED\" | translate}}
\r\n
{{policy_selected.Asegurado}}
\r\n
\r\n\r\n
\r\n
{{ \"INSURANCE.SUB_CATEGORY\" | translate}}
\r\n
{{ policy_selected.SubRamo }}
\r\n
\r\n\r\n
\r\n
{{ \"INSURANCE.CERTIFICATE\" | translate}}
\r\n
{{detalleInteresAsegurado.Descripcion}}
\r\n
\r\n\r\n
\r\n
{{ \"INSURANCE.NUM_CERTIFICATE\" | translate}}
\r\n
{{detalleInteresAsegurado.NroCertificado}}
\r\n
\r\n\r\n
\r\n
{{ \"INSURANCE.HIGH_DATE\" | translate}}
\r\n
{{detalleInteresAsegurado.FechaAlta}}
\r\n
\r\n
\r\n\r\n
\r\n
{{ \"INSURANCE.LOW_DATE\" | translate}}
\r\n
{{detalleInteresAsegurado.FechaBaja}}
\r\n
\r\n
\r\n\r\n
\r\n
{{ \"INSURANCE.STATUS\" | translate}}
\r\n
{{detalleInteresAsegurado.Estatus}}
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
{{closeResult}}
\r\n
\r\n
\r\n \r\n
\r\n

{{ \"INSURANCE.INSURED_INTEREST\" | translate }}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n {{ \"GENERAL.BY_DOCUMENT_NAME\" | translate }}\r\n \r\n {{ \"INPUT.DOCUMENT_TYPE\" | translate }}\r\n \r\n {{ \"INSURANCE.OPTIONS\" | translate }}\r\n
{{ interest.NombreDocumento }}{{ interest.TipoDocumento }}\r\n \r\n
\r\n {{ \"GENERAL.LOADING2\" | translate }}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
{{closeResult}}
\r\n
\r\n
\r\n \r\n
\r\n

{{ \"INSURANCE.GENERAL_CONDITIONS\" | translate }}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n {{ \"GENERAL.BY_DOCUMENT_NAME\" | translate }}\r\n \r\n {{ \"INSURANCE.OPTIONS\" | translate }}\r\n
{{ item.CondicionGeneralPoliza }}\r\n \r\n
\r\n {{ \"GENERAL.LOADING2\" | translate }}\r\n
\r\n {{\"GENERAL.EMPTY_QUERY\" | translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n
\r\n {{ message }}\r\n
\r\n
\r\n \r\n\r\n","// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\n\r\n\r\n// nvm use v16.19.0\r\n\r\nexport const environment = {\r\n production: false,\r\n appVersion: 'v717demo1',\r\n USERDATA_KEY: 'authf649fc9a5f55',\r\n isMockEnabled: true,\r\n secretKey: 'GIiL6I5v4Q49vUx6dN0i69U1BubhZcy7',\r\n url: 'https://portal.multibankseguros.com.pa/SFBridgeInsuredProducer.Api',\r\n //url: 'http://186.159.118.22:61920/SF.YoSeguroInsuredProducer.Api',\r\n apiUrl: 'api',\r\n contexmenu: false,\r\n urlTest: \"\",\r\n\r\n autoplayTimeout: 4000,\r\n modalLoadingConfig: { keyboard : false, backdrop : 'static'},\r\n\r\n title: \"\",\r\n\r\n showWelcomeTitle : false,\r\n};\r\n\r\n/*\r\n * For easier debugging in development mode, you can import the following file\r\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\r\n *\r\n * This import should be commented out in production mode because it will have a negative impact\r\n * on performance if an error is thrown.\r\n */\r\n// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\nimport { HelperServices } from './app/pages/_services/helper.services';\r\nimport { Config } from './app/pages/_models/config.model';\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule)\r\n .catch(err => console.error(err));\r\n\r\n\r\n"],"names":["UsersTable","FakeAPIService","constructor","createDb","db","users","factory","providedIn","id","username","password","email","accessToken","refreshToken","roles","pic","fullname","firstname","lastname","occupation","companyName","phone","language","timeZone","website","emailSettings","emailNotification","sendCopyToPersonalEmail","activityRelatesEmail","youHaveNewNotifications","youAreSentADirectMessage","someoneAddsYouAsAsAConnection","uponNewOrder","newMembershipApproval","memberRegistration","updatesFromKeenthemes","newsAboutKeenthemesProductsAndFeatureUpdates","tipsOnGettingMoreOutOfKeen","thingsYouMissedSindeYouLastLoggedIntoKeen","newsAboutMetronicOnPartnerProductsAndOtherServices","tipsOnMetronicBusinessProducts","communication","sms","address","addressLine","city","state","postCode","socialNetworks","linkedIn","facebook","twitter","instagram","Math","random","baseFilter","entities","requestObj","entitiesResult","filterArray","searchInArray","searchTerm","sorting","column","sortArray","direction","totalCount","length","startPosition","paginator","page","pageSize","endPosition","slice","responseObj","items","total","incomingArray","sortField","sortOrder","result","sort","a","b","filter","filtrationFields","Object","keys","forEach","keyName","el","acceptableForSearchTypes","number","string","row","termIsFoundInRow","toString","toLowerCase","indexOf","DefaultLayoutConfig","DynamicAsideMenuConfig","title","root","alignment","translate","DynamicHeaderMenuConfig","CommonModule","FirstLetterPipe","SafePipe","CoreModule","declarations","imports","exports","LayoutService","LayoutInitService","DynamicAsideMenuService","DynamicHeaderMenuService","transform","value","args","split","map","n","join","pure","_sanitizer","type","bypassSecurityTrustHtml","bypassSecurityTrustStyle","bypassSecurityTrustScript","bypassSecurityTrustUrl","bypassSecurityTrustResourceUrl","BehaviorSubject","emptyMenuConfig","menuConfig$","menuConfigSubject","asObservable","loadMenu","setMenu","menuConfig","next","getMenu","layout","helperServices","init","initConfig","preInitLayout","initCustomApp","initLayout","initLoader","initHeader","initSubheader","initContent","initAside","initFooter","initSkins","config","getConfig","updatedConfig","assign","subheaderFixed","getProp","headerSelfFixedDesktop","subheader","style","fixed","setConfigWithoutLocalStorageChanges","selfBodyBackgroundImage","document","body","backgroundImage","selfBodyClass","bodyClasses","cssClass","classList","add","setCSSClass","headerSelfFixedMobile","headerMenuSelfDisplay","headerMenuSelfLayout","subheaderDisplay","subheaderStyle","asideMenuDropdown","setHTMLAttribute","asideMenuSubmenuDropdownHoverTimout","headerSelfTheme","brandSelfTheme","asideSelfDisplay","environment","objectPath","LAYOUT_CONFIG_LOCAL_STORAGE_KEY","appVersion","undefined","header","header_container","header_mobile","header_menu","aside_menu","subheader_container","content","content_container","footer_container","params","configFromLocalStorage","localStorage","getItem","layoutConfigSubject","JSON","parse","error","removeConfig","console","then","x","classes","CompaniaAplicacion","layoutSubject","removeItem","refreshConfigToDefault","setConfigWithPageRefresh","setConfig","setItem","stringify","location","reload","path","get","classesInStr","cssClasses","push","getCSSClasses","getStringCSSClasses","getHTMLAttributes","attributesObj","attrs","attrKey","attrValue","NgbDateAdapter","NgbDateParserFormatter","CustomAdapter","fromModel","date","DELIMITER","month","parseInt","day","year","toModel","CustomDateParserFormatter","format","getDateFromString","dateInStr","dateParts","trim","toInteger","Date","setDate","setMonth","setFullYear","SplashScreenComponent","splashScreenService","ngOnInit","splashScreen","selectors","viewQuery","i0","SplashScreenModule","animate","SplashScreenService","animationBuilder","element","hide","stopped","player","build","opacity","create","nativeElement","onDone","remove","display","setTimeout","play","EventEmitter","ctx_r21","ctx_r24","ctx_r32","ctx_r37","ctx_r40","getValueInRange","max","min","isNumber","isNaN","NgPaginationEllipsis","templateRef","NgPaginationFirst","NgPaginationLast","NgPaginationNext","NgPaginationNumber","NgPaginationPrevious","NgPagination","disabled","boundaryLinks","directionLinks","ellipses","maxSize","rotate","size","hasPrevious","hasNext","pageCount","nextDisabled","previousDisabled","selectPage","pageNumber","_updatePages","ngOnChanges","changes","isEllipsis","_applyEllipses","start","end","pages","unshift","_applyRotation","leftOffset","floor","rightOffset","_applyPagination","ceil","_setPageInRange","newPageNo","prevPageNo","collectionSize","pageChange","emit","newPage","i","contentQueries","$localize","PageSizes","NgPaginationConfig","PaginatorComponent","num","paginate","sizeChange","inputs","isLoading","outputs","decls","vars","consts","template","ctx","SortIconComponent","parent","parentElement","activeColumn","isActive","addEventListener","activeDirection","features","FormsModule","InlineSVGModule","CRUDTableModule","GroupingState","Set","checkAreAllRowsSelected","itemIds","selectedRowIds","selectRow","has","delete","clearRows","_itemIds","isRowSelected","selectAllRows","areAllSelected","getSelectedRows","Array","from","getSelectedRowsCount","PaginatorState","recalculatePaginator","SortState","HttpClient","TableService","TableExtendedService","http","of","catchError","finalize","tap","DEFAULT_STATE","grouping","entityId","paramsGet","paramsPost","items$","_items$","isLoading$","_isLoading$","isFirstLoading$","_isFirstLoading$","errorMessage$","_errorMessage","subscriptions","_subscriptions","_tableState$","apiUrl","item","post","API_URL","pipe","err","find2","tableState","url","find","getItemById","update","put","updateStatusForItems","ids","status","deleteItems","fetch","request","res","patchStateWithoutFetch","subscribe","setDefaults","patchState","patch","newState","RouterModule","AuthGuard","routes","loadChildren","m","AuthModule","ErrorsModule","canActivate","data","permission","LayoutModule","redirectTo","AppRoutingModule","forRoot","locale","enLang","NavigationEnd","AppComponent","onRightClick","event","contexmenu","preventDefault","translationService","router","tableService","loadTranslations","documentElement","lang","navigator","routerSubscription","events","window","scrollTo","routeReuseStrategy","shouldReuseRoute","evt","navigated","unsubscribe","p","ngOnDestroy","sb","hostBindings","APP_INITIALIZER","BrowserModule","BrowserAnimationsModule","HttpClientModule","HttpClientInMemoryWebApiModule","ClipboardModule","TranslateModule","NgbModule","AuthService","ReactiveFormsModule","HighlightModule","HIGHLIGHT_OPTIONS","ListInsuranceComponent","InputCurrencyMaskModule","appInitializer","authService","Promise","resolve","getUserByToken","AppModule","bootstrap","provide","useFactory","multi","deps","useValue","coreLibraryLoader","languages","xml","typescript","scss","json","isMockEnabled","passThruUnknownUrl","dataEncapsulation","API_USERS_URL","AuthHTTPService","getLogin","getUserInfo","createUser","createUser2","forgotPassword","forgotPassword2","changePassword","changePassword2","getMenuPermission","getLinkPagos","getAuthByCode","getValidateInsured","getTermAndCondition","createInsuredUser","contactInsured","login","formData","FormData","append","apiUrls","code2f","code","user","form","createUserMode2","httpHeaders","headers","IdEntidad","IdTerminosCondiciones","Identificacion","Telefono","Correo","forgotPasswordMode2","changePasswordMode2","route","currentUser","currentUserValue","permissionMenu","home","logout","HttpHeaders","switchMap","JwtHelperService","jwt","authHttpService","USERDATA_KEY","initHttHeaders","secretKey","isLoadingSubject","currentUserSubject","permissionMenuSubject","currentUser$","permissionMenu$","subscr","permissionMenuOb","token","getAuthFromLocalStorage","decodeToken","Authorization","login2f","_auth","permisoMenu","isDobleFactor","idAplicaDobleFactor","auth","expiresIn","role","primarygroupsid","primarysid","setAuthFromLocalStorage","dobleFactor","CodigoLogin","jwtToken","exp","validateInsured","response","log","termAndCondition","getIs2Factor","navigate","message","authLocalStorageToken","queryParams","_user","NombreCompleto","IdVinculo","vinculo","Vinculo","isAdmin","IdEsAdministrador","registration","Email","Clave","authData","get_local_user","LOCALIZATION_LOCAL_STORAGE_KEY","TranslationService","addLangs","setDefaultLang","locales","setTranslation","langIds","setLanguage","use","getDefaultLang","getSelectedLanguage","TRANSLATOR","SELECT","AND","MENU","NEW","ACTIONS","CREATE_POST","PAGES","FEATURES","APPS","DASHBOARD","INSURANCE","DOCUMENTS","ACCOUNT_ESTATEMENTS","DOCUMENT_FORMS","PAYMENTS","CONTACTUS","REPORTS","REQUEST","QUOTES","H4FILTER","CLAIMS","NOTIFY_CLAIMS","LIST_CLAIMS","SEND_DOCUMENTS_MASSIVE","TICKETS","HOME","WELCOME","COMISIONXCOBRO","PRIMASUSCRITO","COBRO","SINIESTROS_PAGADOS","DESCRIPTIONS","TOTAL","MYPROFILE","PROFILE","FIRSTNAME","SECONDNAME","LASTNAME","SECONDLASTNAME","CONTRATANTE","CEDULA","PERSONID","RUC","GROUP","AREA","EMAIL","PHONE","PHONE_OFFICE","PHONE_MOBILE","ADDRESSES","ADDRESS_TYPE","ADDRESS","ADD_ADDRESS","A2F","EDITPROFILE","HELP_1","TYPE","TYPES","DOCUMENT","SELECT_FILE","PASAPORTE","DOWNLOADBLES","UPLOAD_REQUIRED_DOCUMENTS","UPLOAD_REQUIRED_DOCUMENT","REQUIRED_DOCUMENTS","UPLOADLOADING","REQUIRED_DOCUMENTS2","REQUIRED_DOCUMENTS_LIFE","UPLOAD_REQUIRED_DOCUMENTS_LIFE","FORM01","FORM02","FORM03","FORM04","FORM05","FORM06","QUOTESCZ","QUOTESOFLIFE","QUOTEID","QUOTE","PRINTDETAILS","PRINT","QUOTETOEMIT","QUOTEVIEW","QUOTEDETAILS","QUOTESSENDAPPROVAL","APPROVALPOLICIE","NEWQUOTE","ERROR1","REASONOFSURCHARGE","HASPOLICIELIFE","REPORT","REPORT_TYPE","REPORT_LIST","REPORT_BI","GENERAL_REPORTS","TRANSTYPE","GENERAL","HI","CONTACT","CONTACTS","CONTACT_INFO","LISTING_INSURANCE","LISTING_REQUEST","LISTING_CLAIMS","POLICY_VIEW","QUOTE_VIEW","DOWNLOAD","UPLOAD","ACCOUNT_ESTATEMENT","MONTHYEAR","REPORTPRINT","REPORT_SOLICITUDES","REPORT_CLAINS","REPORT_SALESCOMISSION","REPORT_PAYMENTS","REPORT_INVOICES","REPORT_DELINQUENCY","LOADING","FORGOTTEN_PASSWORD","FORGOTTEN_PASSWORD_SUCCESS","FORGOTTEN_PASSWORD_SUCCESS_HELP","FORGOTTEN_PASSWORD_HELP","FORGOTTEN_PASSWORD_ERROR","EMPTY_QUERY","EMPTY_QUERY_SEARCH","BY_DOCUMENT_NAME","VIEWCLAIM","LOADING2","ADMIN_PERMISSIONS","LISTING","TICKET","TICKETS_LIST","STATUS","DATE","ID","EDIT","DETAILS","STAFF","VIEW","EMPTY_UPLOAED_FILES","DOCUMENTS_UPLOADED","INPUT","OPTIONS","CONFIG","SETTING","ENTITY","TERM_REQUIRED","T","CREATE","SEND","SELECTALL","PROCESS_SELECTED","UNSELECTED","SELECTEDS","COMPLAINT","ACCIDENT_DESCRIPTION","INSURED_UNIT","CLAIM_LOCATION","ECONOMICGROUP","SELECT_ECONOMICGROUP","DONTAPPLY","AGE","AGE2","CHANGE","GENERATE","RESET","COMPANIES","RETURN_TO_LIST","FILTER","FILTER_BY","BY_DESCRIPTION","BY_POLICY_NUM","BY_STATUS","NUM_CERTIFICATE","PRODUCT","DELETE","SUBMIT","CANCEL","CLOSE","ALL","FULLNAME","MIDDLENAME","PASSWORD","CONFIRM_PASSWORD","USERNAME","REQUIRED","AGENT","MONTH","YEAR","SALESCOMISSION","AGENTCOMISSION","GETENDOSO","APPLY","DATESTART","DETEEND","DETAIL","ERROR_REQUIRED","DENYPROCCESS","INVOICE","DATEP","DATEPAYMENT","DATERECIPT","PERCENT","DOCUMENT_TYPE","DOWNLOAD_PDF","DOWNLOAD_EXCEL","DOWNLOAD_CSV","CODCORREDOR","CITY","STATE","ZIP","CREDITCARD","CVV","EXPIRATION_MONTH","EXPIRATION_YEAR","CARID","ENDOSOVIEW","BIRTHDATE","GENDER","SMOKER","MOBILE","PAYMENTTYPE","PAYMENTCYCLE","RECHARGE","OCURRENCEDATE","POSTALCODE2","POSTALCODE","CITYCLAIM","COUNTRY","SAVE","ENDATE","BTN_SEARCH_DOCUMENTS","POWER_BI","ESTATUS","YES","NO","CONFIRM","USERS","LISTING_USERS","USER","NAME","IDNAME","ENTITY_ID","ENTITYNAME","ENTITYTYPE","LINK_ENTITY","INVITE","SEARCH_ENTITY_USERS","ENTITIES_LINKED","UNLINK","ACTIVE","INACTIVE","IDENTITY","CHECKTERMANDCONDITIONS","TERMSANDCONDITIONS","PRIVACY_POLICY","POLICY","CLAIM_LISTING","CLAIM_LISTING2","CLAIM","NRCLAIMS","NRCLAIMSPREMIUM","CLAIM_INFO","NOTIFYCLAIMS","NOTIFICATION","NUM_NOTIFICATION","AMOUNT_PAID","AMOUNT_THRID","TRACKING_STATUS","ORIGIN_CLAIM","BROKER_NAME","FILE_REGISTER","PLACE","DATE_SUCCESS","HOUR_SUCCESS","TIME","DESCRIPTION","UPLOAD_DOCUMENTS","ERROR_UPLOAD_DOCUMENTS","ERROR_UPLOAD_DOCUMENT","DETAILS2","DATECREATED","DETAILS3","INFO","CLOSE_CREATE_USER","POLICY_NUM","ROLLOVER","POLICY_INFORMATION","PLACEOFOCURRENCE","DATEOFOCURRENCE","HOUROFOCURRENCE","REQUIREDDOCS","INSURED","INFO_INSURED","INSURED_DIRECCION","INFO_CONTRATANTE","TELEFONO","CORREO","DIRECCION","CONTRATANTE_PERSONID","CONTRATANTE_EMAIL","CONTRATANTE_PHONE","CONTRATANTE_DIRECCION","INSUREDFULLNAME","SUB_CATEGORY","CATEGORY","POLICIES","NUM_POLICY","START","START_DATE","DUE_DATE","COMPANY","DEDUCIBLE","PRIMA","CURRENT_BALANCE","BALANCE_NOT_DUE","INSURED_PAYMENT_MADE","STOTAL","S30DAYS","S60DAYS","S90DAYS","S120DAYS","S180DAYS","PRIMAYEARLY","PRIMAMONTHLY","SUMA_ASEGURADA_POLIZA","SUMA_ASEGURADA","SUMABR_ASEGURADA_INCENDIO","SUMABR_ASEGURADA_CONTENIDO","SUMA_ASEGURADA_INCENDIO","SUMA_ASEGURADA_CONTENIDO","LOCATION_OF_RISK","QUALIFICATION","TERM","DIVISA","INSURED_INTEREST","DOCUMENTO","DOCUMENTO_NOMBRE","DESCARGA","DEDUCTIBLE","COVERAGE","CERTIFICATE","UNITY","ENDOSOTYPE","CATEGORYDETAIL","TYPEOFRISK","NO_DATA","REQUEST_TYPE","REQUEST_DATE","R_DATE","REQUEST_CREATED","R_CREATED","HIGH_DATE","LOW_DATE","SURCHARGE","SETPAYMENTYEARS","POLICY_GENERAL_CONDITION","DAYS_PASSED","DAYS","BRAND","MODEL","CURRENCY","PAYMENT_DETAIL","PAYMENT_FORM","PAYMENT_TYPE","PAYMENT_DATE","REFERENCE","DEBIT","CREDIT","BALANCE","DETAILFACT","GENERAL_CONDITIONS","PROCESS_SELECTED_INSURANCES","PROCESS_SELECTED_INSURANCES_CONFIRM","PROCESS_SELECTED_INSURANCES_CLIENTS","PROCESS_PAYMENT","MAKE_PAYMENTS","DELINQUENCY","PAYMENT","DUE","PANDDING_PAYMENT","PAYMENT_ERROR","PAYMENT_PROCESS","PAYMENTMODE","AMOUNTOFPAYMENTS","PERMISSION","LISTING_PERMISSION","EDITANDCREATE","EMPTY_PERMISSION_QUERY","AUTH","OR","SUBMIT_BUTTON","NO_ACCOUNT","SIGNUP_BUTTON","FORGOT_BUTTON","BACK_BUTTON","PRIVACY","LEGAL","LISTING_QUOTES_LIFE","CODEPASSWORD","CHANGEPASSWORD","USER_CREATE","USER_CREATE_ENTITY","SUCCESS_USER_CREATE","CREATE_USER_ERROR","CONFIRM_CREATE_USER","LOGIN","TITLE","BUTTON","WELCOMEMB","WELCOME_HELP","SIGNIN_BUTTON","ENTER","ENTER2","ERROR","FORGOT","CLOSE_SESION","CODE","CODEERROR","REGISTER_INSURED","DESC","SUCCESS","INSERT_INSURED_CODE","VALIDATE_CODE","INSURED_ID","CONFIRM_DATA","INPUT_INSURED_DATA","CODE_PASSWORD_ERROR","REQUESTCHANGEPASSWORD","SUCCESSPASSWORD","RESETPASSWORD","REGISTER","CREATE_ACCOUNT","SUCCESS_CREATE_ACCOUNT","RETURN_LOGIN_PAGE","HELP_REGISTER","HELP_SUCCESS_REGISTER","ERROR_1","ERROR_2","NUM_DOCUMENT","REPEAT_PASSWORD","ALL_READY_REGISTER","NROIDENTIFICACION","VALIDATION","INVALID","MIN_LENGTH","AGREEMENT_REQUIRED","NOT_FOUND","INVALID_LOGIN","REQUIRED_FIELD","MIN_LENGTH_FIELD","MAX_LENGTH_FIELD","INVALID_FIELD","ECOMMERCE","COMMON","SELECTED_RECORDS_COUNT","SUSPENDED","BY_TYPE","BUSINESS","INDIVIDUAL","SEARCH","IN_ALL_FIELDS","CUSTOMERS","CUSTOMERS_LIST","NEW_CUSTOMER","DELETE_CUSTOMER_SIMPLE","WAIT_DESCRIPTION","MESSAGE","DELETE_CUSTOMER_MULTY","UPDATE_STATUS","UPDATE_MESSAGE","ADD_MESSAGE","DocumentService","getPolicyDocuments","getDocument","uploadDocument","getPolicyEstatement","getPolicyGeneralCondition","postEnviarDocumentosPolizas","filteredResult","get_documents_by","toPromise","Documento","upploadDocument","sendMassiveDocuments","extracData","policies","c","IdDocumento","FileSaver","require","HelperServices","getRamo","getSubRamo","getMes","getAnyo","getCompaniaSeguros","getSexo","getFumador","getTipoRiesgo","getTipoPago","getFrecuencia","getFechaCorte","getSiNo","getEstatus","getPais","getDivisa","getRamos","getSubRamos","getMeses","getAnyos","printPreview2","filename","blob","Blob","file","File","download","printPreview3","forceDowndload","saveAs","printPreview","b64toBlob","blobURL","URL","createObjectURL","theWindow","open","theDoc","theScript","createElement","injectThis","print","innerHTML","appendChild","contentType","sliceSize","byteCharacters","atob","byteArrays","offset","byteNumbers","charCodeAt","byteArray","Uint8Array","getType","t","formatHora","hora","h","s","padStart","formatDate","reverse","InsuranceService","getPolicy","getEndosos","postEndosos","getListaCondicionesGeneralesPoliza","getDescaragarCondicionesGeneralesPoliza","getOptions","getPaymentsMade","postEndoso","IdPoliza","InterestService","getPolicyInterest","getPolicyInterestDocs","getPolicyInterestDownloadDocs","IdPolizaInteres","Validators","NgbDatepickerConfig","Subject","insuranceService","documentService","interestService","fb","modalService","modalLoading","modalConditionDoc","sanitizer","calendar","cdr","backdrop","keyboard","initForm","extrasUserDropdownStyle","user$","estatus","ramos","meses","anyos","pais","policyOptions","condicionesGenerales$","condicionesGeneralesSubject","uploadedDocuments$","uploadedDocumentsSubject","sb1","optionsForm","reset","ngAfterViewInit","loadingModal","someProperty","detectChanges","clickView","_this","target","idPoliza","policy_selected","templateView","clickDownloadEstatement","uploadedDocuments","filtro","IdTipoFiltro","Texto","IdEstatus","clickGetEndoso","endosoModal","paymentsMade","totalBalance","reduce","acc","parseFloat","Saldo","submitFilterInterest","endosos","endosoForm","patchValue","loadingModalConfig","NombreDocumento","alert","finally","dismissAll","d","text","clickDownloadDocument","base64String","linkSource","downloadLink","href","click","clickDownloadCondicionesGenerales","IdDocCondicionGeneralPoliza","NameDoc","catch","e","downloadPolicyGeneralCondition","downloadPolicyGeneralConditionModal","hasCondicionesDocsLoading","changeFilterMode","insuredFilter","changeRamo","subramos","IdRamo","changeCountry","divisas","IdPais","companies","filterPolicyForm","group","inputMes","inputAnyo","inputRamo","inputSubRamo","inputNroDePoliza","inputAsegurado","inputPlaca","inputIdentificacion","inputIdCompania","inputGrupoEconomico","inputFechaHasta","inputFechaDesde","inputEstatus","inputPais","inputMoneda","inputObservacion","inputIdPoliza","inputIdTipoEndoso","compose","required","file1","interestForm","insured_filter_mode","minLength","maxLength","insured_filter_mode_1","insured_filter_mode_2","insured_filter_mode_3","inputOptions","submitFilterPolicy","date1","date2","VerGrupoEconomico","VerCompania","onFileSelected","fileInput","files","tipoEndoso","getElementById","selectedOptions","isWithinLimit","documentData","name","TipoEndoso","totalSize","sum","doc","maxDocuments","removeDocument","index","splice","submitEndoso","resultPostEndoso","endosoHasError","templatePostEndoso","valid","Mensaje","resetSubmitFilterPolicy","onclickModalInteresAsegurado","loadingShowModal","reason","detalleInteresAsegurado","onclickInterestDocumentModal","hasInterestDocsLoading","interestDocs","onclickInterestDocumentDownload","production","urlTest","autoplayTimeout","modalLoadingConfig","showWelcomeTitle","enableProdMode","__NgCli_bootstrap_1","bootstrapModule"],"sourceRoot":"webpack:///","x_google_ignoreList":[]}